mirror of
https://github.com/OMGeeky/google-apis-rs.git
synced 2026-02-23 15:49:49 +01:00
chore(json): fetch latest json and re-gen all code
This commit is contained in:
@@ -0,0 +1,236 @@
|
|||||||
|
{
|
||||||
|
"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",
|
||||||
|
"httpMethod": "POST",
|
||||||
|
"parameters": {},
|
||||||
|
"path": "v1/ampUrls:batchGet"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"schemas": {
|
||||||
|
"AmpUrl": {
|
||||||
|
"description": "AMP URL response for a requested URL.",
|
||||||
|
"type": "object",
|
||||||
|
"properties": {
|
||||||
|
"ampUrl": {
|
||||||
|
"description": "The AMP URL pointing to the publisher's web server.",
|
||||||
|
"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.",
|
||||||
|
"type": "string"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"id": "AmpUrl"
|
||||||
|
},
|
||||||
|
"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"
|
||||||
|
},
|
||||||
|
"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.",
|
||||||
|
"Indicates no AMP URL has been found that corresponds to the requested\nURL.",
|
||||||
|
"Indicates some kind of application error occurred at the server.\nClient advised to retry.",
|
||||||
|
"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."
|
||||||
|
],
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
"errorMessage": {
|
||||||
|
"description": "An optional descriptive error message.",
|
||||||
|
"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"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"id": "BatchGetAmpUrlsResponse"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"revision": "20161213",
|
||||||
|
"basePath": "",
|
||||||
|
"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",
|
||||||
|
"rootUrl": "https://acceleratedmobilepageurl.googleapis.com/",
|
||||||
|
"kind": "discovery#restDescription"
|
||||||
|
}
|
||||||
|
|||||||
@@ -1,12 +1,12 @@
|
|||||||
{
|
{
|
||||||
"kind": "discovery#restDescription",
|
"kind": "discovery#restDescription",
|
||||||
"etag": "\"C5oy1hgQsABtYOYIOXWcR3BgYqU/P8rJ3iX9MbkJGAvsY3P6mePkFI8\"",
|
"etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/0kwihhvVMiMrsDgm6RBckyUuCfE\"",
|
||||||
"discoveryVersion": "v1",
|
"discoveryVersion": "v1",
|
||||||
"id": "adexchangebuyer:v1.2",
|
"id": "adexchangebuyer:v1.2",
|
||||||
"name": "adexchangebuyer",
|
"name": "adexchangebuyer",
|
||||||
"canonicalName": "Ad Exchange Buyer",
|
"canonicalName": "Ad Exchange Buyer",
|
||||||
"version": "v1.2",
|
"version": "v1.2",
|
||||||
"revision": "20160831",
|
"revision": "20161020",
|
||||||
"title": "Ad Exchange Buyer API",
|
"title": "Ad Exchange Buyer API",
|
||||||
"description": "Accesses your bidding-account information, submits creatives for validation, finds available direct deals, and retrieves performance reports.",
|
"description": "Accesses your bidding-account information, submits creatives for validation, finds available direct deals, and retrieves performance reports.",
|
||||||
"ownerDomain": "google.com",
|
"ownerDomain": "google.com",
|
||||||
|
|||||||
@@ -1,12 +1,12 @@
|
|||||||
{
|
{
|
||||||
"kind": "discovery#restDescription",
|
"kind": "discovery#restDescription",
|
||||||
"etag": "\"C5oy1hgQsABtYOYIOXWcR3BgYqU/bx00dhCeT3Y8291uk8ElnLRZiBs\"",
|
"etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/mo0qLr7wMmlAX-U4DWVexdxTH80\"",
|
||||||
"discoveryVersion": "v1",
|
"discoveryVersion": "v1",
|
||||||
"id": "adexchangebuyer:v1.3",
|
"id": "adexchangebuyer:v1.3",
|
||||||
"name": "adexchangebuyer",
|
"name": "adexchangebuyer",
|
||||||
"canonicalName": "Ad Exchange Buyer",
|
"canonicalName": "Ad Exchange Buyer",
|
||||||
"version": "v1.3",
|
"version": "v1.3",
|
||||||
"revision": "20160831",
|
"revision": "20161020",
|
||||||
"title": "Ad Exchange Buyer API",
|
"title": "Ad Exchange Buyer API",
|
||||||
"description": "Accesses your bidding-account information, submits creatives for validation, finds available direct deals, and retrieves performance reports.",
|
"description": "Accesses your bidding-account information, submits creatives for validation, finds available direct deals, and retrieves performance reports.",
|
||||||
"ownerDomain": "google.com",
|
"ownerDomain": "google.com",
|
||||||
@@ -545,7 +545,7 @@
|
|||||||
},
|
},
|
||||||
"videoURL": {
|
"videoURL": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "The url to fetch a video ad. If set, HTMLSnippet should not be set."
|
"description": "The URL to fetch a video ad. If set, HTMLSnippet and the nativeAd should not be set."
|
||||||
},
|
},
|
||||||
"width": {
|
"width": {
|
||||||
"type": "integer",
|
"type": "integer",
|
||||||
|
|||||||
@@ -1,12 +1,12 @@
|
|||||||
{
|
{
|
||||||
"kind": "discovery#restDescription",
|
"kind": "discovery#restDescription",
|
||||||
"etag": "\"C5oy1hgQsABtYOYIOXWcR3BgYqU/TVMTzMzY2Oz9Cw6N35WlTiR7OUE\"",
|
"etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/EvKs3Hkvcx40X69CkSu-499XWyU\"",
|
||||||
"discoveryVersion": "v1",
|
"discoveryVersion": "v1",
|
||||||
"id": "adexchangebuyer:v1.4",
|
"id": "adexchangebuyer:v1.4",
|
||||||
"name": "adexchangebuyer",
|
"name": "adexchangebuyer",
|
||||||
"canonicalName": "Ad Exchange Buyer",
|
"canonicalName": "Ad Exchange Buyer",
|
||||||
"version": "v1.4",
|
"version": "v1.4",
|
||||||
"revision": "20160831",
|
"revision": "20161020",
|
||||||
"title": "Ad Exchange Buyer API",
|
"title": "Ad Exchange Buyer API",
|
||||||
"description": "Accesses your bidding-account information, submits creatives for validation, finds available direct deals, and retrieves performance reports.",
|
"description": "Accesses your bidding-account information, submits creatives for validation, finds available direct deals, and retrieves performance reports.",
|
||||||
"ownerDomain": "google.com",
|
"ownerDomain": "google.com",
|
||||||
@@ -90,7 +90,7 @@
|
|||||||
"properties": {
|
"properties": {
|
||||||
"bidProtocol": {
|
"bidProtocol": {
|
||||||
"type": "string",
|
"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.3 right now. Allowed values: \n- PROTOCOL_ADX \n- PROTOCOL_OPENRTB_2_2 \n- PROTOCOL_OPENRTB_2_3 \n- PROTOCOL_OPENRTB_PROTOBUF"
|
"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"
|
||||||
},
|
},
|
||||||
"maximumQps": {
|
"maximumQps": {
|
||||||
"type": "integer",
|
"type": "integer",
|
||||||
@@ -568,7 +568,7 @@
|
|||||||
},
|
},
|
||||||
"nativeAd": {
|
"nativeAd": {
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"description": "If nativeAd is set, HTMLSnippet and videoURL should not be set.",
|
"description": "If nativeAd is set, HTMLSnippet and the videoURL outside of nativeAd should not be set. (The videoURL inside nativeAd can be set.)",
|
||||||
"properties": {
|
"properties": {
|
||||||
"advertiser": {
|
"advertiser": {
|
||||||
"type": "string"
|
"type": "string"
|
||||||
@@ -598,6 +598,10 @@
|
|||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "A label for the button that the user is supposed to click."
|
"description": "A label for the button that the user is supposed to click."
|
||||||
},
|
},
|
||||||
|
"clickLinkUrl": {
|
||||||
|
"type": "string",
|
||||||
|
"description": "The URL that the browser/SDK will load when the user clicks the ad."
|
||||||
|
},
|
||||||
"clickTrackingUrl": {
|
"clickTrackingUrl": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "The URL to use for click tracking."
|
"description": "The URL to use for click tracking."
|
||||||
@@ -659,6 +663,10 @@
|
|||||||
"store": {
|
"store": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "The URL to the app store to purchase/download the promoted app."
|
"description": "The URL to the app store to purchase/download the promoted app."
|
||||||
|
},
|
||||||
|
"videoURL": {
|
||||||
|
"type": "string",
|
||||||
|
"description": "The URL of the XML VAST for a native ad. Note this is a separate field from resource.video_url."
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -773,7 +781,7 @@
|
|||||||
},
|
},
|
||||||
"videoURL": {
|
"videoURL": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "The url to fetch a video ad. If set, HTMLSnippet should not be set."
|
"description": "The URL to fetch a video ad. If set, HTMLSnippet and the nativeAd should not be set. Note, this is different from resource.native_ad.video_url above."
|
||||||
},
|
},
|
||||||
"width": {
|
"width": {
|
||||||
"type": "integer",
|
"type": "integer",
|
||||||
@@ -787,6 +795,41 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"CreativeDealIds": {
|
||||||
|
"id": "CreativeDealIds",
|
||||||
|
"type": "object",
|
||||||
|
"description": "The external deal ids associated with a creative.",
|
||||||
|
"properties": {
|
||||||
|
"dealStatuses": {
|
||||||
|
"type": "array",
|
||||||
|
"description": "A list of external deal ids and ARC approval status.",
|
||||||
|
"items": {
|
||||||
|
"type": "object",
|
||||||
|
"properties": {
|
||||||
|
"arcStatus": {
|
||||||
|
"type": "string",
|
||||||
|
"description": "ARC approval status."
|
||||||
|
},
|
||||||
|
"dealId": {
|
||||||
|
"type": "string",
|
||||||
|
"description": "External deal ID.",
|
||||||
|
"format": "int64"
|
||||||
|
},
|
||||||
|
"webPropertyId": {
|
||||||
|
"type": "integer",
|
||||||
|
"description": "Publisher ID.",
|
||||||
|
"format": "int32"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"kind": {
|
||||||
|
"type": "string",
|
||||||
|
"description": "Resource type.",
|
||||||
|
"default": "adexchangebuyer#creativeDealIds"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
"CreativesList": {
|
"CreativesList": {
|
||||||
"id": "CreativesList",
|
"id": "CreativesList",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
@@ -1264,6 +1307,10 @@
|
|||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "Description for the deal terms. (updatable)"
|
"description": "Description for the deal terms. (updatable)"
|
||||||
},
|
},
|
||||||
|
"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."
|
||||||
|
},
|
||||||
"kind": {
|
"kind": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "Identifies what kind of resource this is. Value: the fixed string \"adexchangebuyer#marketplaceDeal\".",
|
"description": "Identifies what kind of resource this is. Value: the fixed string \"adexchangebuyer#marketplaceDeal\".",
|
||||||
@@ -1716,6 +1763,13 @@
|
|||||||
"format": "int64"
|
"format": "int64"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"userIdentifierDataRequired": {
|
||||||
|
"type": "array",
|
||||||
|
"description": "Requests containing the specified type of user data will match. Possible values are HOSTED_MATCH_DATA, which means the request is cookie-targetable and has a match in the buyer's hosted match table, and COOKIE_OR_IDFA, which means the request has either a targetable cookie or an iOS IDFA.",
|
||||||
|
"items": {
|
||||||
|
"type": "string"
|
||||||
|
}
|
||||||
|
},
|
||||||
"userLists": {
|
"userLists": {
|
||||||
"type": "array",
|
"type": "array",
|
||||||
"description": "Requests containing any of these user list ids will match.",
|
"description": "Requests containing any of these user list ids will match.",
|
||||||
@@ -1977,6 +2031,13 @@
|
|||||||
"$ref": "PrivateData",
|
"$ref": "PrivateData",
|
||||||
"description": "Private data for buyer. (hidden from seller)."
|
"description": "Private data for buyer. (hidden from seller)."
|
||||||
},
|
},
|
||||||
|
"dbmAdvertiserIds": {
|
||||||
|
"type": "array",
|
||||||
|
"description": "IDs of DBM advertisers permission to this proposal.",
|
||||||
|
"items": {
|
||||||
|
"type": "string"
|
||||||
|
}
|
||||||
|
},
|
||||||
"hasBuyerSignedOff": {
|
"hasBuyerSignedOff": {
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
"description": "When an proposal is in an accepted state, indicates whether the buyer has signed off. Once both sides have signed off on a deal, the proposal can be finalized by the seller. (seller-readonly)"
|
"description": "When an proposal is in an accepted state, indicates whether the buyer has signed off. Once both sides have signed off on a deal, the proposal can be finalized by the seller. (seller-readonly)"
|
||||||
@@ -2764,6 +2825,37 @@
|
|||||||
"https://www.googleapis.com/auth/adexchange.buyer"
|
"https://www.googleapis.com/auth/adexchange.buyer"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
"listDeals": {
|
||||||
|
"id": "adexchangebuyer.creatives.listDeals",
|
||||||
|
"path": "creatives/{accountId}/{buyerCreativeId}/listDeals",
|
||||||
|
"httpMethod": "GET",
|
||||||
|
"description": "Lists the external deal ids associated with the creative.",
|
||||||
|
"parameters": {
|
||||||
|
"accountId": {
|
||||||
|
"type": "integer",
|
||||||
|
"description": "The id for the account that will serve this creative.",
|
||||||
|
"required": true,
|
||||||
|
"format": "int32",
|
||||||
|
"location": "path"
|
||||||
|
},
|
||||||
|
"buyerCreativeId": {
|
||||||
|
"type": "string",
|
||||||
|
"description": "The buyer-specific id for this creative.",
|
||||||
|
"required": true,
|
||||||
|
"location": "path"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"parameterOrder": [
|
||||||
|
"accountId",
|
||||||
|
"buyerCreativeId"
|
||||||
|
],
|
||||||
|
"response": {
|
||||||
|
"$ref": "CreativeDealIds"
|
||||||
|
},
|
||||||
|
"scopes": [
|
||||||
|
"https://www.googleapis.com/auth/adexchange.buyer"
|
||||||
|
]
|
||||||
|
},
|
||||||
"removeDeal": {
|
"removeDeal": {
|
||||||
"id": "adexchangebuyer.creatives.removeDeal",
|
"id": "adexchangebuyer.creatives.removeDeal",
|
||||||
"path": "creatives/{accountId}/{buyerCreativeId}/removeDeal/{dealId}",
|
"path": "creatives/{accountId}/{buyerCreativeId}/removeDeal/{dealId}",
|
||||||
|
|||||||
@@ -0,0 +1,709 @@
|
|||||||
|
{
|
||||||
|
"id": "adexchangebuyer2:v2beta1",
|
||||||
|
"auth": {
|
||||||
|
"oauth2": {
|
||||||
|
"scopes": {
|
||||||
|
"https://www.googleapis.com/auth/adexchange.buyer": {
|
||||||
|
"description": "Manage your Ad Exchange buyer account configuration"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"description": "Accesses the latest features for managing Ad Exchange accounts, Real-Time Bidding configurations and auction metrics, and Marketplace programmatic deals.",
|
||||||
|
"protocol": "rest",
|
||||||
|
"title": "Ad Exchange Buyer API II",
|
||||||
|
"resources": {
|
||||||
|
"accounts": {
|
||||||
|
"resources": {
|
||||||
|
"clients": {
|
||||||
|
"resources": {
|
||||||
|
"users": {
|
||||||
|
"methods": {
|
||||||
|
"update": {
|
||||||
|
"id": "adexchangebuyer2.accounts.clients.users.update",
|
||||||
|
"response": {
|
||||||
|
"$ref": "ClientUser"
|
||||||
|
},
|
||||||
|
"parameterOrder": [
|
||||||
|
"accountId",
|
||||||
|
"clientAccountId",
|
||||||
|
"userId"
|
||||||
|
],
|
||||||
|
"description": "Updates an existing client user.\nOnly the user status can be changed on update.",
|
||||||
|
"request": {
|
||||||
|
"$ref": "ClientUser"
|
||||||
|
},
|
||||||
|
"flatPath": "v2beta1/accounts/{accountId}/clients/{clientAccountId}/users/{userId}",
|
||||||
|
"httpMethod": "PUT",
|
||||||
|
"parameters": {
|
||||||
|
"clientAccountId": {
|
||||||
|
"description": "Numerical account ID of the client buyer that the user to be retrieved\nis associated with. (required)",
|
||||||
|
"required": true,
|
||||||
|
"location": "path",
|
||||||
|
"type": "string",
|
||||||
|
"format": "int64"
|
||||||
|
},
|
||||||
|
"userId": {
|
||||||
|
"description": "Numerical identifier of the user to retrieve. (required)",
|
||||||
|
"required": true,
|
||||||
|
"location": "path",
|
||||||
|
"type": "string",
|
||||||
|
"format": "int64"
|
||||||
|
},
|
||||||
|
"accountId": {
|
||||||
|
"description": "Numerical account ID of the client's sponsor buyer. (required)",
|
||||||
|
"required": true,
|
||||||
|
"location": "path",
|
||||||
|
"type": "string",
|
||||||
|
"format": "int64"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"path": "v2beta1/accounts/{accountId}/clients/{clientAccountId}/users/{userId}",
|
||||||
|
"scopes": [
|
||||||
|
"https://www.googleapis.com/auth/adexchange.buyer"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"get": {
|
||||||
|
"id": "adexchangebuyer2.accounts.clients.users.get",
|
||||||
|
"response": {
|
||||||
|
"$ref": "ClientUser"
|
||||||
|
},
|
||||||
|
"parameterOrder": [
|
||||||
|
"accountId",
|
||||||
|
"clientAccountId",
|
||||||
|
"userId"
|
||||||
|
],
|
||||||
|
"description": "Retrieves an existing client user.",
|
||||||
|
"flatPath": "v2beta1/accounts/{accountId}/clients/{clientAccountId}/users/{userId}",
|
||||||
|
"httpMethod": "GET",
|
||||||
|
"parameters": {
|
||||||
|
"clientAccountId": {
|
||||||
|
"description": "Numerical account ID of the client buyer\nthat the user to be retrieved is associated with. (required)",
|
||||||
|
"required": true,
|
||||||
|
"location": "path",
|
||||||
|
"type": "string",
|
||||||
|
"format": "int64"
|
||||||
|
},
|
||||||
|
"userId": {
|
||||||
|
"description": "Numerical identifier of the user to retrieve. (required)",
|
||||||
|
"required": true,
|
||||||
|
"location": "path",
|
||||||
|
"type": "string",
|
||||||
|
"format": "int64"
|
||||||
|
},
|
||||||
|
"accountId": {
|
||||||
|
"description": "Numerical account ID of the client's sponsor buyer. (required)",
|
||||||
|
"required": true,
|
||||||
|
"location": "path",
|
||||||
|
"type": "string",
|
||||||
|
"format": "int64"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"path": "v2beta1/accounts/{accountId}/clients/{clientAccountId}/users/{userId}",
|
||||||
|
"scopes": [
|
||||||
|
"https://www.googleapis.com/auth/adexchange.buyer"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"list": {
|
||||||
|
"id": "adexchangebuyer2.accounts.clients.users.list",
|
||||||
|
"response": {
|
||||||
|
"$ref": "ListClientUsersResponse"
|
||||||
|
},
|
||||||
|
"parameterOrder": [
|
||||||
|
"accountId",
|
||||||
|
"clientAccountId"
|
||||||
|
],
|
||||||
|
"description": "Lists all the known client users for a specified\nsponsor buyer account ID.",
|
||||||
|
"flatPath": "v2beta1/accounts/{accountId}/clients/{clientAccountId}/users",
|
||||||
|
"httpMethod": "GET",
|
||||||
|
"parameters": {
|
||||||
|
"clientAccountId": {
|
||||||
|
"description": "The account ID of the client buyer to list users for. (required)\nYou must specify either a string representation of a\nnumerical account identifier or the `-` character\nto list all the client users for all the clients\nof a given sponsor buyer.",
|
||||||
|
"required": true,
|
||||||
|
"location": "path",
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
"pageSize": {
|
||||||
|
"description": "Requested page size. The server may return fewer clients than requested.\nIf unspecified, the server will pick an appropriate default.",
|
||||||
|
"location": "query",
|
||||||
|
"type": "integer",
|
||||||
|
"format": "int32"
|
||||||
|
},
|
||||||
|
"accountId": {
|
||||||
|
"description": "Numerical account ID of the sponsor buyer of the client to list users for.\n(required)",
|
||||||
|
"required": true,
|
||||||
|
"location": "path",
|
||||||
|
"type": "string",
|
||||||
|
"format": "int64"
|
||||||
|
},
|
||||||
|
"pageToken": {
|
||||||
|
"description": "A token identifying a page of results the server should return.\nTypically, this is the value of\nListClientUsersResponse.nextPageToken\nreturned from the previous call to the\naccounts.clients.users.list method.",
|
||||||
|
"location": "query",
|
||||||
|
"type": "string"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"path": "v2beta1/accounts/{accountId}/clients/{clientAccountId}/users",
|
||||||
|
"scopes": [
|
||||||
|
"https://www.googleapis.com/auth/adexchange.buyer"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"invitations": {
|
||||||
|
"methods": {
|
||||||
|
"create": {
|
||||||
|
"id": "adexchangebuyer2.accounts.clients.invitations.create",
|
||||||
|
"response": {
|
||||||
|
"$ref": "ClientUserInvitation"
|
||||||
|
},
|
||||||
|
"parameterOrder": [
|
||||||
|
"accountId",
|
||||||
|
"clientAccountId"
|
||||||
|
],
|
||||||
|
"description": "Creates and sends out an email invitation to access\nan Ad Exchange client buyer account.",
|
||||||
|
"request": {
|
||||||
|
"$ref": "ClientUserInvitation"
|
||||||
|
},
|
||||||
|
"flatPath": "v2beta1/accounts/{accountId}/clients/{clientAccountId}/invitations",
|
||||||
|
"httpMethod": "POST",
|
||||||
|
"parameters": {
|
||||||
|
"clientAccountId": {
|
||||||
|
"description": "Numerical account ID of the client buyer that the user\nshould be associated with. (required)",
|
||||||
|
"required": true,
|
||||||
|
"location": "path",
|
||||||
|
"type": "string",
|
||||||
|
"format": "int64"
|
||||||
|
},
|
||||||
|
"accountId": {
|
||||||
|
"description": "Numerical account ID of the client's sponsor buyer. (required)",
|
||||||
|
"required": true,
|
||||||
|
"location": "path",
|
||||||
|
"type": "string",
|
||||||
|
"format": "int64"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"path": "v2beta1/accounts/{accountId}/clients/{clientAccountId}/invitations",
|
||||||
|
"scopes": [
|
||||||
|
"https://www.googleapis.com/auth/adexchange.buyer"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"get": {
|
||||||
|
"id": "adexchangebuyer2.accounts.clients.invitations.get",
|
||||||
|
"response": {
|
||||||
|
"$ref": "ClientUserInvitation"
|
||||||
|
},
|
||||||
|
"parameterOrder": [
|
||||||
|
"accountId",
|
||||||
|
"clientAccountId",
|
||||||
|
"invitationId"
|
||||||
|
],
|
||||||
|
"description": "Retrieves an existing client user invitation.",
|
||||||
|
"flatPath": "v2beta1/accounts/{accountId}/clients/{clientAccountId}/invitations/{invitationId}",
|
||||||
|
"httpMethod": "GET",
|
||||||
|
"parameters": {
|
||||||
|
"clientAccountId": {
|
||||||
|
"description": "Numerical account ID of the client buyer that the user invitation\nto be retrieved is associated with. (required)",
|
||||||
|
"required": true,
|
||||||
|
"location": "path",
|
||||||
|
"type": "string",
|
||||||
|
"format": "int64"
|
||||||
|
},
|
||||||
|
"invitationId": {
|
||||||
|
"description": "Numerical identifier of the user invitation to retrieve. (required)",
|
||||||
|
"required": true,
|
||||||
|
"location": "path",
|
||||||
|
"type": "string",
|
||||||
|
"format": "int64"
|
||||||
|
},
|
||||||
|
"accountId": {
|
||||||
|
"description": "Numerical account ID of the client's sponsor buyer. (required)",
|
||||||
|
"required": true,
|
||||||
|
"location": "path",
|
||||||
|
"type": "string",
|
||||||
|
"format": "int64"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"path": "v2beta1/accounts/{accountId}/clients/{clientAccountId}/invitations/{invitationId}",
|
||||||
|
"scopes": [
|
||||||
|
"https://www.googleapis.com/auth/adexchange.buyer"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"list": {
|
||||||
|
"id": "adexchangebuyer2.accounts.clients.invitations.list",
|
||||||
|
"response": {
|
||||||
|
"$ref": "ListClientUserInvitationsResponse"
|
||||||
|
},
|
||||||
|
"parameterOrder": [
|
||||||
|
"accountId",
|
||||||
|
"clientAccountId"
|
||||||
|
],
|
||||||
|
"description": "Lists all the client users invitations for a client\nwith a given account ID.",
|
||||||
|
"flatPath": "v2beta1/accounts/{accountId}/clients/{clientAccountId}/invitations",
|
||||||
|
"httpMethod": "GET",
|
||||||
|
"parameters": {
|
||||||
|
"clientAccountId": {
|
||||||
|
"description": "Numerical account ID of the client buyer to list invitations for.\n(required)\nYou must either specify a string representation of a\nnumerical account identifier or the `-` character\nto list all the invitations for all the clients\nof a given sponsor buyer.",
|
||||||
|
"required": true,
|
||||||
|
"location": "path",
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
"pageSize": {
|
||||||
|
"description": "Requested page size. Server may return fewer clients than requested.\nIf unspecified, server will pick an appropriate default.",
|
||||||
|
"location": "query",
|
||||||
|
"type": "integer",
|
||||||
|
"format": "int32"
|
||||||
|
},
|
||||||
|
"accountId": {
|
||||||
|
"description": "Numerical account ID of the client's sponsor buyer. (required)",
|
||||||
|
"required": true,
|
||||||
|
"location": "path",
|
||||||
|
"type": "string",
|
||||||
|
"format": "int64"
|
||||||
|
},
|
||||||
|
"pageToken": {
|
||||||
|
"description": "A token identifying a page of results the server should return.\nTypically, this is the value of\nListClientUserInvitationsResponse.nextPageToken\nreturned from the previous call to the\nclients.invitations.list\nmethod.",
|
||||||
|
"location": "query",
|
||||||
|
"type": "string"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"path": "v2beta1/accounts/{accountId}/clients/{clientAccountId}/invitations",
|
||||||
|
"scopes": [
|
||||||
|
"https://www.googleapis.com/auth/adexchange.buyer"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"methods": {
|
||||||
|
"update": {
|
||||||
|
"id": "adexchangebuyer2.accounts.clients.update",
|
||||||
|
"response": {
|
||||||
|
"$ref": "Client"
|
||||||
|
},
|
||||||
|
"parameterOrder": [
|
||||||
|
"accountId",
|
||||||
|
"clientAccountId"
|
||||||
|
],
|
||||||
|
"description": "Updates an existing client buyer.",
|
||||||
|
"request": {
|
||||||
|
"$ref": "Client"
|
||||||
|
},
|
||||||
|
"flatPath": "v2beta1/accounts/{accountId}/clients/{clientAccountId}",
|
||||||
|
"httpMethod": "PUT",
|
||||||
|
"parameters": {
|
||||||
|
"clientAccountId": {
|
||||||
|
"description": "Unique numerical account ID of the client to update. (required)",
|
||||||
|
"required": true,
|
||||||
|
"location": "path",
|
||||||
|
"type": "string",
|
||||||
|
"format": "int64"
|
||||||
|
},
|
||||||
|
"accountId": {
|
||||||
|
"description": "Unique numerical account ID for the buyer of which the client buyer\nis a customer; the sponsor buyer to update a client for. (required)",
|
||||||
|
"required": true,
|
||||||
|
"location": "path",
|
||||||
|
"type": "string",
|
||||||
|
"format": "int64"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"path": "v2beta1/accounts/{accountId}/clients/{clientAccountId}",
|
||||||
|
"scopes": [
|
||||||
|
"https://www.googleapis.com/auth/adexchange.buyer"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"get": {
|
||||||
|
"id": "adexchangebuyer2.accounts.clients.get",
|
||||||
|
"response": {
|
||||||
|
"$ref": "Client"
|
||||||
|
},
|
||||||
|
"parameterOrder": [
|
||||||
|
"accountId",
|
||||||
|
"clientAccountId"
|
||||||
|
],
|
||||||
|
"description": "Gets a client buyer with a given client account ID.",
|
||||||
|
"flatPath": "v2beta1/accounts/{accountId}/clients/{clientAccountId}",
|
||||||
|
"httpMethod": "GET",
|
||||||
|
"parameters": {
|
||||||
|
"clientAccountId": {
|
||||||
|
"description": "Numerical account ID of the client buyer to retrieve. (required)",
|
||||||
|
"required": true,
|
||||||
|
"location": "path",
|
||||||
|
"type": "string",
|
||||||
|
"format": "int64"
|
||||||
|
},
|
||||||
|
"accountId": {
|
||||||
|
"description": "Numerical account ID of the client's sponsor buyer. (required)",
|
||||||
|
"required": true,
|
||||||
|
"location": "path",
|
||||||
|
"type": "string",
|
||||||
|
"format": "int64"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"path": "v2beta1/accounts/{accountId}/clients/{clientAccountId}",
|
||||||
|
"scopes": [
|
||||||
|
"https://www.googleapis.com/auth/adexchange.buyer"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"create": {
|
||||||
|
"id": "adexchangebuyer2.accounts.clients.create",
|
||||||
|
"response": {
|
||||||
|
"$ref": "Client"
|
||||||
|
},
|
||||||
|
"parameterOrder": [
|
||||||
|
"accountId"
|
||||||
|
],
|
||||||
|
"description": "Creates a new client buyer.",
|
||||||
|
"request": {
|
||||||
|
"$ref": "Client"
|
||||||
|
},
|
||||||
|
"flatPath": "v2beta1/accounts/{accountId}/clients",
|
||||||
|
"httpMethod": "POST",
|
||||||
|
"parameters": {
|
||||||
|
"accountId": {
|
||||||
|
"description": "Unique numerical account ID for the buyer of which the client buyer\nis a customer; the sponsor buyer to create a client for. (required)",
|
||||||
|
"required": true,
|
||||||
|
"location": "path",
|
||||||
|
"type": "string",
|
||||||
|
"format": "int64"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"path": "v2beta1/accounts/{accountId}/clients",
|
||||||
|
"scopes": [
|
||||||
|
"https://www.googleapis.com/auth/adexchange.buyer"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"list": {
|
||||||
|
"id": "adexchangebuyer2.accounts.clients.list",
|
||||||
|
"response": {
|
||||||
|
"$ref": "ListClientsResponse"
|
||||||
|
},
|
||||||
|
"parameterOrder": [
|
||||||
|
"accountId"
|
||||||
|
],
|
||||||
|
"description": "Lists all the clients for the current sponsor buyer.",
|
||||||
|
"flatPath": "v2beta1/accounts/{accountId}/clients",
|
||||||
|
"httpMethod": "GET",
|
||||||
|
"parameters": {
|
||||||
|
"pageSize": {
|
||||||
|
"description": "Requested page size. The server may return fewer clients than requested.\nIf unspecified, the server will pick an appropriate default.",
|
||||||
|
"location": "query",
|
||||||
|
"type": "integer",
|
||||||
|
"format": "int32"
|
||||||
|
},
|
||||||
|
"accountId": {
|
||||||
|
"description": "Unique numerical account ID of the sponsor buyer to list the clients for.",
|
||||||
|
"required": true,
|
||||||
|
"location": "path",
|
||||||
|
"type": "string",
|
||||||
|
"format": "int64"
|
||||||
|
},
|
||||||
|
"pageToken": {
|
||||||
|
"description": "A token identifying a page of results the server should return.\nTypically, this is the value of\nListClientsResponse.nextPageToken\nreturned from the previous call to the\naccounts.clients.list method.",
|
||||||
|
"location": "query",
|
||||||
|
"type": "string"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"path": "v2beta1/accounts/{accountId}/clients",
|
||||||
|
"scopes": [
|
||||||
|
"https://www.googleapis.com/auth/adexchange.buyer"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"schemas": {
|
||||||
|
"ClientUser": {
|
||||||
|
"description": "A client user is created under a client buyer and has restricted access to\nthe Ad Exchange Marketplace and certain other sections\nof the Ad Exchange Buyer UI based on the role\ngranted to the associated client buyer.\n\nThe only way a new client user can be created is via accepting an\nemail invitation\n(see the\naccounts.clients.invitations.create\nmethod).\n\nAll fields are required unless otherwise specified.",
|
||||||
|
"type": "object",
|
||||||
|
"properties": {
|
||||||
|
"email": {
|
||||||
|
"description": "User's email address. The value of this field\nis ignored in an update operation.",
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
"clientAccountId": {
|
||||||
|
"description": "Numerical account ID of the client buyer\nwith which the user is associated; the\nbuyer must be a client of the current sponsor buyer.\nThe value of this field is ignored in an update operation.",
|
||||||
|
"type": "string",
|
||||||
|
"format": "int64"
|
||||||
|
},
|
||||||
|
"status": {
|
||||||
|
"description": "The status of the client user.",
|
||||||
|
"enum": [
|
||||||
|
"USER_STATUS_UNSPECIFIED",
|
||||||
|
"PENDING",
|
||||||
|
"ACTIVE",
|
||||||
|
"DISABLED"
|
||||||
|
],
|
||||||
|
"enumDescriptions": [
|
||||||
|
"A placeholder for an undefined user status.",
|
||||||
|
"A user who was already created but hasn't accepted the invitation yet.",
|
||||||
|
"A user that is currently active.",
|
||||||
|
"A user that is currently disabled."
|
||||||
|
],
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
"userId": {
|
||||||
|
"description": "The unique numerical ID of the client user\nthat has accepted an invitation.\nThe value of this field is ignored in an update operation.",
|
||||||
|
"type": "string",
|
||||||
|
"format": "int64"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"id": "ClientUser"
|
||||||
|
},
|
||||||
|
"ClientUserInvitation": {
|
||||||
|
"description": "An invitation for a new client user to get access to the Ad Exchange\nBuyer UI.\nAll fields are required unless otherwise specified.",
|
||||||
|
"type": "object",
|
||||||
|
"properties": {
|
||||||
|
"email": {
|
||||||
|
"description": "The email address to which the invitation is sent. Email\naddresses should be unique among all client users under each sponsor\nbuyer.",
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
"clientAccountId": {
|
||||||
|
"description": "Numerical account ID of the client buyer\nthat the invited user is associated with.\nThe value of this field is ignored in create operations.",
|
||||||
|
"type": "string",
|
||||||
|
"format": "int64"
|
||||||
|
},
|
||||||
|
"invitationId": {
|
||||||
|
"description": "The unique numerical ID of the invitation that is sent to the user.\nThe value of this field is ignored in create operations.",
|
||||||
|
"type": "string",
|
||||||
|
"format": "int64"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"id": "ClientUserInvitation"
|
||||||
|
},
|
||||||
|
"ListClientUserInvitationsResponse": {
|
||||||
|
"type": "object",
|
||||||
|
"properties": {
|
||||||
|
"nextPageToken": {
|
||||||
|
"description": "A token to retrieve the next page of results.\nPass this value in the\nListClientUserInvitationsRequest.pageToken\nfield in the subsequent call to the\nclients.invitations.list\nmethod to retrieve the next\npage of results.",
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
"invitations": {
|
||||||
|
"description": "The returned list of client users.",
|
||||||
|
"type": "array",
|
||||||
|
"items": {
|
||||||
|
"$ref": "ClientUserInvitation"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"id": "ListClientUserInvitationsResponse"
|
||||||
|
},
|
||||||
|
"ListClientUsersResponse": {
|
||||||
|
"type": "object",
|
||||||
|
"properties": {
|
||||||
|
"users": {
|
||||||
|
"description": "The returned list of client users.",
|
||||||
|
"type": "array",
|
||||||
|
"items": {
|
||||||
|
"$ref": "ClientUser"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"nextPageToken": {
|
||||||
|
"description": "A token to retrieve the next page of results.\nPass this value in the\nListClientUsersRequest.pageToken\nfield in the subsequent call to the\nclients.invitations.list\nmethod to retrieve the next\npage of results.",
|
||||||
|
"type": "string"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"id": "ListClientUsersResponse"
|
||||||
|
},
|
||||||
|
"Client": {
|
||||||
|
"description": "A client resource represents a client buyer—an agency,\na brand, or an advertiser customer of the sponsor buyer.\nUsers associated with the client buyer have restricted access to\nthe Ad Exchange Marketplace and certain other sections\nof the Ad Exchange Buyer UI based on the role\ngranted to the client buyer.\nAll fields are required unless otherwise specified.",
|
||||||
|
"type": "object",
|
||||||
|
"properties": {
|
||||||
|
"visibleToSeller": {
|
||||||
|
"description": "Whether the client buyer will be visible to sellers.",
|
||||||
|
"type": "boolean"
|
||||||
|
},
|
||||||
|
"status": {
|
||||||
|
"description": "The status of the client buyer.",
|
||||||
|
"enum": [
|
||||||
|
"CLIENT_STATUS_UNSPECIFIED",
|
||||||
|
"DISABLED",
|
||||||
|
"ACTIVE"
|
||||||
|
],
|
||||||
|
"enumDescriptions": [
|
||||||
|
"A placeholder for an undefined client status.",
|
||||||
|
"A client that is currently disabled.",
|
||||||
|
"A client that is currently active."
|
||||||
|
],
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
"entityType": {
|
||||||
|
"description": "The type of the client entity: `ADVERTISER`, `BRAND`, or `AGENCY`.",
|
||||||
|
"enum": [
|
||||||
|
"ENTITY_TYPE_UNSPECIFIED",
|
||||||
|
"ADVERTISER",
|
||||||
|
"BRAND",
|
||||||
|
"AGENCY"
|
||||||
|
],
|
||||||
|
"enumDescriptions": [
|
||||||
|
"A placeholder for an undefined client entity type. Should not be used.",
|
||||||
|
"An advertiser.",
|
||||||
|
"A brand.",
|
||||||
|
"An advertising agency."
|
||||||
|
],
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
"role": {
|
||||||
|
"description": "The role which is assigned to the client buyer. Each role implies a set of\npermissions granted to the client. Must be one of `CLIENT_DEAL_VIEWER`,\n`CLIENT_DEAL_NEGOTIATOR` or `CLIENT_DEAL_APPROVER`.",
|
||||||
|
"enum": [
|
||||||
|
"CLIENT_ROLE_UNSPECIFIED",
|
||||||
|
"CLIENT_DEAL_VIEWER",
|
||||||
|
"CLIENT_DEAL_NEGOTIATOR",
|
||||||
|
"CLIENT_DEAL_APPROVER"
|
||||||
|
],
|
||||||
|
"enumDescriptions": [
|
||||||
|
"A placeholder for an undefined client role.",
|
||||||
|
"Users associated with this client can see publisher deal offers\nin the Marketplace.\nThey can neither negotiate proposals nor approve deals.\nIf this client is visible to publishers, they can send deal proposals\nto this client.",
|
||||||
|
"Users associated with this client can respond to deal proposals\nsent to them by publishers. They can also initiate deal proposals\nof their own.",
|
||||||
|
"Users associated with this client can approve eligible deals\non your behalf. Some deals may still explicitly require publisher\nfinalization. If this role is not selected, the sponsor buyer\nwill need to manually approve each of their deals."
|
||||||
|
],
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
"clientName": {
|
||||||
|
"description": "Name used to represent this client to publishers.\nYou may have multiple clients that map to the same entity,\nbut for each client the combination of `clientName` and entity\nmust be unique.\nYou can specify this field as empty.",
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
"clientAccountId": {
|
||||||
|
"description": "The globally-unique numerical ID of the client.\nThe value of this field is ignored in create and update operations.",
|
||||||
|
"type": "string",
|
||||||
|
"format": "int64"
|
||||||
|
},
|
||||||
|
"entityId": {
|
||||||
|
"description": "Numerical identifier of the client entity.\nThe entity can be an advertiser, a brand, or an agency.\nThis identifier is unique among all the entities with the same type.\n\nA list of all known advertisers with their identifiers is available in the\n[advertisers.txt](https://storage.googleapis.com/adx-rtb-dictionaries/advertisers.txt)\nfile.\n\nA list of all known brands with their identifiers is available in the\n[brands.txt](https://storage.googleapis.com/adx-rtb-dictionaries/brands.txt)\nfile.\n\nA list of all known agencies with their identifiers is available in the\n[agencies.txt](https://storage.googleapis.com/adx-rtb-dictionaries/agencies.txt)\nfile.",
|
||||||
|
"type": "string",
|
||||||
|
"format": "int64"
|
||||||
|
},
|
||||||
|
"entityName": {
|
||||||
|
"description": "The name of the entity. This field is automatically fetched based on\nthe type and ID.\nThe value of this field is ignored in create and update operations.",
|
||||||
|
"type": "string"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"id": "Client"
|
||||||
|
},
|
||||||
|
"ListClientsResponse": {
|
||||||
|
"type": "object",
|
||||||
|
"properties": {
|
||||||
|
"nextPageToken": {
|
||||||
|
"description": "A token to retrieve the next page of results.\nPass this value in the\nListClientsRequest.pageToken\nfield in the subsequent call to the\naccounts.clients.list method\nto retrieve the next page of results.",
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
"clients": {
|
||||||
|
"description": "The returned list of clients.",
|
||||||
|
"type": "array",
|
||||||
|
"items": {
|
||||||
|
"$ref": "Client"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"id": "ListClientsResponse"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"revision": "20161208",
|
||||||
|
"basePath": "",
|
||||||
|
"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",
|
||||||
|
"canonicalName": "AdExchangeBuyerII",
|
||||||
|
"discoveryVersion": "v1",
|
||||||
|
"baseUrl": "https://adexchangebuyer.googleapis.com/",
|
||||||
|
"name": "adexchangebuyer2",
|
||||||
|
"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/ad-exchange/buyer-rest/guides/client-access/",
|
||||||
|
"ownerDomain": "google.com",
|
||||||
|
"batchPath": "batch",
|
||||||
|
"servicePath": "",
|
||||||
|
"ownerName": "Google",
|
||||||
|
"version": "v2beta1",
|
||||||
|
"rootUrl": "https://adexchangebuyer.googleapis.com/",
|
||||||
|
"kind": "discovery#restDescription"
|
||||||
|
}
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"kind": "discovery#restDescription",
|
"kind": "discovery#restDescription",
|
||||||
"etag": "\"C5oy1hgQsABtYOYIOXWcR3BgYqU/Dz_LMqDcbtnyBd4CwnrsbswCFU4\"",
|
"etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/Dz_LMqDcbtnyBd4CwnrsbswCFU4\"",
|
||||||
"discoveryVersion": "v1",
|
"discoveryVersion": "v1",
|
||||||
"id": "adexchangeseller:v1.1",
|
"id": "adexchangeseller:v1.1",
|
||||||
"name": "adexchangeseller",
|
"name": "adexchangeseller",
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"kind": "discovery#restDescription",
|
"kind": "discovery#restDescription",
|
||||||
"etag": "\"C5oy1hgQsABtYOYIOXWcR3BgYqU/EberIAMM9RntL16aqUh0FmyQxWY\"",
|
"etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/EberIAMM9RntL16aqUh0FmyQxWY\"",
|
||||||
"discoveryVersion": "v1",
|
"discoveryVersion": "v1",
|
||||||
"id": "adexchangeseller:v1",
|
"id": "adexchangeseller:v1",
|
||||||
"name": "adexchangeseller",
|
"name": "adexchangeseller",
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"kind": "discovery#restDescription",
|
"kind": "discovery#restDescription",
|
||||||
"etag": "\"C5oy1hgQsABtYOYIOXWcR3BgYqU/1XDufO4826VKTkrV2WU9EmKApiQ\"",
|
"etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/1XDufO4826VKTkrV2WU9EmKApiQ\"",
|
||||||
"discoveryVersion": "v1",
|
"discoveryVersion": "v1",
|
||||||
"id": "adexchangeseller:v2.0",
|
"id": "adexchangeseller:v2.0",
|
||||||
"name": "adexchangeseller",
|
"name": "adexchangeseller",
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"kind": "discovery#restDescription",
|
"kind": "discovery#restDescription",
|
||||||
"etag": "\"C5oy1hgQsABtYOYIOXWcR3BgYqU/YLr8KxlFkw8ar-xZYzcCGhmF9B0\"",
|
"etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/69RNEuIs-2cMvhRHgpkaoTAmcFU\"",
|
||||||
"discoveryVersion": "v1",
|
"discoveryVersion": "v1",
|
||||||
"id": "admin:datatransfer_v1",
|
"id": "admin:datatransfer_v1",
|
||||||
"name": "admin",
|
"name": "admin",
|
||||||
@@ -13,8 +13,8 @@
|
|||||||
"ownerName": "Google",
|
"ownerName": "Google",
|
||||||
"packagePath": "admin",
|
"packagePath": "admin",
|
||||||
"icons": {
|
"icons": {
|
||||||
"x16": "http://www.google.com/images/icons/product/search-16.gif",
|
"x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png",
|
||||||
"x32": "http://www.google.com/images/icons/product/search-32.gif"
|
"x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png"
|
||||||
},
|
},
|
||||||
"documentationLink": "https://developers.google.com/admin-sdk/data-transfer/",
|
"documentationLink": "https://developers.google.com/admin-sdk/data-transfer/",
|
||||||
"protocol": "rest",
|
"protocol": "rest",
|
||||||
|
|||||||
@@ -1,20 +1,20 @@
|
|||||||
{
|
{
|
||||||
"kind": "discovery#restDescription",
|
"kind": "discovery#restDescription",
|
||||||
"etag": "\"C5oy1hgQsABtYOYIOXWcR3BgYqU/tVkq2fforoBT9yvJW6dzQX6ja6Q\"",
|
"etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/MJXmm78_R4W8L6tex9cqkPyvKmM\"",
|
||||||
"discoveryVersion": "v1",
|
"discoveryVersion": "v1",
|
||||||
"id": "admin:directory_v1",
|
"id": "admin:directory_v1",
|
||||||
"name": "admin",
|
"name": "admin",
|
||||||
"canonicalName": "directory",
|
"canonicalName": "directory",
|
||||||
"version": "directory_v1",
|
"version": "directory_v1",
|
||||||
"revision": "20160824",
|
"revision": "20161124",
|
||||||
"title": "Admin Directory API",
|
"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.",
|
"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",
|
"ownerDomain": "google.com",
|
||||||
"ownerName": "Google",
|
"ownerName": "Google",
|
||||||
"packagePath": "admin",
|
"packagePath": "admin",
|
||||||
"icons": {
|
"icons": {
|
||||||
"x16": "http://www.google.com/images/icons/product/search-16.gif",
|
"x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png",
|
||||||
"x32": "http://www.google.com/images/icons/product/search-32.gif"
|
"x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png"
|
||||||
},
|
},
|
||||||
"documentationLink": "https://developers.google.com/admin-sdk/directory/",
|
"documentationLink": "https://developers.google.com/admin-sdk/directory/",
|
||||||
"protocol": "rest",
|
"protocol": "rest",
|
||||||
@@ -533,6 +533,25 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"ChromeOsDeviceAction": {
|
||||||
|
"id": "ChromeOsDeviceAction",
|
||||||
|
"type": "object",
|
||||||
|
"description": "JSON request template for firing actions on ChromeOs Device in Directory Devices API.",
|
||||||
|
"properties": {
|
||||||
|
"action": {
|
||||||
|
"type": "string",
|
||||||
|
"description": "Action to be taken on the ChromeOs Device",
|
||||||
|
"annotations": {
|
||||||
|
"required": [
|
||||||
|
"directory.chromeosdevices.action"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"deprovisionReason": {
|
||||||
|
"type": "string"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
"ChromeOsDevices": {
|
"ChromeOsDevices": {
|
||||||
"id": "ChromeOsDevices",
|
"id": "ChromeOsDevices",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
@@ -973,6 +992,14 @@
|
|||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "Mobile Device Baseband version (Read-only)"
|
"description": "Mobile Device Baseband version (Read-only)"
|
||||||
},
|
},
|
||||||
|
"bootloaderVersion": {
|
||||||
|
"type": "string",
|
||||||
|
"description": "Mobile Device Bootloader version (Read-only)"
|
||||||
|
},
|
||||||
|
"brand": {
|
||||||
|
"type": "string",
|
||||||
|
"description": "Mobile Device Brand (Read-only)"
|
||||||
|
},
|
||||||
"buildNumber": {
|
"buildNumber": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "Mobile Device Build number (Read-only)"
|
"description": "Mobile Device Build number (Read-only)"
|
||||||
@@ -993,6 +1020,10 @@
|
|||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "Mobile Device serial number (Read-only)"
|
"description": "Mobile Device serial number (Read-only)"
|
||||||
},
|
},
|
||||||
|
"devicePasswordStatus": {
|
||||||
|
"type": "string",
|
||||||
|
"description": "DevicePasswordStatus (Read-only)"
|
||||||
|
},
|
||||||
"email": {
|
"email": {
|
||||||
"type": "array",
|
"type": "array",
|
||||||
"description": "List of owner user's email addresses (Read-only)",
|
"description": "List of owner user's email addresses (Read-only)",
|
||||||
@@ -1000,6 +1031,10 @@
|
|||||||
"type": "string"
|
"type": "string"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"encryptionStatus": {
|
||||||
|
"type": "string",
|
||||||
|
"description": "Mobile Device Encryption Status (Read-only)"
|
||||||
|
},
|
||||||
"etag": {
|
"etag": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "ETag of the resource."
|
"description": "ETag of the resource."
|
||||||
@@ -1009,6 +1044,10 @@
|
|||||||
"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 Google Apps administrator control panel (Read-only)",
|
||||||
"format": "date-time"
|
"format": "date-time"
|
||||||
},
|
},
|
||||||
|
"hardware": {
|
||||||
|
"type": "string",
|
||||||
|
"description": "Mobile Device Hardware (Read-only)"
|
||||||
|
},
|
||||||
"hardwareId": {
|
"hardwareId": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "Mobile Device Hardware Id (Read-only)"
|
"description": "Mobile Device Hardware Id (Read-only)"
|
||||||
@@ -1035,6 +1074,10 @@
|
|||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
"description": "Boolean indicating if this account is on owner/primary profile or not (Read-only)"
|
"description": "Boolean indicating if this account is on owner/primary profile or not (Read-only)"
|
||||||
},
|
},
|
||||||
|
"manufacturer": {
|
||||||
|
"type": "string",
|
||||||
|
"description": "Mobile Device manufacturer (Read-only)"
|
||||||
|
},
|
||||||
"meid": {
|
"meid": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "Mobile Device MEID number (Read-only)"
|
"description": "Mobile Device MEID number (Read-only)"
|
||||||
@@ -1065,10 +1108,23 @@
|
|||||||
"type": "string"
|
"type": "string"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"privilege": {
|
||||||
|
"type": "string",
|
||||||
|
"description": "DMAgentPermission (Read-only)"
|
||||||
|
},
|
||||||
|
"releaseVersion": {
|
||||||
|
"type": "string",
|
||||||
|
"description": "Mobile Device release version version (Read-only)"
|
||||||
|
},
|
||||||
"resourceId": {
|
"resourceId": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "Unique identifier of Mobile Device (Read-only)"
|
"description": "Unique identifier of Mobile Device (Read-only)"
|
||||||
},
|
},
|
||||||
|
"securityPatchLevel": {
|
||||||
|
"type": "string",
|
||||||
|
"description": "Mobile Device Security patch level (Read-only)",
|
||||||
|
"format": "int64"
|
||||||
|
},
|
||||||
"serialNumber": {
|
"serialNumber": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "Mobile Device SSN or Serial Number (Read-only)"
|
"description": "Mobile Device SSN or Serial Number (Read-only)"
|
||||||
@@ -2452,6 +2508,36 @@
|
|||||||
},
|
},
|
||||||
"chromeosdevices": {
|
"chromeosdevices": {
|
||||||
"methods": {
|
"methods": {
|
||||||
|
"action": {
|
||||||
|
"id": "directory.chromeosdevices.action",
|
||||||
|
"path": "customer/{customerId}/devices/chromeos/{resourceId}/action",
|
||||||
|
"httpMethod": "POST",
|
||||||
|
"description": "Take action on Chrome OS Device",
|
||||||
|
"parameters": {
|
||||||
|
"customerId": {
|
||||||
|
"type": "string",
|
||||||
|
"description": "Immutable id of the Google Apps account",
|
||||||
|
"required": true,
|
||||||
|
"location": "path"
|
||||||
|
},
|
||||||
|
"resourceId": {
|
||||||
|
"type": "string",
|
||||||
|
"description": "Immutable id of Chrome OS Device",
|
||||||
|
"required": true,
|
||||||
|
"location": "path"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"parameterOrder": [
|
||||||
|
"customerId",
|
||||||
|
"resourceId"
|
||||||
|
],
|
||||||
|
"request": {
|
||||||
|
"$ref": "ChromeOsDeviceAction"
|
||||||
|
},
|
||||||
|
"scopes": [
|
||||||
|
"https://www.googleapis.com/auth/admin.directory.device.chromeos"
|
||||||
|
]
|
||||||
|
},
|
||||||
"get": {
|
"get": {
|
||||||
"id": "directory.chromeosdevices.get",
|
"id": "directory.chromeosdevices.get",
|
||||||
"path": "customer/{customerId}/devices/chromeos/{deviceId}",
|
"path": "customer/{customerId}/devices/chromeos/{deviceId}",
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"kind": "discovery#restDescription",
|
"kind": "discovery#restDescription",
|
||||||
"etag": "\"C5oy1hgQsABtYOYIOXWcR3BgYqU/JOd2IF5OejEZFbpk9z7_VoeqW5U\"",
|
"etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/QGy4Wv90L7XHcKxA0VDj0fNkDc0\"",
|
||||||
"discoveryVersion": "v1",
|
"discoveryVersion": "v1",
|
||||||
"id": "admin:reports_v1",
|
"id": "admin:reports_v1",
|
||||||
"name": "admin",
|
"name": "admin",
|
||||||
@@ -13,8 +13,8 @@
|
|||||||
"ownerName": "Google",
|
"ownerName": "Google",
|
||||||
"packagePath": "admin",
|
"packagePath": "admin",
|
||||||
"icons": {
|
"icons": {
|
||||||
"x16": "http://www.google.com/images/icons/product/search-16.gif",
|
"x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png",
|
||||||
"x32": "http://www.google.com/images/icons/product/search-32.gif"
|
"x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png"
|
||||||
},
|
},
|
||||||
"documentationLink": "https://developers.google.com/admin-sdk/reports/",
|
"documentationLink": "https://developers.google.com/admin-sdk/reports/",
|
||||||
"protocol": "rest",
|
"protocol": "rest",
|
||||||
|
|||||||
@@ -1,12 +1,12 @@
|
|||||||
{
|
{
|
||||||
"kind": "discovery#restDescription",
|
"kind": "discovery#restDescription",
|
||||||
"etag": "\"C5oy1hgQsABtYOYIOXWcR3BgYqU/C00o7wucTJAcP39P-cEOrRc9pLA\"",
|
"etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/O4Gi4w2H5lck6YfTHArV5gfcJY8\"",
|
||||||
"discoveryVersion": "v1",
|
"discoveryVersion": "v1",
|
||||||
"id": "adsense:v1.3",
|
"id": "adsense:v1.3",
|
||||||
"name": "adsense",
|
"name": "adsense",
|
||||||
"canonicalName": "AdSense",
|
"canonicalName": "AdSense",
|
||||||
"version": "v1.3",
|
"version": "v1.3",
|
||||||
"revision": "20160907",
|
"revision": "20161206",
|
||||||
"title": "AdSense Management API",
|
"title": "AdSense Management API",
|
||||||
"description": "Accesses AdSense publishers' inventory and generates performance reports.",
|
"description": "Accesses AdSense publishers' inventory and generates performance reports.",
|
||||||
"ownerDomain": "google.com",
|
"ownerDomain": "google.com",
|
||||||
@@ -238,7 +238,7 @@
|
|||||||
},
|
},
|
||||||
"corners": {
|
"corners": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "The style of the corners in the ad."
|
"description": "The style of the corners in the ad (deprecated: never populated, ignored)."
|
||||||
},
|
},
|
||||||
"font": {
|
"font": {
|
||||||
"type": "object",
|
"type": "object",
|
||||||
|
|||||||
@@ -1,12 +1,12 @@
|
|||||||
{
|
{
|
||||||
"kind": "discovery#restDescription",
|
"kind": "discovery#restDescription",
|
||||||
"etag": "\"C5oy1hgQsABtYOYIOXWcR3BgYqU/mzAWTwgWWJnzBtwDU9h80pGL_MA\"",
|
"etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/9rW_iSYGkNTcKHQcRbE8edxeIL0\"",
|
||||||
"discoveryVersion": "v1",
|
"discoveryVersion": "v1",
|
||||||
"id": "adsense:v1.4",
|
"id": "adsense:v1.4",
|
||||||
"name": "adsense",
|
"name": "adsense",
|
||||||
"canonicalName": "AdSense",
|
"canonicalName": "AdSense",
|
||||||
"version": "v1.4",
|
"version": "v1.4",
|
||||||
"revision": "20160907",
|
"revision": "20161206",
|
||||||
"title": "AdSense Management API",
|
"title": "AdSense Management API",
|
||||||
"description": "Accesses AdSense publishers' inventory and generates performance reports.",
|
"description": "Accesses AdSense publishers' inventory and generates performance reports.",
|
||||||
"ownerDomain": "google.com",
|
"ownerDomain": "google.com",
|
||||||
@@ -246,7 +246,7 @@
|
|||||||
},
|
},
|
||||||
"corners": {
|
"corners": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "The style of the corners in the ad."
|
"description": "The style of the corners in the ad (deprecated: never populated, ignored)."
|
||||||
},
|
},
|
||||||
"font": {
|
"font": {
|
||||||
"type": "object",
|
"type": "object",
|
||||||
|
|||||||
@@ -1,12 +1,12 @@
|
|||||||
{
|
{
|
||||||
"kind": "discovery#restDescription",
|
"kind": "discovery#restDescription",
|
||||||
"etag": "\"C5oy1hgQsABtYOYIOXWcR3BgYqU/1O6SL_KmRSdPQjZoTIixUZdD99Y\"",
|
"etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/Lu4otnxJaoGqp6ZeALzdWUnJjmk\"",
|
||||||
"discoveryVersion": "v1",
|
"discoveryVersion": "v1",
|
||||||
"id": "adsensehost:v4.1",
|
"id": "adsensehost:v4.1",
|
||||||
"name": "adsensehost",
|
"name": "adsensehost",
|
||||||
"canonicalName": "AdSense Host",
|
"canonicalName": "AdSense Host",
|
||||||
"version": "v4.1",
|
"version": "v4.1",
|
||||||
"revision": "20160907",
|
"revision": "20161206",
|
||||||
"title": "AdSense Host API",
|
"title": "AdSense Host API",
|
||||||
"description": "Generates performance reports, generates ad codes, and provides publisher management capabilities for AdSense Hosts.",
|
"description": "Generates performance reports, generates ad codes, and provides publisher management capabilities for AdSense Hosts.",
|
||||||
"ownerDomain": "google.com",
|
"ownerDomain": "google.com",
|
||||||
@@ -227,7 +227,7 @@
|
|||||||
},
|
},
|
||||||
"corners": {
|
"corners": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "The style of the corners in the ad. Possible values are SQUARE, SLIGHTLY_ROUNDED and VERY_ROUNDED."
|
"description": "The style of the corners in the ad (deprecated: never populated, ignored)."
|
||||||
},
|
},
|
||||||
"font": {
|
"font": {
|
||||||
"type": "object",
|
"type": "object",
|
||||||
|
|||||||
@@ -1,11 +1,11 @@
|
|||||||
{
|
{
|
||||||
"kind": "discovery#restDescription",
|
"kind": "discovery#restDescription",
|
||||||
"etag": "\"C5oy1hgQsABtYOYIOXWcR3BgYqU/nDekPAYRSzRXXRFOQaI0Em-G4Rc\"",
|
"etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/cmdroRcoxpGmDDzSn3LW27FM6Ag\"",
|
||||||
"discoveryVersion": "v1",
|
"discoveryVersion": "v1",
|
||||||
"id": "analytics:v2.4",
|
"id": "analytics:v2.4",
|
||||||
"name": "analytics",
|
"name": "analytics",
|
||||||
"version": "v2.4",
|
"version": "v2.4",
|
||||||
"revision": "20160805",
|
"revision": "20161004",
|
||||||
"title": "Google Analytics API",
|
"title": "Google Analytics API",
|
||||||
"description": "Views and manages your Google Analytics data.",
|
"description": "Views and manages your Google Analytics data.",
|
||||||
"ownerDomain": "google.com",
|
"ownerDomain": "google.com",
|
||||||
|
|||||||
@@ -1,11 +1,11 @@
|
|||||||
{
|
{
|
||||||
"kind": "discovery#restDescription",
|
"kind": "discovery#restDescription",
|
||||||
"etag": "\"C5oy1hgQsABtYOYIOXWcR3BgYqU/RVrwVyPQJLlTFI7LM0WsqSWaDpE\"",
|
"etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/CEwIV9fdNgUw9Oy31M8HLJeTPyQ\"",
|
||||||
"discoveryVersion": "v1",
|
"discoveryVersion": "v1",
|
||||||
"id": "analytics:v3",
|
"id": "analytics:v3",
|
||||||
"name": "analytics",
|
"name": "analytics",
|
||||||
"version": "v3",
|
"version": "v3",
|
||||||
"revision": "20160805",
|
"revision": "20161004",
|
||||||
"title": "Google Analytics API",
|
"title": "Google Analytics API",
|
||||||
"description": "Views and manages your Google Analytics data.",
|
"description": "Views and manages your Google Analytics data.",
|
||||||
"ownerDomain": "google.com",
|
"ownerDomain": "google.com",
|
||||||
@@ -1610,6 +1610,11 @@
|
|||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
"description": "Determines if Analytics data contains samples."
|
"description": "Determines if Analytics data contains samples."
|
||||||
},
|
},
|
||||||
|
"dataLastRefreshed": {
|
||||||
|
"type": "string",
|
||||||
|
"description": "The last refreshed time in seconds for Analytics data.",
|
||||||
|
"format": "int64"
|
||||||
|
},
|
||||||
"dataTable": {
|
"dataTable": {
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
@@ -2059,7 +2064,7 @@
|
|||||||
},
|
},
|
||||||
"membershipDurationDays": {
|
"membershipDurationDays": {
|
||||||
"type": "integer",
|
"type": "integer",
|
||||||
"description": "Number of days a user remains in the audience. Use any integer from 1-540. In remarketing audiences for search ads, membership duration is truncated to 180 days.",
|
"description": "Number of days (in the range 1 to 540) a user remains in the audience.",
|
||||||
"format": "int32"
|
"format": "int32"
|
||||||
},
|
},
|
||||||
"segment": {
|
"segment": {
|
||||||
@@ -2357,7 +2362,7 @@
|
|||||||
},
|
},
|
||||||
"currency": {
|
"currency": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "The currency type associated with this view (profile), defaults to USD. The supported values are:\nARS, AUD, BGN, BRL, CAD, CHF, CNY, CZK, DKK, EUR, GBP, HKD, HUF, IDR, INR, JPY, KRW, LTL, MXN, NOK, NZD, PHP, PLN, RUB, SEK, THB, TRY, TWD, USD, VND, ZAR"
|
"description": "The currency type associated with this view (profile), defaults to USD. The supported values are:\nUSD, JPY, EUR, GBP, AUD, KRW, BRL, CNY, DKK, RUB, SEK, NOK, PLN, TRY, TWD, HKD, THB, IDR, ARS, MXN, VND, PHP, INR, CHF, CAD, CZK, NZD, HUF, BGN, LTL, ZAR, UAH, AED, BOB, CLP, COP, EGP, HRK, ILS, MAD, MYR, PEN, PKR, RON, RSD, SAR, SGD, VEF, LVL"
|
||||||
},
|
},
|
||||||
"defaultPage": {
|
"defaultPage": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
@@ -5943,23 +5948,23 @@
|
|||||||
"id": "analytics.management.remarketingAudience.get",
|
"id": "analytics.management.remarketingAudience.get",
|
||||||
"path": "management/accounts/{accountId}/webproperties/{webPropertyId}/remarketingAudiences/{remarketingAudienceId}",
|
"path": "management/accounts/{accountId}/webproperties/{webPropertyId}/remarketingAudiences/{remarketingAudienceId}",
|
||||||
"httpMethod": "GET",
|
"httpMethod": "GET",
|
||||||
"description": "Gets remarketing audiences to which the user has access.",
|
"description": "Gets a remarketing audience to which the user has access.",
|
||||||
"parameters": {
|
"parameters": {
|
||||||
"accountId": {
|
"accountId": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "Account ID for the remarketing audience to retrieve.",
|
"description": "The account ID of the remarketing audience to retrieve.",
|
||||||
"required": true,
|
"required": true,
|
||||||
"location": "path"
|
"location": "path"
|
||||||
},
|
},
|
||||||
"remarketingAudienceId": {
|
"remarketingAudienceId": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "The ID to retrieve the Remarketing Audience for.",
|
"description": "The ID of the remarketing audience to retrieve.",
|
||||||
"required": true,
|
"required": true,
|
||||||
"location": "path"
|
"location": "path"
|
||||||
},
|
},
|
||||||
"webPropertyId": {
|
"webPropertyId": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "Web property ID for the remarketing audience to retrieve.",
|
"description": "The web property ID of the remarketing audience to retrieve.",
|
||||||
"required": true,
|
"required": true,
|
||||||
"location": "path"
|
"location": "path"
|
||||||
}
|
}
|
||||||
@@ -5981,17 +5986,17 @@
|
|||||||
"id": "analytics.management.remarketingAudience.insert",
|
"id": "analytics.management.remarketingAudience.insert",
|
||||||
"path": "management/accounts/{accountId}/webproperties/{webPropertyId}/remarketingAudiences",
|
"path": "management/accounts/{accountId}/webproperties/{webPropertyId}/remarketingAudiences",
|
||||||
"httpMethod": "POST",
|
"httpMethod": "POST",
|
||||||
"description": "Creates a new remarketing audiences.",
|
"description": "Creates a new remarketing audience.",
|
||||||
"parameters": {
|
"parameters": {
|
||||||
"accountId": {
|
"accountId": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "Account ID to create the remarketing audience for.",
|
"description": "The account ID for which to create the remarketing audience.",
|
||||||
"required": true,
|
"required": true,
|
||||||
"location": "path"
|
"location": "path"
|
||||||
},
|
},
|
||||||
"webPropertyId": {
|
"webPropertyId": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "Web property ID to create the remarketing audience for.",
|
"description": "Web property ID for which to create the remarketing audience.",
|
||||||
"required": true,
|
"required": true,
|
||||||
"location": "path"
|
"location": "path"
|
||||||
}
|
}
|
||||||
@@ -6018,7 +6023,7 @@
|
|||||||
"parameters": {
|
"parameters": {
|
||||||
"accountId": {
|
"accountId": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "Account ID for the remarketing audience to retrieve.",
|
"description": "The account ID of the remarketing audiences to retrieve.",
|
||||||
"required": true,
|
"required": true,
|
||||||
"location": "path"
|
"location": "path"
|
||||||
},
|
},
|
||||||
@@ -6042,7 +6047,7 @@
|
|||||||
},
|
},
|
||||||
"webPropertyId": {
|
"webPropertyId": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "Web property ID for the remarketing audience to retrieve.",
|
"description": "The web property ID of the remarketing audiences to retrieve.",
|
||||||
"required": true,
|
"required": true,
|
||||||
"location": "path"
|
"location": "path"
|
||||||
}
|
}
|
||||||
@@ -6063,23 +6068,23 @@
|
|||||||
"id": "analytics.management.remarketingAudience.patch",
|
"id": "analytics.management.remarketingAudience.patch",
|
||||||
"path": "management/accounts/{accountId}/webproperties/{webPropertyId}/remarketingAudiences/{remarketingAudienceId}",
|
"path": "management/accounts/{accountId}/webproperties/{webPropertyId}/remarketingAudiences/{remarketingAudienceId}",
|
||||||
"httpMethod": "PATCH",
|
"httpMethod": "PATCH",
|
||||||
"description": "Updates an existing remarketing audiences. This method supports patch semantics.",
|
"description": "Updates an existing remarketing audience. This method supports patch semantics.",
|
||||||
"parameters": {
|
"parameters": {
|
||||||
"accountId": {
|
"accountId": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "Account ID for the remarketing audience to update.",
|
"description": "The account ID of the remarketing audience to update.",
|
||||||
"required": true,
|
"required": true,
|
||||||
"location": "path"
|
"location": "path"
|
||||||
},
|
},
|
||||||
"remarketingAudienceId": {
|
"remarketingAudienceId": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "Remarketing audience ID of the remarketing audience to update.",
|
"description": "The ID of the remarketing audience to update.",
|
||||||
"required": true,
|
"required": true,
|
||||||
"location": "path"
|
"location": "path"
|
||||||
},
|
},
|
||||||
"webPropertyId": {
|
"webPropertyId": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "Web property ID for the remarketing audience to update.",
|
"description": "The web property ID of the remarketing audience to update.",
|
||||||
"required": true,
|
"required": true,
|
||||||
"location": "path"
|
"location": "path"
|
||||||
}
|
}
|
||||||
@@ -6103,23 +6108,23 @@
|
|||||||
"id": "analytics.management.remarketingAudience.update",
|
"id": "analytics.management.remarketingAudience.update",
|
||||||
"path": "management/accounts/{accountId}/webproperties/{webPropertyId}/remarketingAudiences/{remarketingAudienceId}",
|
"path": "management/accounts/{accountId}/webproperties/{webPropertyId}/remarketingAudiences/{remarketingAudienceId}",
|
||||||
"httpMethod": "PUT",
|
"httpMethod": "PUT",
|
||||||
"description": "Updates an existing remarketing audiences.",
|
"description": "Updates an existing remarketing audience.",
|
||||||
"parameters": {
|
"parameters": {
|
||||||
"accountId": {
|
"accountId": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "Account ID for the remarketing audience to update.",
|
"description": "The account ID of the remarketing audience to update.",
|
||||||
"required": true,
|
"required": true,
|
||||||
"location": "path"
|
"location": "path"
|
||||||
},
|
},
|
||||||
"remarketingAudienceId": {
|
"remarketingAudienceId": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "Remarketing audience ID of the remarketing audience to update.",
|
"description": "The ID of the remarketing audience to update.",
|
||||||
"required": true,
|
"required": true,
|
||||||
"location": "path"
|
"location": "path"
|
||||||
},
|
},
|
||||||
"webPropertyId": {
|
"webPropertyId": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "Web property ID for the remarketing audience to update.",
|
"description": "The web property ID of the remarketing audience to update.",
|
||||||
"required": true,
|
"required": true,
|
||||||
"location": "path"
|
"location": "path"
|
||||||
}
|
}
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
@@ -1,12 +1,12 @@
|
|||||||
{
|
{
|
||||||
"kind": "discovery#restDescription",
|
"kind": "discovery#restDescription",
|
||||||
"etag": "\"C5oy1hgQsABtYOYIOXWcR3BgYqU/ebT1VU-volvkxDEmtUji3_N4Omw\"",
|
"etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/C94wtsy8mrHkcQY94KxE1tVMlOU\"",
|
||||||
"discoveryVersion": "v1",
|
"discoveryVersion": "v1",
|
||||||
"id": "androidenterprise:v1",
|
"id": "androidenterprise:v1",
|
||||||
"name": "androidenterprise",
|
"name": "androidenterprise",
|
||||||
"canonicalName": "Android Enterprise",
|
"canonicalName": "Android Enterprise",
|
||||||
"version": "v1",
|
"version": "v1",
|
||||||
"revision": "20160831",
|
"revision": "20161207",
|
||||||
"title": "Google Play EMM API",
|
"title": "Google Play EMM API",
|
||||||
"description": "Manages the deployment of apps to Android for Work users.",
|
"description": "Manages the deployment of apps to Android for Work users.",
|
||||||
"ownerDomain": "google.com",
|
"ownerDomain": "google.com",
|
||||||
@@ -88,6 +88,45 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"AdministratorWebToken": {
|
||||||
|
"id": "AdministratorWebToken",
|
||||||
|
"type": "object",
|
||||||
|
"description": "A token authorizing an administrator to access an iframe.",
|
||||||
|
"properties": {
|
||||||
|
"kind": {
|
||||||
|
"type": "string",
|
||||||
|
"description": "Identifies what kind of resource this is. Value: the fixed string \"androidenterprise#administratorWebToken\".",
|
||||||
|
"default": "androidenterprise#administratorWebToken"
|
||||||
|
},
|
||||||
|
"token": {
|
||||||
|
"type": "string",
|
||||||
|
"description": "An opaque token to be passed to the Play front-end to generate an iframe."
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"AdministratorWebTokenSpec": {
|
||||||
|
"id": "AdministratorWebTokenSpec",
|
||||||
|
"type": "object",
|
||||||
|
"description": "Specification for a token used to generate iframes. The token specifies what data the admin is allowed to modify and the URI the iframe is allowed to communiate with.",
|
||||||
|
"properties": {
|
||||||
|
"kind": {
|
||||||
|
"type": "string",
|
||||||
|
"description": "Identifies what kind of resource this is. Value: the fixed string \"androidenterprise#administratorWebTokenSpec\".",
|
||||||
|
"default": "androidenterprise#administratorWebTokenSpec"
|
||||||
|
},
|
||||||
|
"parent": {
|
||||||
|
"type": "string",
|
||||||
|
"description": "The URI of the parent frame hosting the iframe. To prevent XSS, the iframe may not be hosted at other URIs. This URI must be https."
|
||||||
|
},
|
||||||
|
"permission": {
|
||||||
|
"type": "array",
|
||||||
|
"description": "The list of permissions the admin is granted within the iframe. The admin will only be allowed to view an iframe if they have all of the permissions associated with it. The only valid value is \"approveApps\" that will allow the admin to access the iframe in \"approve\" mode.",
|
||||||
|
"items": {
|
||||||
|
"type": "string"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
"AppRestrictionsSchema": {
|
"AppRestrictionsSchema": {
|
||||||
"id": "AppRestrictionsSchema",
|
"id": "AppRestrictionsSchema",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
@@ -125,7 +164,7 @@
|
|||||||
"properties": {
|
"properties": {
|
||||||
"defaultValue": {
|
"defaultValue": {
|
||||||
"$ref": "AppRestrictionsSchemaRestrictionRestrictionValue",
|
"$ref": "AppRestrictionsSchemaRestrictionRestrictionValue",
|
||||||
"description": "The default value of the restriction."
|
"description": "The default value of the restriction. bundle and bundleArray restrictions never have a default value."
|
||||||
},
|
},
|
||||||
"description": {
|
"description": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
@@ -140,7 +179,7 @@
|
|||||||
},
|
},
|
||||||
"entryValue": {
|
"entryValue": {
|
||||||
"type": "array",
|
"type": "array",
|
||||||
"description": "For choice or multiselect restrictions, the list of possible entries' machine-readable values.",
|
"description": "For choice or multiselect restrictions, the list of possible entries' machine-readable values. These values should be used in the configuration, either as a single string value for a choice restriction or in a stringArray for a multiselect restriction.",
|
||||||
"items": {
|
"items": {
|
||||||
"type": "string"
|
"type": "string"
|
||||||
}
|
}
|
||||||
@@ -151,7 +190,7 @@
|
|||||||
},
|
},
|
||||||
"nestedRestriction": {
|
"nestedRestriction": {
|
||||||
"type": "array",
|
"type": "array",
|
||||||
"description": "For bundle or bundleArray restrictions, the list of nested restrictions.",
|
"description": "For bundle or bundleArray restrictions, the list of nested restrictions. A bundle restriction is always nested within a bundleArray restriction, and a bundleArray restriction is at most two levels deep.",
|
||||||
"items": {
|
"items": {
|
||||||
"$ref": "AppRestrictionsSchemaRestriction"
|
"$ref": "AppRestrictionsSchemaRestriction"
|
||||||
}
|
}
|
||||||
@@ -353,7 +392,7 @@
|
|||||||
},
|
},
|
||||||
"managementType": {
|
"managementType": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "Identifies the extent to which the device is controlled by an Android for Work EMM in various deployment configurations.\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 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."
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -1069,6 +1108,10 @@
|
|||||||
"items": {
|
"items": {
|
||||||
"type": "string"
|
"type": "string"
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"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."
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -1157,6 +1200,10 @@
|
|||||||
"description": "Identifies what kind of resource this is. Value: the fixed string \"androidenterprise#serviceAccountKey\".",
|
"description": "Identifies what kind of resource this is. Value: the fixed string \"androidenterprise#serviceAccountKey\".",
|
||||||
"default": "androidenterprise#serviceAccountKey"
|
"default": "androidenterprise#serviceAccountKey"
|
||||||
},
|
},
|
||||||
|
"publicData": {
|
||||||
|
"type": "string",
|
||||||
|
"description": "Public key data for the credentials file. This is an X.509 cert. If you are using the googleCredentials key type, this is identical to the cert that can be retrieved by using the X.509 cert url inside of the credentials file."
|
||||||
|
},
|
||||||
"type": {
|
"type": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "The file format of the generated key data.",
|
"description": "The file format of the generated key data.",
|
||||||
@@ -1248,6 +1295,10 @@
|
|||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "Identifies what kind of resource this is. Value: the fixed string \"androidenterprise#storeLayout\".",
|
"description": "Identifies what kind of resource this is. Value: the fixed string \"androidenterprise#storeLayout\".",
|
||||||
"default": "androidenterprise#storeLayout"
|
"default": "androidenterprise#storeLayout"
|
||||||
|
},
|
||||||
|
"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."
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -1969,6 +2020,32 @@
|
|||||||
"https://www.googleapis.com/auth/androidenterprise"
|
"https://www.googleapis.com/auth/androidenterprise"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
"createWebToken": {
|
||||||
|
"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.",
|
||||||
|
"parameters": {
|
||||||
|
"enterpriseId": {
|
||||||
|
"type": "string",
|
||||||
|
"description": "The ID of the enterprise.",
|
||||||
|
"required": true,
|
||||||
|
"location": "path"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"parameterOrder": [
|
||||||
|
"enterpriseId"
|
||||||
|
],
|
||||||
|
"request": {
|
||||||
|
"$ref": "AdministratorWebTokenSpec"
|
||||||
|
},
|
||||||
|
"response": {
|
||||||
|
"$ref": "AdministratorWebToken"
|
||||||
|
},
|
||||||
|
"scopes": [
|
||||||
|
"https://www.googleapis.com/auth/androidenterprise"
|
||||||
|
]
|
||||||
|
},
|
||||||
"delete": {
|
"delete": {
|
||||||
"id": "androidenterprise.enterprises.delete",
|
"id": "androidenterprise.enterprises.delete",
|
||||||
"path": "enterprises/{enterpriseId}",
|
"path": "enterprises/{enterpriseId}",
|
||||||
@@ -2169,11 +2246,11 @@
|
|||||||
"id": "androidenterprise.enterprises.pullNotificationSet",
|
"id": "androidenterprise.enterprises.pullNotificationSet",
|
||||||
"path": "enterprises/pullNotificationSet",
|
"path": "enterprises/pullNotificationSet",
|
||||||
"httpMethod": "POST",
|
"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.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.",
|
"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.",
|
||||||
"parameters": {
|
"parameters": {
|
||||||
"requestMode": {
|
"requestMode": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "The request mode for pulling notifications. If omitted, defaults to WAIT_FOR_NOTIFCATIONS.\nIf this is set to WAIT_FOR_NOTIFCATIONS, the request will eventually timeout, in which case it should be retried.",
|
"description": "The request mode for pulling notifications.\nSpecifying waitForNotifications will cause the request to block and wait until one or more notifications are present, or return an empty notification list if no notifications are present after some time.\nSpeciying returnImmediately will cause the request to immediately return the pending notifications, or an empty list if no notifications are present.\nIf omitted, defaults to waitForNotifications.",
|
||||||
"enum": [
|
"enum": [
|
||||||
"returnImmediately",
|
"returnImmediately",
|
||||||
"waitForNotifications"
|
"waitForNotifications"
|
||||||
@@ -2245,7 +2322,7 @@
|
|||||||
"id": "androidenterprise.enterprises.setStoreLayout",
|
"id": "androidenterprise.enterprises.setStoreLayout",
|
||||||
"path": "enterprises/{enterpriseId}/storeLayout",
|
"path": "enterprises/{enterpriseId}/storeLayout",
|
||||||
"httpMethod": "PUT",
|
"httpMethod": "PUT",
|
||||||
"description": "Sets the store layout for the enterprise.",
|
"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.",
|
||||||
"parameters": {
|
"parameters": {
|
||||||
"enterpriseId": {
|
"enterpriseId": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
@@ -4137,7 +4214,7 @@
|
|||||||
"id": "androidenterprise.users.insert",
|
"id": "androidenterprise.users.insert",
|
||||||
"path": "enterprises/{enterpriseId}/users",
|
"path": "enterprises/{enterpriseId}/users",
|
||||||
"httpMethod": "POST",
|
"httpMethod": "POST",
|
||||||
"description": "Creates a new EMM-managed user.\n\nThe Users resource passed in the body of the request should include an accountIdentifier and an accountType.",
|
"description": "Creates a new EMM-managed user.\n\nThe Users resource passed in the body of the request should include an accountIdentifier and an accountType.\nIf a corresponding user already exists with the same account identifier, the user will be updated with the resource. In this case only the displayName field can be changed.",
|
||||||
"parameters": {
|
"parameters": {
|
||||||
"enterpriseId": {
|
"enterpriseId": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
|
|||||||
@@ -1,12 +1,12 @@
|
|||||||
{
|
{
|
||||||
"kind": "discovery#restDescription",
|
"kind": "discovery#restDescription",
|
||||||
"etag": "\"C5oy1hgQsABtYOYIOXWcR3BgYqU/fQeWIwZEL9ttN_Qbngm4RE2J7to\"",
|
"etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/uePHydzmUhZLWLtyPJ_GHjROU1A\"",
|
||||||
"discoveryVersion": "v1",
|
"discoveryVersion": "v1",
|
||||||
"id": "androidpublisher:v1.1",
|
"id": "androidpublisher:v1.1",
|
||||||
"name": "androidpublisher",
|
"name": "androidpublisher",
|
||||||
"canonicalName": "Android Publisher",
|
"canonicalName": "Android Publisher",
|
||||||
"version": "v1.1",
|
"version": "v1.1",
|
||||||
"revision": "20160817",
|
"revision": "20161212",
|
||||||
"title": "Google Play Developer API",
|
"title": "Google Play Developer API",
|
||||||
"description": "Lets Android application developers access their Google Play accounts.",
|
"description": "Lets Android application developers access their Google Play accounts.",
|
||||||
"ownerDomain": "google.com",
|
"ownerDomain": "google.com",
|
||||||
|
|||||||
@@ -1,12 +1,12 @@
|
|||||||
{
|
{
|
||||||
"kind": "discovery#restDescription",
|
"kind": "discovery#restDescription",
|
||||||
"etag": "\"C5oy1hgQsABtYOYIOXWcR3BgYqU/fNzp1BQHKDVJN-Ih8qfrclbLbv0\"",
|
"etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/u6dk5tV6sEWmibYvR51NT009Z2c\"",
|
||||||
"discoveryVersion": "v1",
|
"discoveryVersion": "v1",
|
||||||
"id": "androidpublisher:v1",
|
"id": "androidpublisher:v1",
|
||||||
"name": "androidpublisher",
|
"name": "androidpublisher",
|
||||||
"canonicalName": "Android Publisher",
|
"canonicalName": "Android Publisher",
|
||||||
"version": "v1",
|
"version": "v1",
|
||||||
"revision": "20160817",
|
"revision": "20161212",
|
||||||
"title": "Google Play Developer API",
|
"title": "Google Play Developer API",
|
||||||
"description": "Lets Android application developers access their Google Play accounts.",
|
"description": "Lets Android application developers access their Google Play accounts.",
|
||||||
"ownerDomain": "google.com",
|
"ownerDomain": "google.com",
|
||||||
|
|||||||
@@ -1,12 +1,12 @@
|
|||||||
{
|
{
|
||||||
"kind": "discovery#restDescription",
|
"kind": "discovery#restDescription",
|
||||||
"etag": "\"C5oy1hgQsABtYOYIOXWcR3BgYqU/UDk0LqlPPxkx5NU81sNZcbwgkD4\"",
|
"etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/PcoD2XCBeKQPYDG0dclnfJ5T-Ho\"",
|
||||||
"discoveryVersion": "v1",
|
"discoveryVersion": "v1",
|
||||||
"id": "androidpublisher:v2",
|
"id": "androidpublisher:v2",
|
||||||
"name": "androidpublisher",
|
"name": "androidpublisher",
|
||||||
"canonicalName": "Android Publisher",
|
"canonicalName": "Android Publisher",
|
||||||
"version": "v2",
|
"version": "v2",
|
||||||
"revision": "20160817",
|
"revision": "20161212",
|
||||||
"title": "Google Play Developer API",
|
"title": "Google Play Developer API",
|
||||||
"description": "Lets Android application developers access their Google Play accounts.",
|
"description": "Lets Android application developers access their Google Play accounts.",
|
||||||
"ownerDomain": "google.com",
|
"ownerDomain": "google.com",
|
||||||
@@ -222,6 +222,26 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"DeobfuscationFile": {
|
||||||
|
"id": "DeobfuscationFile",
|
||||||
|
"type": "object",
|
||||||
|
"description": "Represents a deobfuscation file.",
|
||||||
|
"properties": {
|
||||||
|
"symbolType": {
|
||||||
|
"type": "string",
|
||||||
|
"description": "The type of the deobfuscation file."
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"DeobfuscationFilesUploadResponse": {
|
||||||
|
"id": "DeobfuscationFilesUploadResponse",
|
||||||
|
"type": "object",
|
||||||
|
"properties": {
|
||||||
|
"deobfuscationFile": {
|
||||||
|
"$ref": "DeobfuscationFile"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
"DeveloperComment": {
|
"DeveloperComment": {
|
||||||
"id": "DeveloperComment",
|
"id": "DeveloperComment",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
@@ -236,6 +256,61 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"DeviceMetadata": {
|
||||||
|
"id": "DeviceMetadata",
|
||||||
|
"type": "object",
|
||||||
|
"properties": {
|
||||||
|
"cpuMake": {
|
||||||
|
"type": "string",
|
||||||
|
"description": "Device CPU make e.g. \"Qualcomm\""
|
||||||
|
},
|
||||||
|
"cpuModel": {
|
||||||
|
"type": "string",
|
||||||
|
"description": "Device CPU model e.g. \"MSM8974\""
|
||||||
|
},
|
||||||
|
"deviceClass": {
|
||||||
|
"type": "string",
|
||||||
|
"description": "Device class (e.g. tablet)"
|
||||||
|
},
|
||||||
|
"glEsVersion": {
|
||||||
|
"type": "integer",
|
||||||
|
"description": "OpenGL version",
|
||||||
|
"format": "int32"
|
||||||
|
},
|
||||||
|
"manufacturer": {
|
||||||
|
"type": "string",
|
||||||
|
"description": "Device manufacturer (e.g. Motorola)"
|
||||||
|
},
|
||||||
|
"nativePlatform": {
|
||||||
|
"type": "string",
|
||||||
|
"description": "Comma separated list of native platforms (e.g. \"arm\", \"arm7\")"
|
||||||
|
},
|
||||||
|
"productName": {
|
||||||
|
"type": "string",
|
||||||
|
"description": "Device model name (e.g. Droid)"
|
||||||
|
},
|
||||||
|
"ramMb": {
|
||||||
|
"type": "integer",
|
||||||
|
"description": "Device RAM in Megabytes e.g. \"2048\"",
|
||||||
|
"format": "int32"
|
||||||
|
},
|
||||||
|
"screenDensityDpi": {
|
||||||
|
"type": "integer",
|
||||||
|
"description": "Screen density in DPI",
|
||||||
|
"format": "int32"
|
||||||
|
},
|
||||||
|
"screenHeightPx": {
|
||||||
|
"type": "integer",
|
||||||
|
"description": "Screen height in pixels",
|
||||||
|
"format": "int32"
|
||||||
|
},
|
||||||
|
"screenWidthPx": {
|
||||||
|
"type": "integer",
|
||||||
|
"description": "Screen width in pixels",
|
||||||
|
"format": "int32"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
"Entitlement": {
|
"Entitlement": {
|
||||||
"id": "Entitlement",
|
"id": "Entitlement",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
@@ -1068,10 +1143,18 @@
|
|||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "Codename for the reviewer's device, e.g. klte, flounder. May be absent."
|
"description": "Codename for the reviewer's device, e.g. klte, flounder. May be absent."
|
||||||
},
|
},
|
||||||
|
"deviceMetadata": {
|
||||||
|
"$ref": "DeviceMetadata",
|
||||||
|
"description": "Some information about the characteristics of the user's device"
|
||||||
|
},
|
||||||
"lastModified": {
|
"lastModified": {
|
||||||
"$ref": "Timestamp",
|
"$ref": "Timestamp",
|
||||||
"description": "The last time at which this comment was updated."
|
"description": "The last time at which this comment was updated."
|
||||||
},
|
},
|
||||||
|
"originalText": {
|
||||||
|
"type": "string",
|
||||||
|
"description": "Untranslated text of the review, in the case where the review has been translated. If the review has not been translated this is left blank."
|
||||||
|
},
|
||||||
"reviewerLanguage": {
|
"reviewerLanguage": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "Language code for the reviewer. This is taken from the device settings so is not guaranteed to match the language the review is written in. May be absent."
|
"description": "Language code for the reviewer. This is taken from the device settings so is not guaranteed to match the language the review is written in. May be absent."
|
||||||
@@ -1084,6 +1167,60 @@
|
|||||||
"text": {
|
"text": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "The content of the comment, i.e. review body. In some cases users have been able to write a review with separate title and body; in those cases the title and body are concatenated and separated by a tab character."
|
"description": "The content of the comment, i.e. review body. In some cases users have been able to write a review with separate title and body; in those cases the title and body are concatenated and separated by a tab character."
|
||||||
|
},
|
||||||
|
"thumbsDownCount": {
|
||||||
|
"type": "integer",
|
||||||
|
"description": "Number of users who have given this review a thumbs down",
|
||||||
|
"format": "int32"
|
||||||
|
},
|
||||||
|
"thumbsUpCount": {
|
||||||
|
"type": "integer",
|
||||||
|
"description": "Number of users who have given this review a thumbs up",
|
||||||
|
"format": "int32"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"VoidedPurchase": {
|
||||||
|
"id": "VoidedPurchase",
|
||||||
|
"type": "object",
|
||||||
|
"description": "A VoidedPurchase resource indicates the purchase was either cancelled/refunded/charged-back.",
|
||||||
|
"properties": {
|
||||||
|
"kind": {
|
||||||
|
"type": "string",
|
||||||
|
"description": "This kind represents a voided purchase object in the androidpublisher service.",
|
||||||
|
"default": "androidpublisher#voidedPurchase"
|
||||||
|
},
|
||||||
|
"purchaseTimeMillis": {
|
||||||
|
"type": "string",
|
||||||
|
"description": "The time 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."
|
||||||
|
},
|
||||||
|
"voidedTimeMillis": {
|
||||||
|
"type": "string",
|
||||||
|
"description": "The time when the purchase was cancelled/refunded/chargeback, in milliseconds since the epoch (Jan 1, 1970).",
|
||||||
|
"format": "int64"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"VoidedPurchasesListResponse": {
|
||||||
|
"id": "VoidedPurchasesListResponse",
|
||||||
|
"type": "object",
|
||||||
|
"properties": {
|
||||||
|
"pageInfo": {
|
||||||
|
"$ref": "PageInfo"
|
||||||
|
},
|
||||||
|
"tokenPagination": {
|
||||||
|
"$ref": "TokenPagination"
|
||||||
|
},
|
||||||
|
"voidedPurchases": {
|
||||||
|
"type": "array",
|
||||||
|
"items": {
|
||||||
|
"$ref": "VoidedPurchase"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -1609,6 +1746,77 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"deobfuscationfiles": {
|
||||||
|
"methods": {
|
||||||
|
"upload": {
|
||||||
|
"id": "androidpublisher.edits.deobfuscationfiles.upload",
|
||||||
|
"path": "{packageName}/edits/{editId}/apks/{apkVersionCode}/deobfuscationFiles/{deobfuscationFileType}",
|
||||||
|
"httpMethod": "POST",
|
||||||
|
"description": "Uploads the deobfuscation file of the specified APK. If a deobfuscation file already exists, it will be replaced.",
|
||||||
|
"parameters": {
|
||||||
|
"apkVersionCode": {
|
||||||
|
"type": "integer",
|
||||||
|
"description": "The version code of the APK whose deobfuscation file is being uploaded.",
|
||||||
|
"required": true,
|
||||||
|
"format": "int32",
|
||||||
|
"location": "path"
|
||||||
|
},
|
||||||
|
"deobfuscationFileType": {
|
||||||
|
"type": "string",
|
||||||
|
"required": true,
|
||||||
|
"enum": [
|
||||||
|
"proguard"
|
||||||
|
],
|
||||||
|
"enumDescriptions": [
|
||||||
|
""
|
||||||
|
],
|
||||||
|
"location": "path"
|
||||||
|
},
|
||||||
|
"editId": {
|
||||||
|
"type": "string",
|
||||||
|
"description": "Unique identifier for this edit.",
|
||||||
|
"required": true,
|
||||||
|
"location": "path"
|
||||||
|
},
|
||||||
|
"packageName": {
|
||||||
|
"type": "string",
|
||||||
|
"description": "Unique identifier of the Android app for which the deobfuscatiuon files are being uploaded; for example, \"com.spiffygame\".",
|
||||||
|
"required": true,
|
||||||
|
"location": "path"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"parameterOrder": [
|
||||||
|
"packageName",
|
||||||
|
"editId",
|
||||||
|
"apkVersionCode",
|
||||||
|
"deobfuscationFileType"
|
||||||
|
],
|
||||||
|
"response": {
|
||||||
|
"$ref": "DeobfuscationFilesUploadResponse"
|
||||||
|
},
|
||||||
|
"scopes": [
|
||||||
|
"https://www.googleapis.com/auth/androidpublisher"
|
||||||
|
],
|
||||||
|
"supportsMediaUpload": true,
|
||||||
|
"mediaUpload": {
|
||||||
|
"accept": [
|
||||||
|
"application/octet-stream"
|
||||||
|
],
|
||||||
|
"maxSize": "300MB",
|
||||||
|
"protocols": {
|
||||||
|
"simple": {
|
||||||
|
"multipart": true,
|
||||||
|
"path": "/upload/androidpublisher/v2/applications/{packageName}/edits/{editId}/apks/{apkVersionCode}/deobfuscationFiles/{deobfuscationFileType}"
|
||||||
|
},
|
||||||
|
"resumable": {
|
||||||
|
"multipart": true,
|
||||||
|
"path": "/resumable/upload/androidpublisher/v2/applications/{packageName}/edits/{editId}/apks/{apkVersionCode}/deobfuscationFiles/{deobfuscationFileType}"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
"details": {
|
"details": {
|
||||||
"methods": {
|
"methods": {
|
||||||
"get": {
|
"get": {
|
||||||
@@ -3267,6 +3475,59 @@
|
|||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"voidedpurchases": {
|
||||||
|
"methods": {
|
||||||
|
"list": {
|
||||||
|
"id": "androidpublisher.purchases.voidedpurchases.list",
|
||||||
|
"path": "{packageName}/purchases/voidedpurchases",
|
||||||
|
"httpMethod": "GET",
|
||||||
|
"description": "Lists the purchases that were cancelled, refunded or charged-back.",
|
||||||
|
"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.",
|
||||||
|
"format": "int64",
|
||||||
|
"location": "query"
|
||||||
|
},
|
||||||
|
"maxResults": {
|
||||||
|
"type": "integer",
|
||||||
|
"format": "uint32",
|
||||||
|
"location": "query"
|
||||||
|
},
|
||||||
|
"packageName": {
|
||||||
|
"type": "string",
|
||||||
|
"description": "The package name of the application for which voided purchases need to be returned (for example, 'com.some.thing').",
|
||||||
|
"required": true,
|
||||||
|
"location": "path"
|
||||||
|
},
|
||||||
|
"startIndex": {
|
||||||
|
"type": "integer",
|
||||||
|
"format": "uint32",
|
||||||
|
"location": "query"
|
||||||
|
},
|
||||||
|
"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.",
|
||||||
|
"format": "int64",
|
||||||
|
"location": "query"
|
||||||
|
},
|
||||||
|
"token": {
|
||||||
|
"type": "string",
|
||||||
|
"location": "query"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"parameterOrder": [
|
||||||
|
"packageName"
|
||||||
|
],
|
||||||
|
"response": {
|
||||||
|
"$ref": "VoidedPurchasesListResponse"
|
||||||
|
},
|
||||||
|
"scopes": [
|
||||||
|
"https://www.googleapis.com/auth/androidpublisher"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -3288,6 +3549,10 @@
|
|||||||
"type": "string",
|
"type": "string",
|
||||||
"required": true,
|
"required": true,
|
||||||
"location": "path"
|
"location": "path"
|
||||||
|
},
|
||||||
|
"translationLanguage": {
|
||||||
|
"type": "string",
|
||||||
|
"location": "query"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"parameterOrder": [
|
"parameterOrder": [
|
||||||
@@ -3326,6 +3591,10 @@
|
|||||||
"token": {
|
"token": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"location": "query"
|
"location": "query"
|
||||||
|
},
|
||||||
|
"translationLanguage": {
|
||||||
|
"type": "string",
|
||||||
|
"location": "query"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"parameterOrder": [
|
"parameterOrder": [
|
||||||
|
|||||||
@@ -103,6 +103,7 @@ api:
|
|||||||
- v2.4
|
- v2.4
|
||||||
- v2.5
|
- v2.5
|
||||||
- v2.6
|
- v2.6
|
||||||
|
- v2.7
|
||||||
discovery:
|
discovery:
|
||||||
- v1
|
- v1
|
||||||
dns:
|
dns:
|
||||||
@@ -114,6 +115,8 @@ api:
|
|||||||
drive:
|
drive:
|
||||||
- v2
|
- v2
|
||||||
- v3
|
- v3
|
||||||
|
firebasedynamiclinks:
|
||||||
|
- v1
|
||||||
firebaserules:
|
firebaserules:
|
||||||
- v1
|
- v1
|
||||||
fitness:
|
fitness:
|
||||||
@@ -146,17 +149,23 @@ api:
|
|||||||
kgsearch:
|
kgsearch:
|
||||||
- v1
|
- v1
|
||||||
language:
|
language:
|
||||||
|
- v1
|
||||||
- v1beta1
|
- v1beta1
|
||||||
licensing:
|
licensing:
|
||||||
- v1
|
- v1
|
||||||
logging:
|
logging:
|
||||||
|
- v2
|
||||||
- v2beta1
|
- v2beta1
|
||||||
manager:
|
manager:
|
||||||
- v1beta2
|
- v1beta2
|
||||||
|
manufacturers:
|
||||||
|
- v1
|
||||||
mapsengine:
|
mapsengine:
|
||||||
- v1
|
- v1
|
||||||
mirror:
|
mirror:
|
||||||
- v1
|
- v1
|
||||||
|
ml:
|
||||||
|
- v1beta1
|
||||||
monitoring:
|
monitoring:
|
||||||
- v3
|
- v3
|
||||||
oauth2:
|
oauth2:
|
||||||
@@ -191,6 +200,7 @@ api:
|
|||||||
resourceviews:
|
resourceviews:
|
||||||
- v1beta2
|
- v1beta2
|
||||||
runtimeconfig:
|
runtimeconfig:
|
||||||
|
- v1
|
||||||
- v1beta1
|
- v1beta1
|
||||||
safebrowsing:
|
safebrowsing:
|
||||||
- v4
|
- v4
|
||||||
@@ -206,6 +216,8 @@ api:
|
|||||||
- v4
|
- v4
|
||||||
siteverification:
|
siteverification:
|
||||||
- v1
|
- v1
|
||||||
|
slides:
|
||||||
|
- v1
|
||||||
spectrum:
|
spectrum:
|
||||||
- v1explorer
|
- v1explorer
|
||||||
speech:
|
speech:
|
||||||
@@ -216,6 +228,8 @@ api:
|
|||||||
- v1
|
- v1
|
||||||
storagetransfer:
|
storagetransfer:
|
||||||
- v1
|
- v1
|
||||||
|
surveys:
|
||||||
|
- v2
|
||||||
tagmanager:
|
tagmanager:
|
||||||
- v1
|
- v1
|
||||||
taskqueue:
|
taskqueue:
|
||||||
|
|||||||
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,18 +1,18 @@
|
|||||||
{
|
{
|
||||||
"kind": "discovery#restDescription",
|
"kind": "discovery#restDescription",
|
||||||
"etag": "\"C5oy1hgQsABtYOYIOXWcR3BgYqU/Yn-vD22SJyy2Enea8C6suJXByIU\"",
|
"etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/JeTIzxCSn99gVwop4eTRu5wI2HY\"",
|
||||||
"discoveryVersion": "v1",
|
"discoveryVersion": "v1",
|
||||||
"id": "appsactivity:v1",
|
"id": "appsactivity:v1",
|
||||||
"name": "appsactivity",
|
"name": "appsactivity",
|
||||||
"version": "v1",
|
"version": "v1",
|
||||||
"revision": "20160805",
|
"revision": "20161202",
|
||||||
"title": "Google Apps Activity API",
|
"title": "Google Apps Activity API",
|
||||||
"description": "Provides a historical view of activity.",
|
"description": "Provides a historical view of activity.",
|
||||||
"ownerDomain": "google.com",
|
"ownerDomain": "google.com",
|
||||||
"ownerName": "Google",
|
"ownerName": "Google",
|
||||||
"icons": {
|
"icons": {
|
||||||
"x16": "http://www.google.com/images/icons/product/search-16.gif",
|
"x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png",
|
||||||
"x32": "http://www.google.com/images/icons/product/search-32.gif"
|
"x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png"
|
||||||
},
|
},
|
||||||
"documentationLink": "https://developers.google.com/google-apps/activity/",
|
"documentationLink": "https://developers.google.com/google-apps/activity/",
|
||||||
"protocol": "rest",
|
"protocol": "rest",
|
||||||
@@ -396,6 +396,10 @@
|
|||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
"description": "A boolean which indicates whether the specified User was deleted. If true, name, photo and permission_id will be omitted."
|
"description": "A boolean which indicates whether the specified User was deleted. If true, name, photo and permission_id will be omitted."
|
||||||
},
|
},
|
||||||
|
"isMe": {
|
||||||
|
"type": "boolean",
|
||||||
|
"description": "Whether the user is the authenticated user."
|
||||||
|
},
|
||||||
"name": {
|
"name": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "The displayable name of the user."
|
"description": "The displayable name of the user."
|
||||||
|
|||||||
@@ -1,19 +1,19 @@
|
|||||||
{
|
{
|
||||||
"kind": "discovery#restDescription",
|
"kind": "discovery#restDescription",
|
||||||
"etag": "\"C5oy1hgQsABtYOYIOXWcR3BgYqU/H2gPE9k-JTZqVa4GXSjOgiuxTK0\"",
|
"etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/zCuutgfn2bO8U3OEBc5yUB2So-0\"",
|
||||||
"discoveryVersion": "v1",
|
"discoveryVersion": "v1",
|
||||||
"id": "appstate:v1",
|
"id": "appstate:v1",
|
||||||
"name": "appstate",
|
"name": "appstate",
|
||||||
"canonicalName": "App State",
|
"canonicalName": "App State",
|
||||||
"version": "v1",
|
"version": "v1",
|
||||||
"revision": "20160901",
|
"revision": "20161207",
|
||||||
"title": "Google App State API",
|
"title": "Google App State API",
|
||||||
"description": "The Google App State API.",
|
"description": "The Google App State API.",
|
||||||
"ownerDomain": "google.com",
|
"ownerDomain": "google.com",
|
||||||
"ownerName": "Google",
|
"ownerName": "Google",
|
||||||
"icons": {
|
"icons": {
|
||||||
"x16": "http://www.google.com/images/icons/product/search-16.gif",
|
"x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png",
|
||||||
"x32": "http://www.google.com/images/icons/product/search-32.gif"
|
"x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png"
|
||||||
},
|
},
|
||||||
"documentationLink": "https://developers.google.com/games/services/web/api/states",
|
"documentationLink": "https://developers.google.com/games/services/web/api/states",
|
||||||
"protocol": "rest",
|
"protocol": "rest",
|
||||||
|
|||||||
@@ -1,11 +1,11 @@
|
|||||||
{
|
{
|
||||||
"kind": "discovery#restDescription",
|
"kind": "discovery#restDescription",
|
||||||
"etag": "\"C5oy1hgQsABtYOYIOXWcR3BgYqU/VlhO-7U_LLGUoZP3BlsW4eOrFfk\"",
|
"etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/wyP_l3wPjLK3LUrJqeSGHNESSW0\"",
|
||||||
"discoveryVersion": "v1",
|
"discoveryVersion": "v1",
|
||||||
"id": "bigquery:v2",
|
"id": "bigquery:v2",
|
||||||
"name": "bigquery",
|
"name": "bigquery",
|
||||||
"version": "v2",
|
"version": "v2",
|
||||||
"revision": "20160903",
|
"revision": "20161130",
|
||||||
"title": "BigQuery API",
|
"title": "BigQuery API",
|
||||||
"description": "A data platform for customers to create, manage, share and query data.",
|
"description": "A data platform for customers to create, manage, share and query data.",
|
||||||
"ownerDomain": "google.com",
|
"ownerDomain": "google.com",
|
||||||
@@ -687,6 +687,13 @@
|
|||||||
"$ref": "JobConfigurationExtract",
|
"$ref": "JobConfigurationExtract",
|
||||||
"description": "[Pick one] Configures an extract job."
|
"description": "[Pick one] Configures an extract job."
|
||||||
},
|
},
|
||||||
|
"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.",
|
||||||
|
"additionalProperties": {
|
||||||
|
"type": "string"
|
||||||
|
}
|
||||||
|
},
|
||||||
"load": {
|
"load": {
|
||||||
"$ref": "JobConfigurationLoad",
|
"$ref": "JobConfigurationLoad",
|
||||||
"description": "[Pick one] Configures a load job."
|
"description": "[Pick one] Configures a load job."
|
||||||
@@ -776,6 +783,10 @@
|
|||||||
"description": "[Optional] The maximum number of bad records that BigQuery can ignore when running the job. If the number of bad records exceeds this value, an invalid error is returned in the job result. The default value is 0, which requires that all records are valid.",
|
"description": "[Optional] The maximum number of bad records that BigQuery can ignore when running the job. If the number of bad records exceeds this value, an invalid error is returned in the job result. The default value is 0, which requires that all records are valid.",
|
||||||
"format": "int32"
|
"format": "int32"
|
||||||
},
|
},
|
||||||
|
"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."
|
||||||
|
},
|
||||||
"projectionFields": {
|
"projectionFields": {
|
||||||
"type": "array",
|
"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": "[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.",
|
||||||
@@ -884,14 +895,14 @@
|
|||||||
},
|
},
|
||||||
"queryParameters": {
|
"queryParameters": {
|
||||||
"type": "array",
|
"type": "array",
|
||||||
"description": "[Experimental] Query parameters for Standard SQL queries.",
|
"description": "Query parameters for standard SQL queries.",
|
||||||
"items": {
|
"items": {
|
||||||
"$ref": "QueryParameter"
|
"$ref": "QueryParameter"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"schemaUpdateOptions": {
|
"schemaUpdateOptions": {
|
||||||
"type": "array",
|
"type": "array",
|
||||||
"description": "[Experimental] Allows the schema of the desitination table to be updated as a side effect of the query job. Schema update options are supported in two cases: when writeDisposition is WRITE_APPEND; when writeDisposition is WRITE_TRUNCATE and the destination table is a partition of a table, specified by partition decorators. For normal tables, WRITE_TRUNCATE will always overwrite the schema. One or more of the following values are specified: ALLOW_FIELD_ADDITION: allow adding a nullable field to the schema. ALLOW_FIELD_RELAXATION: allow relaxing a required field in the original schema to nullable.",
|
"description": "[Experimental] Allows the schema of the destination table to be updated as a side effect of the query job. Schema update options are supported in two cases: when writeDisposition is WRITE_APPEND; when writeDisposition is WRITE_TRUNCATE and the destination table is a partition of a table, specified by partition decorators. For normal tables, WRITE_TRUNCATE will always overwrite the schema. One or more of the following values are specified: ALLOW_FIELD_ADDITION: allow adding a nullable field to the schema. ALLOW_FIELD_RELAXATION: allow relaxing a required field in the original schema to nullable.",
|
||||||
"items": {
|
"items": {
|
||||||
"type": "string"
|
"type": "string"
|
||||||
}
|
}
|
||||||
@@ -905,7 +916,7 @@
|
|||||||
},
|
},
|
||||||
"useLegacySql": {
|
"useLegacySql": {
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
"description": "[Experimental] Specifies whether to use BigQuery's legacy SQL dialect for this query. The default value is true. If set to false, the query will use BigQuery's standard SQL: https://cloud.google.com/bigquery/sql-reference/ When useLegacySql is set to false, the values of allowLargeResults and flattenResults are ignored; query will be run as if allowLargeResults is true and flattenResults is false."
|
"description": "Specifies whether to use BigQuery's legacy SQL dialect for this query. The default value is true. If set to false, the query will use BigQuery's standard SQL: https://cloud.google.com/bigquery/sql-reference/ When useLegacySql is set to false, the values of allowLargeResults and flattenResults are ignored; query will be run as if allowLargeResults is true and flattenResults is false."
|
||||||
},
|
},
|
||||||
"useQueryCache": {
|
"useQueryCache": {
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
@@ -1117,6 +1128,10 @@
|
|||||||
"$ref": "TableSchema",
|
"$ref": "TableSchema",
|
||||||
"description": "[Output-only, Experimental] The schema of the results. Present only for successful dry run of non-legacy SQL queries."
|
"description": "[Output-only, Experimental] The schema of the results. Present only for successful dry run of non-legacy SQL queries."
|
||||||
},
|
},
|
||||||
|
"statementType": {
|
||||||
|
"type": "string",
|
||||||
|
"description": "[Output-only, Experimental] The type of query statement, if valid."
|
||||||
|
},
|
||||||
"totalBytesBilled": {
|
"totalBytesBilled": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "[Output-only] Total bytes billed for the job.",
|
"description": "[Output-only] Total bytes billed for the job.",
|
||||||
@@ -1404,7 +1419,7 @@
|
|||||||
},
|
},
|
||||||
"useLegacySql": {
|
"useLegacySql": {
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
"description": "[Experimental] Specifies whether to use BigQuery's legacy SQL dialect for this query. The default value is true. If set to false, the query will use BigQuery's standard SQL: https://cloud.google.com/bigquery/sql-reference/ When useLegacySql is set to false, the values of allowLargeResults and flattenResults are ignored; query will be run as if allowLargeResults is true and flattenResults is false.",
|
"description": "Specifies whether to use BigQuery's legacy SQL dialect for this query. The default value is true. If set to false, the query will use BigQuery's standard SQL: https://cloud.google.com/bigquery/sql-reference/ When useLegacySql is set to false, the values of allowLargeResults and flattenResults are ignored; query will be run as if allowLargeResults is true and flattenResults is false.",
|
||||||
"default": "true"
|
"default": "true"
|
||||||
},
|
},
|
||||||
"useQueryCache": {
|
"useQueryCache": {
|
||||||
@@ -1534,6 +1549,13 @@
|
|||||||
"description": "[Output-only] The type of the resource.",
|
"description": "[Output-only] The type of the resource.",
|
||||||
"default": "bigquery#table"
|
"default": "bigquery#table"
|
||||||
},
|
},
|
||||||
|
"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.",
|
||||||
|
"additionalProperties": {
|
||||||
|
"type": "string"
|
||||||
|
}
|
||||||
|
},
|
||||||
"lastModifiedTime": {
|
"lastModifiedTime": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "[Output-only] The time when this table was last modified, in milliseconds since the epoch.",
|
"description": "[Output-only] The time when this table was last modified, in milliseconds since the epoch.",
|
||||||
@@ -1725,7 +1747,7 @@
|
|||||||
},
|
},
|
||||||
"type": {
|
"type": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "[Required] The field data type. Possible values include STRING, BYTES, INTEGER, FLOAT, BOOLEAN, TIMESTAMP or RECORD (where RECORD indicates that the field contains a nested schema)."
|
"description": "[Required] The field data type. Possible values include STRING, BYTES, INTEGER, INT64 (same as INTEGER), FLOAT, FLOAT64 (same as FLOAT), BOOLEAN, BOOL (same as BOOLEAN), TIMESTAMP, DATE, TIME, DATETIME, RECORD (where RECORD indicates that the field contains a nested schema) or STRUCT (same as RECORD)."
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -1765,6 +1787,13 @@
|
|||||||
"description": "The resource type.",
|
"description": "The resource type.",
|
||||||
"default": "bigquery#table"
|
"default": "bigquery#table"
|
||||||
},
|
},
|
||||||
|
"labels": {
|
||||||
|
"type": "object",
|
||||||
|
"description": "[Experimental] The labels associated with this table. You can use these to organize and group your tables.",
|
||||||
|
"additionalProperties": {
|
||||||
|
"type": "string"
|
||||||
|
}
|
||||||
|
},
|
||||||
"tableReference": {
|
"tableReference": {
|
||||||
"$ref": "TableReference",
|
"$ref": "TableReference",
|
||||||
"description": "A reference uniquely identifying the table."
|
"description": "A reference uniquely identifying the table."
|
||||||
@@ -1881,7 +1910,7 @@
|
|||||||
},
|
},
|
||||||
"useLegacySql": {
|
"useLegacySql": {
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
"description": "[Experimental] Specifies whether to use BigQuery's legacy SQL for this view. The default value is true. If set to false, the view will use BigQuery's standard SQL: https://cloud.google.com/bigquery/sql-reference/ Queries and views that reference this view must use the same flag value."
|
"description": "Specifies whether to use BigQuery's legacy SQL for this view. The default value is true. If set to false, the view will use BigQuery's standard SQL: https://cloud.google.com/bigquery/sql-reference/ Queries and views that reference this view must use the same flag value."
|
||||||
},
|
},
|
||||||
"userDefinedFunctionResources": {
|
"userDefinedFunctionResources": {
|
||||||
"type": "array",
|
"type": "array",
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"kind": "discovery#restDescription",
|
"kind": "discovery#restDescription",
|
||||||
"etag": "\"C5oy1hgQsABtYOYIOXWcR3BgYqU/Mm4a0u3lPNBqEzKCYhfhIpC2Mw4\"",
|
"etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/Mm4a0u3lPNBqEzKCYhfhIpC2Mw4\"",
|
||||||
"discoveryVersion": "v1",
|
"discoveryVersion": "v1",
|
||||||
"id": "blogger:v2",
|
"id": "blogger:v2",
|
||||||
"name": "blogger",
|
"name": "blogger",
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"kind": "discovery#restDescription",
|
"kind": "discovery#restDescription",
|
||||||
"etag": "\"C5oy1hgQsABtYOYIOXWcR3BgYqU/Goh5bsNuqq7lTY-yMf_QcKSL760\"",
|
"etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/Goh5bsNuqq7lTY-yMf_QcKSL760\"",
|
||||||
"discoveryVersion": "v1",
|
"discoveryVersion": "v1",
|
||||||
"id": "blogger:v3",
|
"id": "blogger:v3",
|
||||||
"name": "blogger",
|
"name": "blogger",
|
||||||
|
|||||||
@@ -1,11 +1,11 @@
|
|||||||
{
|
{
|
||||||
"kind": "discovery#restDescription",
|
"kind": "discovery#restDescription",
|
||||||
"etag": "\"C5oy1hgQsABtYOYIOXWcR3BgYqU/uxsTh9MpfXBIfQELnET3_c75CbQ\"",
|
"etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/jiS-k8EAx6v4TcA5Qg2LzgfBvoI\"",
|
||||||
"discoveryVersion": "v1",
|
"discoveryVersion": "v1",
|
||||||
"id": "books:v1",
|
"id": "books:v1",
|
||||||
"name": "books",
|
"name": "books",
|
||||||
"version": "v1",
|
"version": "v1",
|
||||||
"revision": "20160823",
|
"revision": "20161206",
|
||||||
"title": "Books API",
|
"title": "Books API",
|
||||||
"description": "Searches for books and manages your Google Books library.",
|
"description": "Searches for books and manages your Google Books library.",
|
||||||
"ownerDomain": "google.com",
|
"ownerDomain": "google.com",
|
||||||
@@ -1166,6 +1166,9 @@
|
|||||||
"description": "Resource type.",
|
"description": "Resource type.",
|
||||||
"default": "books#notification"
|
"default": "books#notification"
|
||||||
},
|
},
|
||||||
|
"notificationGroup": {
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
"notification_type": {
|
"notification_type": {
|
||||||
"type": "string"
|
"type": "string"
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -1,11 +1,11 @@
|
|||||||
{
|
{
|
||||||
"kind": "discovery#restDescription",
|
"kind": "discovery#restDescription",
|
||||||
"etag": "\"C5oy1hgQsABtYOYIOXWcR3BgYqU/nazGrDu3ytNkqOugrCdxmMJj71Y\"",
|
"etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/Cbqw6SyhEKakWSF49vX9PZlU5es\"",
|
||||||
"discoveryVersion": "v1",
|
"discoveryVersion": "v1",
|
||||||
"id": "calendar:v3",
|
"id": "calendar:v3",
|
||||||
"name": "calendar",
|
"name": "calendar",
|
||||||
"version": "v3",
|
"version": "v3",
|
||||||
"revision": "20160830",
|
"revision": "20161211",
|
||||||
"title": "Calendar API",
|
"title": "Calendar API",
|
||||||
"description": "Manipulates events and other calendar data.",
|
"description": "Manipulates events and other calendar data.",
|
||||||
"ownerDomain": "google.com",
|
"ownerDomain": "google.com",
|
||||||
@@ -2129,6 +2129,7 @@
|
|||||||
"maxResults": {
|
"maxResults": {
|
||||||
"type": "integer",
|
"type": "integer",
|
||||||
"description": "Maximum number of events returned on one result page. By default the value is 250 events. The page size can never be larger than 2500 events. Optional.",
|
"description": "Maximum number of events returned on one result page. By default the value is 250 events. The page size can never be larger than 2500 events. Optional.",
|
||||||
|
"default": "250",
|
||||||
"format": "int32",
|
"format": "int32",
|
||||||
"minimum": "1",
|
"minimum": "1",
|
||||||
"location": "query"
|
"location": "query"
|
||||||
@@ -2443,6 +2444,7 @@
|
|||||||
"maxResults": {
|
"maxResults": {
|
||||||
"type": "integer",
|
"type": "integer",
|
||||||
"description": "Maximum number of events returned on one result page. By default the value is 250 events. The page size can never be larger than 2500 events. Optional.",
|
"description": "Maximum number of events returned on one result page. By default the value is 250 events. The page size can never be larger than 2500 events. Optional.",
|
||||||
|
"default": "250",
|
||||||
"format": "int32",
|
"format": "int32",
|
||||||
"minimum": "1",
|
"minimum": "1",
|
||||||
"location": "query"
|
"location": "query"
|
||||||
|
|||||||
@@ -1,19 +1,19 @@
|
|||||||
{
|
{
|
||||||
"kind": "discovery#restDescription",
|
"kind": "discovery#restDescription",
|
||||||
"etag": "\"C5oy1hgQsABtYOYIOXWcR3BgYqU/0RRptSlHJI7MXoKAqjNEurqVvHk\"",
|
"etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/sNrwy4GBJh0JDl02KcW1-1MdJOM\"",
|
||||||
"discoveryVersion": "v1",
|
"discoveryVersion": "v1",
|
||||||
"id": "civicinfo:v2",
|
"id": "civicinfo:v2",
|
||||||
"name": "civicinfo",
|
"name": "civicinfo",
|
||||||
"canonicalName": "Civic Info",
|
"canonicalName": "Civic Info",
|
||||||
"version": "v2",
|
"version": "v2",
|
||||||
"revision": "20160823",
|
"revision": "20161102",
|
||||||
"title": "Google Civic Information API",
|
"title": "Google Civic Information API",
|
||||||
"description": "Provides polling places, early vote locations, contest data, election officials, and government representatives for U.S. residential addresses.",
|
"description": "Provides polling places, early vote locations, contest data, election officials, and government representatives for U.S. residential addresses.",
|
||||||
"ownerDomain": "google.com",
|
"ownerDomain": "google.com",
|
||||||
"ownerName": "Google",
|
"ownerName": "Google",
|
||||||
"icons": {
|
"icons": {
|
||||||
"x16": "http://www.google.com/images/icons/product/search-16.gif",
|
"x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png",
|
||||||
"x32": "http://www.google.com/images/icons/product/search-32.gif"
|
"x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png"
|
||||||
},
|
},
|
||||||
"documentationLink": "https://developers.google.com/civic-information",
|
"documentationLink": "https://developers.google.com/civic-information",
|
||||||
"protocol": "rest",
|
"protocol": "rest",
|
||||||
@@ -191,7 +191,7 @@
|
|||||||
},
|
},
|
||||||
"name": {
|
"name": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "The candidate's name."
|
"description": "The candidate's name. If this is a joint ticket it will indicate the name of the candidate at the top of a ticket followed by a / and that name of candidate at the bottom of the ticket. e.g. \"Mitt Romney / Paul Ryan\""
|
||||||
},
|
},
|
||||||
"orderOnBallot": {
|
"orderOnBallot": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
@@ -348,6 +348,35 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"ContextParams": {
|
||||||
|
"id": "ContextParams",
|
||||||
|
"type": "object",
|
||||||
|
"properties": {
|
||||||
|
"clientProfile": {
|
||||||
|
"type": "string"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"DivisionRepresentativeInfoRequest": {
|
||||||
|
"id": "DivisionRepresentativeInfoRequest",
|
||||||
|
"type": "object",
|
||||||
|
"description": "A request to look up representative information for a single division.",
|
||||||
|
"properties": {
|
||||||
|
"contextParams": {
|
||||||
|
"$ref": "ContextParams"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"DivisionSearchRequest": {
|
||||||
|
"id": "DivisionSearchRequest",
|
||||||
|
"type": "object",
|
||||||
|
"description": "A search request for political geographies.",
|
||||||
|
"properties": {
|
||||||
|
"contextParams": {
|
||||||
|
"$ref": "ContextParams"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
"DivisionSearchResponse": {
|
"DivisionSearchResponse": {
|
||||||
"id": "DivisionSearchResponse",
|
"id": "DivisionSearchResponse",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
@@ -439,6 +468,15 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"ElectionsQueryRequest": {
|
||||||
|
"id": "ElectionsQueryRequest",
|
||||||
|
"type": "object",
|
||||||
|
"properties": {
|
||||||
|
"contextParams": {
|
||||||
|
"$ref": "ContextParams"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
"ElectionsQueryResponse": {
|
"ElectionsQueryResponse": {
|
||||||
"id": "ElectionsQueryResponse",
|
"id": "ElectionsQueryResponse",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
@@ -650,6 +688,108 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"PostalAddress": {
|
||||||
|
"id": "PostalAddress",
|
||||||
|
"type": "object",
|
||||||
|
"properties": {
|
||||||
|
"addressLines": {
|
||||||
|
"type": "array",
|
||||||
|
"items": {
|
||||||
|
"type": "string"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"administrativeAreaName": {
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
"countryName": {
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
"countryNameCode": {
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
"dependentLocalityName": {
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
"dependentThoroughfareLeadingType": {
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
"dependentThoroughfareName": {
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
"dependentThoroughfarePostDirection": {
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
"dependentThoroughfarePreDirection": {
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
"dependentThoroughfareTrailingType": {
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
"dependentThoroughfaresConnector": {
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
"dependentThoroughfaresIndicator": {
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
"dependentThoroughfaresType": {
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
"firmName": {
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
"isDisputed": {
|
||||||
|
"type": "boolean"
|
||||||
|
},
|
||||||
|
"languageCode": {
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
"localityName": {
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
"postBoxNumber": {
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
"postalCodeNumber": {
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
"postalCodeNumberExtension": {
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
"premiseName": {
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
"recipientName": {
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
"sortingCode": {
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
"subAdministrativeAreaName": {
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
"subPremiseName": {
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
"thoroughfareLeadingType": {
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
"thoroughfareName": {
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
"thoroughfareNumber": {
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
"thoroughfarePostDirection": {
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
"thoroughfarePreDirection": {
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
"thoroughfareTrailingType": {
|
||||||
|
"type": "string"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
"RepresentativeInfoData": {
|
"RepresentativeInfoData": {
|
||||||
"id": "RepresentativeInfoData",
|
"id": "RepresentativeInfoData",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
@@ -678,6 +818,16 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"RepresentativeInfoRequest": {
|
||||||
|
"id": "RepresentativeInfoRequest",
|
||||||
|
"type": "object",
|
||||||
|
"description": "A request for political geography and representative information for an address.",
|
||||||
|
"properties": {
|
||||||
|
"contextParams": {
|
||||||
|
"$ref": "ContextParams"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
"RepresentativeInfoResponse": {
|
"RepresentativeInfoResponse": {
|
||||||
"id": "RepresentativeInfoResponse",
|
"id": "RepresentativeInfoResponse",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
@@ -766,6 +916,19 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"VoterInfoRequest": {
|
||||||
|
"id": "VoterInfoRequest",
|
||||||
|
"type": "object",
|
||||||
|
"description": "A request for information about a voter.",
|
||||||
|
"properties": {
|
||||||
|
"contextParams": {
|
||||||
|
"$ref": "ContextParams"
|
||||||
|
},
|
||||||
|
"voterInfoSegmentResult": {
|
||||||
|
"$ref": "VoterInfoSegmentResult"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
"VoterInfoResponse": {
|
"VoterInfoResponse": {
|
||||||
"id": "VoterInfoResponse",
|
"id": "VoterInfoResponse",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
@@ -834,6 +997,25 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"VoterInfoSegmentResult": {
|
||||||
|
"id": "VoterInfoSegmentResult",
|
||||||
|
"type": "object",
|
||||||
|
"properties": {
|
||||||
|
"generatedMillis": {
|
||||||
|
"type": "string",
|
||||||
|
"format": "int64"
|
||||||
|
},
|
||||||
|
"postalAddress": {
|
||||||
|
"$ref": "PostalAddress"
|
||||||
|
},
|
||||||
|
"request": {
|
||||||
|
"$ref": "VoterInfoRequest"
|
||||||
|
},
|
||||||
|
"response": {
|
||||||
|
"$ref": "VoterInfoResponse"
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"resources": {
|
"resources": {
|
||||||
@@ -851,6 +1033,9 @@
|
|||||||
"location": "query"
|
"location": "query"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"request": {
|
||||||
|
"$ref": "DivisionSearchRequest"
|
||||||
|
},
|
||||||
"response": {
|
"response": {
|
||||||
"$ref": "DivisionSearchResponse"
|
"$ref": "DivisionSearchResponse"
|
||||||
}
|
}
|
||||||
@@ -864,6 +1049,9 @@
|
|||||||
"path": "elections",
|
"path": "elections",
|
||||||
"httpMethod": "GET",
|
"httpMethod": "GET",
|
||||||
"description": "List of available elections to query.",
|
"description": "List of available elections to query.",
|
||||||
|
"request": {
|
||||||
|
"$ref": "ElectionsQueryRequest"
|
||||||
|
},
|
||||||
"response": {
|
"response": {
|
||||||
"$ref": "ElectionsQueryResponse"
|
"$ref": "ElectionsQueryResponse"
|
||||||
}
|
}
|
||||||
@@ -903,6 +1091,9 @@
|
|||||||
"parameterOrder": [
|
"parameterOrder": [
|
||||||
"address"
|
"address"
|
||||||
],
|
],
|
||||||
|
"request": {
|
||||||
|
"$ref": "VoterInfoRequest"
|
||||||
|
},
|
||||||
"response": {
|
"response": {
|
||||||
"$ref": "VoterInfoResponse"
|
"$ref": "VoterInfoResponse"
|
||||||
}
|
}
|
||||||
@@ -989,6 +1180,9 @@
|
|||||||
"location": "query"
|
"location": "query"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"request": {
|
||||||
|
"$ref": "RepresentativeInfoRequest"
|
||||||
|
},
|
||||||
"response": {
|
"response": {
|
||||||
"$ref": "RepresentativeInfoResponse"
|
"$ref": "RepresentativeInfoResponse"
|
||||||
}
|
}
|
||||||
@@ -1074,6 +1268,9 @@
|
|||||||
"parameterOrder": [
|
"parameterOrder": [
|
||||||
"ocdId"
|
"ocdId"
|
||||||
],
|
],
|
||||||
|
"request": {
|
||||||
|
"$ref": "DivisionRepresentativeInfoRequest"
|
||||||
|
},
|
||||||
"response": {
|
"response": {
|
||||||
"$ref": "RepresentativeInfoData"
|
"$ref": "RepresentativeInfoData"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,11 +1,11 @@
|
|||||||
{
|
{
|
||||||
"kind": "discovery#restDescription",
|
"kind": "discovery#restDescription",
|
||||||
"etag": "\"C5oy1hgQsABtYOYIOXWcR3BgYqU/YsDe4FXJlhWXueJei0_RXQqm_4I\"",
|
"etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/mk_oLjlaBwJ1BcBJ5yykCFb6u3w\"",
|
||||||
"discoveryVersion": "v1",
|
"discoveryVersion": "v1",
|
||||||
"id": "classroom:v1",
|
"id": "classroom:v1",
|
||||||
"name": "classroom",
|
"name": "classroom",
|
||||||
"version": "v1",
|
"version": "v1",
|
||||||
"revision": "20160816",
|
"revision": "20161006",
|
||||||
"title": "Google Classroom API",
|
"title": "Google Classroom API",
|
||||||
"description": "Manages classes, rosters, and invitations in Google Classroom.",
|
"description": "Manages classes, rosters, and invitations in Google Classroom.",
|
||||||
"ownerDomain": "google.com",
|
"ownerDomain": "google.com",
|
||||||
@@ -224,6 +224,10 @@
|
|||||||
"items": {
|
"items": {
|
||||||
"$ref": "CourseMaterialSet"
|
"$ref": "CourseMaterialSet"
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"guardiansEnabled": {
|
||||||
|
"type": "boolean",
|
||||||
|
"description": "Whether or not guardian notifications are enabled for this course. Read-only."
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -1270,6 +1274,19 @@
|
|||||||
"description": "Restricts returned courses to those having a teacher with the specified identifier. The identifier can be one of the following: * the numeric identifier for the user * the email address of the user * the string literal `\"me\"`, indicating the requesting user",
|
"description": "Restricts returned courses to those having a teacher with the specified identifier. The identifier can be one of the following: * the numeric identifier for the user * the email address of the user * the string literal `\"me\"`, indicating the requesting user",
|
||||||
"location": "query"
|
"location": "query"
|
||||||
},
|
},
|
||||||
|
"courseStates": {
|
||||||
|
"type": "string",
|
||||||
|
"description": "Restricts returned courses to those in one of the specified states",
|
||||||
|
"enum": [
|
||||||
|
"COURSE_STATE_UNSPECIFIED",
|
||||||
|
"ACTIVE",
|
||||||
|
"ARCHIVED",
|
||||||
|
"PROVISIONED",
|
||||||
|
"DECLINED"
|
||||||
|
],
|
||||||
|
"repeated": true,
|
||||||
|
"location": "query"
|
||||||
|
},
|
||||||
"pageSize": {
|
"pageSize": {
|
||||||
"type": "integer",
|
"type": "integer",
|
||||||
"description": "Maximum number of items to return. Zero or unspecified indicates that the server may assign a maximum. The server may return fewer than the specified number of results.",
|
"description": "Maximum number of items to return. Zero or unspecified indicates that the server may assign a maximum. The server may return fewer than the specified number of results.",
|
||||||
@@ -2143,11 +2160,11 @@
|
|||||||
"id": "classroom.userProfiles.guardianInvitations.list",
|
"id": "classroom.userProfiles.guardianInvitations.list",
|
||||||
"path": "v1/userProfiles/{studentId}/guardianInvitations",
|
"path": "v1/userProfiles/{studentId}/guardianInvitations",
|
||||||
"httpMethod": "GET",
|
"httpMethod": "GET",
|
||||||
"description": "Returns a list of guardian invitations that the requesting user is permitted to view, filtered by the parameters provided. This method returns the following error codes: * `PERMISSION_DENIED` if a `student_id` is specified, and the requesting user is not permitted to view guardian invitations for that student, if guardians are not enabled for the domain in question, or for other access errors. * `INVALID_ARGUMENT` if a `student_id` is specified, but its format cannot be recognized (it is not an email address, nor a `student_id` from the API, nor the literal string `me`). May also be returned if an invalid `page_token` or `state` is provided. * `NOT_FOUND` if a `student_id` is specified, and its format can be recognized, but Classroom has no record of that student.",
|
"description": "Returns a list of guardian invitations that the requesting user is permitted to view, filtered by the parameters provided. This method returns the following error codes: * `PERMISSION_DENIED` if a `student_id` is specified, and the requesting user is not permitted to view guardian invitations for that student, if `\"-\"` is specified as the `student_id` and the user is not a domain administrator, if guardians are not enabled for the domain in question, or for other access errors. * `INVALID_ARGUMENT` if a `student_id` is specified, but its format cannot be recognized (it is not an email address, nor a `student_id` from the API, nor the literal string `me`). May also be returned if an invalid `page_token` or `state` is provided. * `NOT_FOUND` if a `student_id` is specified, and its format can be recognized, but Classroom has no record of that student.",
|
||||||
"parameters": {
|
"parameters": {
|
||||||
"studentId": {
|
"studentId": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "The ID of the student whose guardian invitations are to be returned. The identifier can be one of the following: * the numeric identifier for the user * the email address of the user * the string literal `\"me\"`, indicating the requesting user",
|
"description": "The ID of the student whose guardian invitations are to be returned. The identifier can be one of the following: * the numeric identifier for the user * the email address of the user * the string literal `\"me\"`, indicating the requesting user * the string literal `\"-\"`, indicating that results should be returned for all students that the requesting user is permitted to view guardian invitations.",
|
||||||
"required": true,
|
"required": true,
|
||||||
"location": "path"
|
"location": "path"
|
||||||
},
|
},
|
||||||
@@ -2279,11 +2296,11 @@
|
|||||||
"id": "classroom.userProfiles.guardians.list",
|
"id": "classroom.userProfiles.guardians.list",
|
||||||
"path": "v1/userProfiles/{studentId}/guardians",
|
"path": "v1/userProfiles/{studentId}/guardians",
|
||||||
"httpMethod": "GET",
|
"httpMethod": "GET",
|
||||||
"description": "Returns a list of guardians that the requesting user is permitted to view, restricted to those that match the request. This method returns the following error codes: * `PERMISSION_DENIED` if a `student_id` is specified, and the requesting user is not permitted to view guardian information for that student, if guardians are not enabled for the domain in question, if the `invited_email_address` filter is set by a user who is not a domain administrator, or for other access errors. * `INVALID_ARGUMENT` if a `student_id` is specified, but its format cannot be recognized (it is not an email address, nor a `student_id` from the API, nor the literal string `me`). May also be returned if an invalid `page_token` is provided. * `NOT_FOUND` if a `student_id` is specified, and its format can be recognized, but Classroom has no record of that student.",
|
"description": "Returns a list of guardians that the requesting user is permitted to view, restricted to those that match the request. To list guardians for any student that the requesting user may view guardians for, use the literal character `-` for the student ID. This method returns the following error codes: * `PERMISSION_DENIED` if a `student_id` is specified, and the requesting user is not permitted to view guardian information for that student, if `\"-\"` is specified as the `student_id` and the user is not a domain administrator, if guardians are not enabled for the domain in question, if the `invited_email_address` filter is set by a user who is not a domain administrator, or for other access errors. * `INVALID_ARGUMENT` if a `student_id` is specified, but its format cannot be recognized (it is not an email address, nor a `student_id` from the API, nor the literal string `me`). May also be returned if an invalid `page_token` is provided. * `NOT_FOUND` if a `student_id` is specified, and its format can be recognized, but Classroom has no record of that student.",
|
||||||
"parameters": {
|
"parameters": {
|
||||||
"studentId": {
|
"studentId": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "Filter results by the student who the guardian is linked to. The identifier can be one of the following: * the numeric identifier for the user * the email address of the user * the string literal `\"me\"`, indicating the requesting user",
|
"description": "Filter results by the student who the guardian is linked to. The identifier can be one of the following: * the numeric identifier for the user * the email address of the user * the string literal `\"me\"`, indicating the requesting user * the string literal `\"-\"`, indicating that results should be returned for all students that the requesting user has access to view.",
|
||||||
"required": true,
|
"required": true,
|
||||||
"location": "path"
|
"location": "path"
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"kind": "discovery#restDescription",
|
"kind": "discovery#restDescription",
|
||||||
"etag": "\"C5oy1hgQsABtYOYIOXWcR3BgYqU/M2VzqGfwqR0FviWkPggfCzE5zZU\"",
|
"etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/M2VzqGfwqR0FviWkPggfCzE5zZU\"",
|
||||||
"discoveryVersion": "v1",
|
"discoveryVersion": "v1",
|
||||||
"id": "cloudbilling:v1",
|
"id": "cloudbilling:v1",
|
||||||
"name": "cloudbilling",
|
"name": "cloudbilling",
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"kind": "discovery#restDescription",
|
"kind": "discovery#restDescription",
|
||||||
"etag": "\"C5oy1hgQsABtYOYIOXWcR3BgYqU/QjifI48X3fgI9mRgli3ziT84a8U\"",
|
"etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/QjifI48X3fgI9mRgli3ziT84a8U\"",
|
||||||
"discoveryVersion": "v1",
|
"discoveryVersion": "v1",
|
||||||
"id": "clouddebugger:v2",
|
"id": "clouddebugger:v2",
|
||||||
"name": "clouddebugger",
|
"name": "clouddebugger",
|
||||||
|
|||||||
@@ -0,0 +1,728 @@
|
|||||||
|
{
|
||||||
|
"id": "clouderrorreporting:v1beta1",
|
||||||
|
"auth": {
|
||||||
|
"oauth2": {
|
||||||
|
"scopes": {
|
||||||
|
"https://www.googleapis.com/auth/cloud-platform": {
|
||||||
|
"description": "View and manage your data across Google Cloud Platform services"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"description": "Stackdriver Error Reporting groups and counts similar errors from cloud services. The Stackdriver Error Reporting API provides a way to report new errors and read access to error groups and their associated errors.\n",
|
||||||
|
"protocol": "rest",
|
||||||
|
"title": "Stackdriver Error Reporting API",
|
||||||
|
"resources": {
|
||||||
|
"projects": {
|
||||||
|
"resources": {
|
||||||
|
"events": {
|
||||||
|
"methods": {
|
||||||
|
"list": {
|
||||||
|
"id": "clouderrorreporting.projects.events.list",
|
||||||
|
"response": {
|
||||||
|
"$ref": "ListEventsResponse"
|
||||||
|
},
|
||||||
|
"parameterOrder": [
|
||||||
|
"projectName"
|
||||||
|
],
|
||||||
|
"description": "Lists the specified events.",
|
||||||
|
"flatPath": "v1beta1/projects/{projectsId}/events",
|
||||||
|
"httpMethod": "GET",
|
||||||
|
"parameters": {
|
||||||
|
"timeRange.period": {
|
||||||
|
"description": "Restricts the query to the specified time range.",
|
||||||
|
"enum": [
|
||||||
|
"PERIOD_UNSPECIFIED",
|
||||||
|
"PERIOD_1_HOUR",
|
||||||
|
"PERIOD_6_HOURS",
|
||||||
|
"PERIOD_1_DAY",
|
||||||
|
"PERIOD_1_WEEK",
|
||||||
|
"PERIOD_30_DAYS"
|
||||||
|
],
|
||||||
|
"location": "query",
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
"serviceFilter.resourceType": {
|
||||||
|
"description": "[Optional] The exact value to match against\n[`ServiceContext.resource_type`](/error-reporting/reference/rest/v1beta1/ServiceContext#FIELDS.resource_type).",
|
||||||
|
"location": "query",
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
"projectName": {
|
||||||
|
"description": "[Required] The resource name of the Google Cloud Platform project. Written\nas `projects/` plus the\n[Google Cloud Platform project ID](https://support.google.com/cloud/answer/6158840).\nExample: `projects/my-project-123`.",
|
||||||
|
"required": true,
|
||||||
|
"pattern": "^projects/[^/]+$",
|
||||||
|
"location": "path",
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
"serviceFilter.service": {
|
||||||
|
"description": "[Optional] The exact value to match against\n[`ServiceContext.service`](/error-reporting/reference/rest/v1beta1/ServiceContext#FIELDS.service).",
|
||||||
|
"location": "query",
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
"groupId": {
|
||||||
|
"description": "[Required] The group for which events shall be returned.",
|
||||||
|
"location": "query",
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
"serviceFilter.version": {
|
||||||
|
"description": "[Optional] The exact value to match against\n[`ServiceContext.version`](/error-reporting/reference/rest/v1beta1/ServiceContext#FIELDS.version).",
|
||||||
|
"location": "query",
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
"pageSize": {
|
||||||
|
"description": "[Optional] The maximum number of results to return per response.",
|
||||||
|
"location": "query",
|
||||||
|
"type": "integer",
|
||||||
|
"format": "int32"
|
||||||
|
},
|
||||||
|
"pageToken": {
|
||||||
|
"description": "[Optional] A `next_page_token` provided by a previous response.",
|
||||||
|
"location": "query",
|
||||||
|
"type": "string"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"path": "v1beta1/{+projectName}/events",
|
||||||
|
"scopes": [
|
||||||
|
"https://www.googleapis.com/auth/cloud-platform"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"report": {
|
||||||
|
"id": "clouderrorreporting.projects.events.report",
|
||||||
|
"response": {
|
||||||
|
"$ref": "ReportErrorEventResponse"
|
||||||
|
},
|
||||||
|
"parameterOrder": [
|
||||||
|
"projectName"
|
||||||
|
],
|
||||||
|
"description": "Report an individual error event.\n\nThis endpoint accepts \u003cstrong\u003eeither\u003c/strong\u003e an OAuth token,\n\u003cstrong\u003eor\u003c/strong\u003e an\n\u003ca href=\"https://support.google.com/cloud/answer/6158862\"\u003eAPI key\u003c/a\u003e\nfor authentication. To use an API key, append it to the URL as the value of\na `key` parameter. For example:\n\u003cpre\u003ePOST https://clouderrorreporting.googleapis.com/v1beta1/projects/example-project/events:report?key=123ABC456\u003c/pre\u003e",
|
||||||
|
"request": {
|
||||||
|
"$ref": "ReportedErrorEvent"
|
||||||
|
},
|
||||||
|
"flatPath": "v1beta1/projects/{projectsId}/events:report",
|
||||||
|
"httpMethod": "POST",
|
||||||
|
"parameters": {
|
||||||
|
"projectName": {
|
||||||
|
"description": "[Required] The resource name of the Google Cloud Platform project. Written\nas `projects/` plus the\n[Google Cloud Platform project ID](https://support.google.com/cloud/answer/6158840).\nExample: `projects/my-project-123`.",
|
||||||
|
"required": true,
|
||||||
|
"pattern": "^projects/[^/]+$",
|
||||||
|
"location": "path",
|
||||||
|
"type": "string"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"path": "v1beta1/{+projectName}/events:report",
|
||||||
|
"scopes": [
|
||||||
|
"https://www.googleapis.com/auth/cloud-platform"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"groups": {
|
||||||
|
"methods": {
|
||||||
|
"update": {
|
||||||
|
"id": "clouderrorreporting.projects.groups.update",
|
||||||
|
"response": {
|
||||||
|
"$ref": "ErrorGroup"
|
||||||
|
},
|
||||||
|
"parameterOrder": [
|
||||||
|
"name"
|
||||||
|
],
|
||||||
|
"description": "Replace the data for the specified group.\nFails if the group does not exist.",
|
||||||
|
"request": {
|
||||||
|
"$ref": "ErrorGroup"
|
||||||
|
},
|
||||||
|
"flatPath": "v1beta1/projects/{projectsId}/groups/{groupsId}",
|
||||||
|
"httpMethod": "PUT",
|
||||||
|
"parameters": {
|
||||||
|
"name": {
|
||||||
|
"description": "The group resource name.\nExample: \u003ccode\u003eprojects/my-project-123/groups/my-groupid\u003c/code\u003e",
|
||||||
|
"required": true,
|
||||||
|
"pattern": "^projects/[^/]+/groups/[^/]+$",
|
||||||
|
"location": "path",
|
||||||
|
"type": "string"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"path": "v1beta1/{+name}",
|
||||||
|
"scopes": [
|
||||||
|
"https://www.googleapis.com/auth/cloud-platform"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"get": {
|
||||||
|
"id": "clouderrorreporting.projects.groups.get",
|
||||||
|
"response": {
|
||||||
|
"$ref": "ErrorGroup"
|
||||||
|
},
|
||||||
|
"parameterOrder": [
|
||||||
|
"groupName"
|
||||||
|
],
|
||||||
|
"description": "Get the specified group.",
|
||||||
|
"flatPath": "v1beta1/projects/{projectsId}/groups/{groupsId}",
|
||||||
|
"httpMethod": "GET",
|
||||||
|
"parameters": {
|
||||||
|
"groupName": {
|
||||||
|
"description": "[Required] The group resource name. Written as\n\u003ccode\u003eprojects/\u003cvar\u003eprojectID\u003c/var\u003e/groups/\u003cvar\u003egroup_name\u003c/var\u003e\u003c/code\u003e.\nCall\n\u003ca href=\"/error-reporting/reference/rest/v1beta1/projects.groupStats/list\"\u003e\n\u003ccode\u003egroupStats.list\u003c/code\u003e\u003c/a\u003e to return a list of groups belonging to\nthis project.\n\nExample: \u003ccode\u003eprojects/my-project-123/groups/my-group\u003c/code\u003e",
|
||||||
|
"required": true,
|
||||||
|
"pattern": "^projects/[^/]+/groups/[^/]+$",
|
||||||
|
"location": "path",
|
||||||
|
"type": "string"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"path": "v1beta1/{+groupName}",
|
||||||
|
"scopes": [
|
||||||
|
"https://www.googleapis.com/auth/cloud-platform"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"groupStats": {
|
||||||
|
"methods": {
|
||||||
|
"list": {
|
||||||
|
"id": "clouderrorreporting.projects.groupStats.list",
|
||||||
|
"response": {
|
||||||
|
"$ref": "ListGroupStatsResponse"
|
||||||
|
},
|
||||||
|
"parameterOrder": [
|
||||||
|
"projectName"
|
||||||
|
],
|
||||||
|
"description": "Lists the specified groups.",
|
||||||
|
"flatPath": "v1beta1/projects/{projectsId}/groupStats",
|
||||||
|
"httpMethod": "GET",
|
||||||
|
"parameters": {
|
||||||
|
"alignment": {
|
||||||
|
"description": "[Optional] The alignment of the timed counts to be returned.\nDefault is `ALIGNMENT_EQUAL_AT_END`.",
|
||||||
|
"enum": [
|
||||||
|
"ERROR_COUNT_ALIGNMENT_UNSPECIFIED",
|
||||||
|
"ALIGNMENT_EQUAL_ROUNDED",
|
||||||
|
"ALIGNMENT_EQUAL_AT_END"
|
||||||
|
],
|
||||||
|
"location": "query",
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
"timeRange.period": {
|
||||||
|
"description": "Restricts the query to the specified time range.",
|
||||||
|
"enum": [
|
||||||
|
"PERIOD_UNSPECIFIED",
|
||||||
|
"PERIOD_1_HOUR",
|
||||||
|
"PERIOD_6_HOURS",
|
||||||
|
"PERIOD_1_DAY",
|
||||||
|
"PERIOD_1_WEEK",
|
||||||
|
"PERIOD_30_DAYS"
|
||||||
|
],
|
||||||
|
"location": "query",
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
"serviceFilter.resourceType": {
|
||||||
|
"description": "[Optional] The exact value to match against\n[`ServiceContext.resource_type`](/error-reporting/reference/rest/v1beta1/ServiceContext#FIELDS.resource_type).",
|
||||||
|
"location": "query",
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
"projectName": {
|
||||||
|
"description": "[Required] The resource name of the Google Cloud Platform project. Written\nas \u003ccode\u003eprojects/\u003c/code\u003e plus the\n\u003ca href=\"https://support.google.com/cloud/answer/6158840\"\u003eGoogle Cloud\nPlatform project ID\u003c/a\u003e.\n\nExample: \u003ccode\u003eprojects/my-project-123\u003c/code\u003e.",
|
||||||
|
"required": true,
|
||||||
|
"pattern": "^projects/[^/]+$",
|
||||||
|
"location": "path",
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
"order": {
|
||||||
|
"description": "[Optional] The sort order in which the results are returned.\nDefault is `COUNT_DESC`.",
|
||||||
|
"enum": [
|
||||||
|
"GROUP_ORDER_UNSPECIFIED",
|
||||||
|
"COUNT_DESC",
|
||||||
|
"LAST_SEEN_DESC",
|
||||||
|
"CREATED_DESC",
|
||||||
|
"AFFECTED_USERS_DESC"
|
||||||
|
],
|
||||||
|
"location": "query",
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
"groupId": {
|
||||||
|
"description": "[Optional] List all \u003ccode\u003eErrorGroupStats\u003c/code\u003e with these IDs.",
|
||||||
|
"repeated": true,
|
||||||
|
"location": "query",
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
"serviceFilter.service": {
|
||||||
|
"description": "[Optional] The exact value to match against\n[`ServiceContext.service`](/error-reporting/reference/rest/v1beta1/ServiceContext#FIELDS.service).",
|
||||||
|
"location": "query",
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
"alignmentTime": {
|
||||||
|
"description": "[Optional] Time where the timed counts shall be aligned if rounded\nalignment is chosen. Default is 00:00 UTC.",
|
||||||
|
"location": "query",
|
||||||
|
"type": "string",
|
||||||
|
"format": "google-datetime"
|
||||||
|
},
|
||||||
|
"serviceFilter.version": {
|
||||||
|
"description": "[Optional] The exact value to match against\n[`ServiceContext.version`](/error-reporting/reference/rest/v1beta1/ServiceContext#FIELDS.version).",
|
||||||
|
"location": "query",
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
"pageSize": {
|
||||||
|
"description": "[Optional] The maximum number of results to return per response.\nDefault is 20.",
|
||||||
|
"location": "query",
|
||||||
|
"type": "integer",
|
||||||
|
"format": "int32"
|
||||||
|
},
|
||||||
|
"timedCountDuration": {
|
||||||
|
"description": "[Optional] The preferred duration for a single returned `TimedCount`.\nIf not set, no timed counts are returned.",
|
||||||
|
"location": "query",
|
||||||
|
"type": "string",
|
||||||
|
"format": "google-duration"
|
||||||
|
},
|
||||||
|
"pageToken": {
|
||||||
|
"description": "[Optional] A `next_page_token` provided by a previous response. To view\nadditional results, pass this token along with the identical query\nparameters as the first request.",
|
||||||
|
"location": "query",
|
||||||
|
"type": "string"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"path": "v1beta1/{+projectName}/groupStats",
|
||||||
|
"scopes": [
|
||||||
|
"https://www.googleapis.com/auth/cloud-platform"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"methods": {
|
||||||
|
"deleteEvents": {
|
||||||
|
"id": "clouderrorreporting.projects.deleteEvents",
|
||||||
|
"response": {
|
||||||
|
"$ref": "DeleteEventsResponse"
|
||||||
|
},
|
||||||
|
"parameterOrder": [
|
||||||
|
"projectName"
|
||||||
|
],
|
||||||
|
"description": "Deletes all error events of a given project.",
|
||||||
|
"flatPath": "v1beta1/projects/{projectsId}/events",
|
||||||
|
"httpMethod": "DELETE",
|
||||||
|
"parameters": {
|
||||||
|
"projectName": {
|
||||||
|
"description": "[Required] The resource name of the Google Cloud Platform project. Written\nas `projects/` plus the\n[Google Cloud Platform project ID](https://support.google.com/cloud/answer/6158840).\nExample: `projects/my-project-123`.",
|
||||||
|
"required": true,
|
||||||
|
"pattern": "^projects/[^/]+$",
|
||||||
|
"location": "path",
|
||||||
|
"type": "string"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"path": "v1beta1/{+projectName}/events",
|
||||||
|
"scopes": [
|
||||||
|
"https://www.googleapis.com/auth/cloud-platform"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"schemas": {
|
||||||
|
"ReportedErrorEvent": {
|
||||||
|
"description": "An error event which is reported to the Error Reporting system.",
|
||||||
|
"type": "object",
|
||||||
|
"properties": {
|
||||||
|
"serviceContext": {
|
||||||
|
"description": "[Required] The service context in which this error has occurred.",
|
||||||
|
"$ref": "ServiceContext"
|
||||||
|
},
|
||||||
|
"context": {
|
||||||
|
"description": "[Optional] A description of the context in which the error occurred.",
|
||||||
|
"$ref": "ErrorContext"
|
||||||
|
},
|
||||||
|
"eventTime": {
|
||||||
|
"description": "[Optional] Time when the event occurred.\nIf not provided, the time when the event was received by the\nError Reporting system will be used.",
|
||||||
|
"type": "string",
|
||||||
|
"format": "google-datetime"
|
||||||
|
},
|
||||||
|
"message": {
|
||||||
|
"description": "[Required] A message describing the error. The message can contain an\nexception stack in one of the supported programming languages and formats.\nIn that case, the message is parsed and detailed exception information\nis returned when retrieving the error event again.",
|
||||||
|
"type": "string"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"id": "ReportedErrorEvent"
|
||||||
|
},
|
||||||
|
"SourceLocation": {
|
||||||
|
"description": "Indicates a location in the source code of the service for which\nerrors are reported.\nThis data should be provided by the application when reporting an error,\nunless the error report has been generated automatically from Google App\nEngine logs. All fields are optional.",
|
||||||
|
"type": "object",
|
||||||
|
"properties": {
|
||||||
|
"filePath": {
|
||||||
|
"description": "The source code filename, which can include a truncated relative\npath, or a full path from a production machine.",
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
"functionName": {
|
||||||
|
"description": "Human-readable name of a function or method.\nThe value can include optional context like the class or package name.\nFor example, `my.package.MyClass.method` in case of Java.",
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
"lineNumber": {
|
||||||
|
"description": "1-based. 0 indicates that the line number is unknown.",
|
||||||
|
"type": "integer",
|
||||||
|
"format": "int32"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"id": "SourceLocation"
|
||||||
|
},
|
||||||
|
"ErrorGroupStats": {
|
||||||
|
"description": "Data extracted for a specific group based on certain filter criteria,\nsuch as a given time period and/or service filter.",
|
||||||
|
"type": "object",
|
||||||
|
"properties": {
|
||||||
|
"representative": {
|
||||||
|
"description": "An arbitrary event that is chosen as representative for the whole group.\nThe representative event is intended to be used as a quick preview for\nthe whole group. Events in the group are usually sufficiently similar\nto each other such that showing an arbitrary representative provides\ninsight into the characteristics of the group as a whole.",
|
||||||
|
"$ref": "ErrorEvent"
|
||||||
|
},
|
||||||
|
"numAffectedServices": {
|
||||||
|
"description": "The total number of services with a non-zero error count for the given\nfilter criteria.",
|
||||||
|
"type": "integer",
|
||||||
|
"format": "int32"
|
||||||
|
},
|
||||||
|
"affectedUsersCount": {
|
||||||
|
"description": "Approximate number of affected users in the given group that\nmatch the filter criteria.\nUsers are distinguished by data in the `ErrorContext` of the\nindividual error events, such as their login name or their remote\nIP address in case of HTTP requests.\nThe number of affected users can be zero even if the number of\nerrors is non-zero if no data was provided from which the\naffected user could be deduced.\nUsers are counted based on data in the request\ncontext that was provided in the error report. If more users are\nimplicitly affected, such as due to a crash of the whole service,\nthis is not reflected here.",
|
||||||
|
"type": "string",
|
||||||
|
"format": "int64"
|
||||||
|
},
|
||||||
|
"count": {
|
||||||
|
"description": "Approximate total number of events in the given group that match\nthe filter criteria.",
|
||||||
|
"type": "string",
|
||||||
|
"format": "int64"
|
||||||
|
},
|
||||||
|
"firstSeenTime": {
|
||||||
|
"description": "Approximate first occurrence that was ever seen for this group\nand which matches the given filter criteria, ignoring the\ntime_range that was specified in the request.",
|
||||||
|
"type": "string",
|
||||||
|
"format": "google-datetime"
|
||||||
|
},
|
||||||
|
"lastSeenTime": {
|
||||||
|
"description": "Approximate last occurrence that was ever seen for this group and\nwhich matches the given filter criteria, ignoring the time_range\nthat was specified in the request.",
|
||||||
|
"type": "string",
|
||||||
|
"format": "google-datetime"
|
||||||
|
},
|
||||||
|
"group": {
|
||||||
|
"description": "Group data that is independent of the filter criteria.",
|
||||||
|
"$ref": "ErrorGroup"
|
||||||
|
},
|
||||||
|
"affectedServices": {
|
||||||
|
"description": "Service contexts with a non-zero error count for the given filter\ncriteria. This list can be truncated if multiple services are affected.\nRefer to `num_affected_services` for the total count.",
|
||||||
|
"type": "array",
|
||||||
|
"items": {
|
||||||
|
"$ref": "ServiceContext"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"timedCounts": {
|
||||||
|
"description": "Approximate number of occurrences over time.\nTimed counts returned by ListGroups are guaranteed to be:\n\n- Inside the requested time interval\n- Non-overlapping, and\n- Ordered by ascending time.",
|
||||||
|
"type": "array",
|
||||||
|
"items": {
|
||||||
|
"$ref": "TimedCount"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"id": "ErrorGroupStats"
|
||||||
|
},
|
||||||
|
"ErrorContext": {
|
||||||
|
"description": "A description of the context in which an error occurred.\nThis data should be provided by the application when reporting an error,\nunless the\nerror report has been generated automatically from Google App Engine logs.",
|
||||||
|
"type": "object",
|
||||||
|
"properties": {
|
||||||
|
"httpRequest": {
|
||||||
|
"description": "The HTTP request which was processed when the error was\ntriggered.",
|
||||||
|
"$ref": "HttpRequestContext"
|
||||||
|
},
|
||||||
|
"reportLocation": {
|
||||||
|
"description": "The location in the source code where the decision was made to\nreport the error, usually the place where it was logged.\nFor a logged exception this would be the source line where the\nexception is logged, usually close to the place where it was\ncaught. This value is in contrast to `Exception.cause_location`,\nwhich describes the source line where the exception was thrown.",
|
||||||
|
"$ref": "SourceLocation"
|
||||||
|
},
|
||||||
|
"user": {
|
||||||
|
"description": "The user who caused or was affected by the crash.\nThis can be a user ID, an email address, or an arbitrary token that\nuniquely identifies the user.\nWhen sending an error report, leave this field empty if the user was not\nlogged in. In this case the\nError Reporting system will use other data, such as remote IP address, to\ndistinguish affected users. See `affected_users_count` in\n`ErrorGroupStats`.",
|
||||||
|
"type": "string"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"id": "ErrorContext"
|
||||||
|
},
|
||||||
|
"ServiceContext": {
|
||||||
|
"description": "Describes a running service that sends errors.\nIts version changes over time and multiple versions can run in parallel.",
|
||||||
|
"type": "object",
|
||||||
|
"properties": {
|
||||||
|
"resourceType": {
|
||||||
|
"description": "Type of the MonitoredResource. List of possible values:\nhttps://cloud.google.com/monitoring/api/resources\n\nValue is set automatically for incoming errors and must not be set when\nreporting errors.",
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
"service": {
|
||||||
|
"description": "An identifier of the service, such as the name of the\nexecutable, job, or Google App Engine service name. This field is expected\nto have a low number of values that are relatively stable over time, as\nopposed to `version`, which can be changed whenever new code is deployed.\n\nContains the service name for error reports extracted from Google\nApp Engine logs or `default` if the App Engine default service is used.",
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
"version": {
|
||||||
|
"description": "Represents the source code version that the developer provided,\nwhich could represent a version label or a Git SHA-1 hash, for example.",
|
||||||
|
"type": "string"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"id": "ServiceContext"
|
||||||
|
},
|
||||||
|
"ErrorGroup": {
|
||||||
|
"description": "Description of a group of similar error events.",
|
||||||
|
"type": "object",
|
||||||
|
"properties": {
|
||||||
|
"groupId": {
|
||||||
|
"description": "Group IDs are unique for a given project. If the same kind of error\noccurs in different service contexts, it will receive the same group ID.",
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
"name": {
|
||||||
|
"description": "The group resource name.\nExample: \u003ccode\u003eprojects/my-project-123/groups/my-groupid\u003c/code\u003e",
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
"trackingIssues": {
|
||||||
|
"description": "Associated tracking issues.",
|
||||||
|
"type": "array",
|
||||||
|
"items": {
|
||||||
|
"$ref": "TrackingIssue"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"id": "ErrorGroup"
|
||||||
|
},
|
||||||
|
"ReportErrorEventResponse": {
|
||||||
|
"description": "Response for reporting an individual error event.\nData may be added to this message in the future.",
|
||||||
|
"type": "object",
|
||||||
|
"properties": {},
|
||||||
|
"id": "ReportErrorEventResponse"
|
||||||
|
},
|
||||||
|
"TrackingIssue": {
|
||||||
|
"description": "Information related to tracking the progress on resolving the error.",
|
||||||
|
"type": "object",
|
||||||
|
"properties": {
|
||||||
|
"url": {
|
||||||
|
"description": "A URL pointing to a related entry in an issue tracking system.\nExample: https://github.com/user/project/issues/4",
|
||||||
|
"type": "string"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"id": "TrackingIssue"
|
||||||
|
},
|
||||||
|
"DeleteEventsResponse": {
|
||||||
|
"description": "Response message for deleting error events.",
|
||||||
|
"type": "object",
|
||||||
|
"properties": {},
|
||||||
|
"id": "DeleteEventsResponse"
|
||||||
|
},
|
||||||
|
"ErrorEvent": {
|
||||||
|
"description": "An error event which is returned by the Error Reporting system.",
|
||||||
|
"type": "object",
|
||||||
|
"properties": {
|
||||||
|
"serviceContext": {
|
||||||
|
"description": "The `ServiceContext` for which this error was reported.",
|
||||||
|
"$ref": "ServiceContext"
|
||||||
|
},
|
||||||
|
"context": {
|
||||||
|
"description": "Data about the context in which the error occurred.",
|
||||||
|
"$ref": "ErrorContext"
|
||||||
|
},
|
||||||
|
"eventTime": {
|
||||||
|
"description": "Time when the event occurred as provided in the error report.\nIf the report did not contain a timestamp, the time the error was received\nby the Error Reporting system is used.",
|
||||||
|
"type": "string",
|
||||||
|
"format": "google-datetime"
|
||||||
|
},
|
||||||
|
"message": {
|
||||||
|
"description": "The stack trace that was reported or logged by the service.",
|
||||||
|
"type": "string"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"id": "ErrorEvent"
|
||||||
|
},
|
||||||
|
"ListEventsResponse": {
|
||||||
|
"description": "Contains a set of requested error events.",
|
||||||
|
"type": "object",
|
||||||
|
"properties": {
|
||||||
|
"nextPageToken": {
|
||||||
|
"description": "If non-empty, more results are available.\nPass this token, along with the same query parameters as the first\nrequest, to view the next page of results.",
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
"timeRangeBegin": {
|
||||||
|
"description": "The timestamp specifies the start time to which the request was restricted.",
|
||||||
|
"type": "string",
|
||||||
|
"format": "google-datetime"
|
||||||
|
},
|
||||||
|
"errorEvents": {
|
||||||
|
"description": "The error events which match the given request.",
|
||||||
|
"type": "array",
|
||||||
|
"items": {
|
||||||
|
"$ref": "ErrorEvent"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"id": "ListEventsResponse"
|
||||||
|
},
|
||||||
|
"TimedCount": {
|
||||||
|
"description": "The number of errors in a given time period.\nAll numbers are approximate since the error events are sampled\nbefore counting them.",
|
||||||
|
"type": "object",
|
||||||
|
"properties": {
|
||||||
|
"startTime": {
|
||||||
|
"description": "Start of the time period to which `count` refers (included).",
|
||||||
|
"type": "string",
|
||||||
|
"format": "google-datetime"
|
||||||
|
},
|
||||||
|
"endTime": {
|
||||||
|
"description": "End of the time period to which `count` refers (excluded).",
|
||||||
|
"type": "string",
|
||||||
|
"format": "google-datetime"
|
||||||
|
},
|
||||||
|
"count": {
|
||||||
|
"description": "Approximate number of occurrences in the given time period.",
|
||||||
|
"type": "string",
|
||||||
|
"format": "int64"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"id": "TimedCount"
|
||||||
|
},
|
||||||
|
"HttpRequestContext": {
|
||||||
|
"description": "HTTP request data that is related to a reported error.\nThis data should be provided by the application when reporting an error,\nunless the\nerror report has been generated automatically from Google App Engine logs.",
|
||||||
|
"type": "object",
|
||||||
|
"properties": {
|
||||||
|
"method": {
|
||||||
|
"description": "The type of HTTP request, such as `GET`, `POST`, etc.",
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
"responseStatusCode": {
|
||||||
|
"description": "The HTTP response status code for the request.",
|
||||||
|
"type": "integer",
|
||||||
|
"format": "int32"
|
||||||
|
},
|
||||||
|
"remoteIp": {
|
||||||
|
"description": "The IP address from which the request originated.\nThis can be IPv4, IPv6, or a token which is derived from the\nIP address, depending on the data that has been provided\nin the error report.",
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
"url": {
|
||||||
|
"description": "The URL of the request.",
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
"referrer": {
|
||||||
|
"description": "The referrer information that is provided with the request.",
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
"userAgent": {
|
||||||
|
"description": "The user agent information that is provided with the request.",
|
||||||
|
"type": "string"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"id": "HttpRequestContext"
|
||||||
|
},
|
||||||
|
"ListGroupStatsResponse": {
|
||||||
|
"description": "Contains a set of requested error group stats.",
|
||||||
|
"type": "object",
|
||||||
|
"properties": {
|
||||||
|
"nextPageToken": {
|
||||||
|
"description": "If non-empty, more results are available.\nPass this token, along with the same query parameters as the first\nrequest, to view the next page of results.",
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
"timeRangeBegin": {
|
||||||
|
"description": "The timestamp specifies the start time to which the request was restricted.\nThe start time is set based on the requested time range. It may be adjusted\nto a later time if a project has exceeded the storage quota and older data\nhas been deleted.",
|
||||||
|
"type": "string",
|
||||||
|
"format": "google-datetime"
|
||||||
|
},
|
||||||
|
"errorGroupStats": {
|
||||||
|
"description": "The error group stats which match the given request.",
|
||||||
|
"type": "array",
|
||||||
|
"items": {
|
||||||
|
"$ref": "ErrorGroupStats"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"id": "ListGroupStatsResponse"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"revision": "20161114",
|
||||||
|
"basePath": "",
|
||||||
|
"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",
|
||||||
|
"canonicalName": "Clouderrorreporting",
|
||||||
|
"discoveryVersion": "v1",
|
||||||
|
"baseUrl": "https://clouderrorreporting.googleapis.com/",
|
||||||
|
"name": "clouderrorreporting",
|
||||||
|
"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/error-reporting/",
|
||||||
|
"ownerDomain": "google.com",
|
||||||
|
"batchPath": "batch",
|
||||||
|
"servicePath": "",
|
||||||
|
"ownerName": "Google",
|
||||||
|
"version": "v1beta1",
|
||||||
|
"rootUrl": "https://clouderrorreporting.googleapis.com/",
|
||||||
|
"kind": "discovery#restDescription"
|
||||||
|
}
|
||||||
|
|||||||
@@ -1,19 +1,19 @@
|
|||||||
{
|
{
|
||||||
"kind": "discovery#restDescription",
|
"kind": "discovery#restDescription",
|
||||||
"etag": "\"C5oy1hgQsABtYOYIOXWcR3BgYqU/8gt81fb3PlHUWsNgH1AXPodtr_c\"",
|
"etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/mLggzdz9EvP0lVEQoxoRvdSJShg\"",
|
||||||
"discoveryVersion": "v1",
|
"discoveryVersion": "v1",
|
||||||
"id": "cloudmonitoring:v2beta2",
|
"id": "cloudmonitoring:v2beta2",
|
||||||
"name": "cloudmonitoring",
|
"name": "cloudmonitoring",
|
||||||
"canonicalName": "Cloud Monitoring",
|
"canonicalName": "Cloud Monitoring",
|
||||||
"version": "v2beta2",
|
"version": "v2beta2",
|
||||||
"revision": "20160718",
|
"revision": "20161031",
|
||||||
"title": "Cloud Monitoring API",
|
"title": "Cloud Monitoring API",
|
||||||
"description": "Accesses Google Cloud Monitoring data.",
|
"description": "Accesses Google Cloud Monitoring data.",
|
||||||
"ownerDomain": "google.com",
|
"ownerDomain": "google.com",
|
||||||
"ownerName": "Google",
|
"ownerName": "Google",
|
||||||
"icons": {
|
"icons": {
|
||||||
"x16": "http://www.google.com/images/icons/product/search-16.gif",
|
"x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png",
|
||||||
"x32": "http://www.google.com/images/icons/product/search-32.gif"
|
"x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png"
|
||||||
},
|
},
|
||||||
"documentationLink": "https://cloud.google.com/monitoring/v2beta2/",
|
"documentationLink": "https://cloud.google.com/monitoring/v2beta2/",
|
||||||
"protocol": "rest",
|
"protocol": "rest",
|
||||||
|
|||||||
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",
|
"kind": "discovery#restDescription",
|
||||||
"etag": "\"C5oy1hgQsABtYOYIOXWcR3BgYqU/avS4leRd3oaImhwLi14P2pt74p0\"",
|
"etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/avS4leRd3oaImhwLi14P2pt74p0\"",
|
||||||
"discoveryVersion": "v1",
|
"discoveryVersion": "v1",
|
||||||
"id": "cloudtrace:v1",
|
"id": "cloudtrace:v1",
|
||||||
"name": "cloudtrace",
|
"name": "cloudtrace",
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"kind": "discovery#restDescription",
|
"kind": "discovery#restDescription",
|
||||||
"etag": "\"C5oy1hgQsABtYOYIOXWcR3BgYqU/lOQeocShB0dxGwrtxzB56jZ95Xk\"",
|
"etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/lOQeocShB0dxGwrtxzB56jZ95Xk\"",
|
||||||
"discoveryVersion": "v1",
|
"discoveryVersion": "v1",
|
||||||
"id": "clouduseraccounts:alpha",
|
"id": "clouduseraccounts:alpha",
|
||||||
"name": "clouduseraccounts",
|
"name": "clouduseraccounts",
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"kind": "discovery#restDescription",
|
"kind": "discovery#restDescription",
|
||||||
"etag": "\"C5oy1hgQsABtYOYIOXWcR3BgYqU/-BiORd5nMN3AbHTR5Pi2H1JslEk\"",
|
"etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/-BiORd5nMN3AbHTR5Pi2H1JslEk\"",
|
||||||
"discoveryVersion": "v1",
|
"discoveryVersion": "v1",
|
||||||
"id": "clouduseraccounts:beta",
|
"id": "clouduseraccounts:beta",
|
||||||
"name": "clouduseraccounts",
|
"name": "clouduseraccounts",
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"kind": "discovery#restDescription",
|
"kind": "discovery#restDescription",
|
||||||
"etag": "\"C5oy1hgQsABtYOYIOXWcR3BgYqU/DmNFUFGhSh7oLg7RNX5k36KX4oA\"",
|
"etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/DmNFUFGhSh7oLg7RNX5k36KX4oA\"",
|
||||||
"discoveryVersion": "v1",
|
"discoveryVersion": "v1",
|
||||||
"id": "clouduseraccounts:vm_alpha",
|
"id": "clouduseraccounts:vm_alpha",
|
||||||
"name": "clouduseraccounts",
|
"name": "clouduseraccounts",
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"kind": "discovery#restDescription",
|
"kind": "discovery#restDescription",
|
||||||
"etag": "\"C5oy1hgQsABtYOYIOXWcR3BgYqU/NOgAExjYfIWiV_BL3FlcslmjncY\"",
|
"etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/NOgAExjYfIWiV_BL3FlcslmjncY\"",
|
||||||
"discoveryVersion": "v1",
|
"discoveryVersion": "v1",
|
||||||
"id": "clouduseraccounts:vm_beta",
|
"id": "clouduseraccounts:vm_beta",
|
||||||
"name": "clouduseraccounts",
|
"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,19 +1,19 @@
|
|||||||
{
|
{
|
||||||
"kind": "discovery#restDescription",
|
"kind": "discovery#restDescription",
|
||||||
"etag": "\"C5oy1hgQsABtYOYIOXWcR3BgYqU/r9HedtrzUW2pbu5XQ5oErnzKmxQ\"",
|
"etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/rHWbtxT3gC8DAqrI4kJjmo2JS7Q\"",
|
||||||
"discoveryVersion": "v1",
|
"discoveryVersion": "v1",
|
||||||
"id": "consumersurveys:v2",
|
"id": "consumersurveys:v2",
|
||||||
"name": "consumersurveys",
|
"name": "consumersurveys",
|
||||||
"canonicalName": "Consumer Surveys",
|
"canonicalName": "Consumer Surveys",
|
||||||
"version": "v2",
|
"version": "v2",
|
||||||
"revision": "20160718",
|
"revision": "20161101",
|
||||||
"title": "Consumer Surveys API",
|
"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.",
|
"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",
|
"ownerDomain": "google.com",
|
||||||
"ownerName": "Google",
|
"ownerName": "Google",
|
||||||
"icons": {
|
"icons": {
|
||||||
"x16": "http://www.google.com/images/icons/product/search-16.gif",
|
"x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png",
|
||||||
"x32": "http://www.google.com/images/icons/product/search-32.gif"
|
"x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png"
|
||||||
},
|
},
|
||||||
"protocol": "rest",
|
"protocol": "rest",
|
||||||
"baseUrl": "https://www.googleapis.com/consumersurveys/v2/",
|
"baseUrl": "https://www.googleapis.com/consumersurveys/v2/",
|
||||||
@@ -101,31 +101,24 @@
|
|||||||
"MobileAppPanel": {
|
"MobileAppPanel": {
|
||||||
"id": "MobileAppPanel",
|
"id": "MobileAppPanel",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"description": "Representation of an individual pre-defined panel object defining a targeted audience of opinion rewards mobile app users.",
|
|
||||||
"properties": {
|
"properties": {
|
||||||
"country": {
|
"country": {
|
||||||
"type": "string",
|
"type": "string"
|
||||||
"description": "Country code for the country of the users that the panel contains. Uses standard ISO 3166-1 2-character language codes. For instance, 'US' for the United States, and 'GB' for the United Kingdom. Any survey created targeting this panel must also target the corresponding country."
|
|
||||||
},
|
},
|
||||||
"isPublicPanel": {
|
"isPublicPanel": {
|
||||||
"type": "boolean",
|
"type": "boolean"
|
||||||
"description": "Whether or not the panel is accessible to all API users."
|
|
||||||
},
|
},
|
||||||
"language": {
|
"language": {
|
||||||
"type": "string",
|
"type": "string"
|
||||||
"description": "Language code that the panel can target. For instance, 'en-US'. Uses standard BCP47 language codes. See specification. Any survey created targeting this panel must also target the corresponding language."
|
|
||||||
},
|
},
|
||||||
"mobileAppPanelId": {
|
"mobileAppPanelId": {
|
||||||
"type": "string",
|
"type": "string"
|
||||||
"description": "Unique panel ID string. This corresponds to the mobile_app_panel_id used in Survey Insert requests."
|
|
||||||
},
|
},
|
||||||
"name": {
|
"name": {
|
||||||
"type": "string",
|
"type": "string"
|
||||||
"description": "Human readable name of the audience panel."
|
|
||||||
},
|
},
|
||||||
"owners": {
|
"owners": {
|
||||||
"type": "array",
|
"type": "array",
|
||||||
"description": "List of email addresses for users who can target members of this panel. Must contain at least the address of the user making the API call for panels that are not public. This field will be empty for public panels.",
|
|
||||||
"items": {
|
"items": {
|
||||||
"type": "string"
|
"type": "string"
|
||||||
}
|
}
|
||||||
@@ -200,64 +193,46 @@
|
|||||||
"Survey": {
|
"Survey": {
|
||||||
"id": "Survey",
|
"id": "Survey",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"description": "Representation of an individual survey object.",
|
|
||||||
"properties": {
|
"properties": {
|
||||||
"audience": {
|
"audience": {
|
||||||
"$ref": "SurveyAudience",
|
"$ref": "SurveyAudience"
|
||||||
"description": "Targeting-criteria message containing demographic information"
|
|
||||||
},
|
},
|
||||||
"cost": {
|
"cost": {
|
||||||
"$ref": "SurveyCost",
|
"$ref": "SurveyCost"
|
||||||
"description": "Cost to run the survey and collect the necessary number of responses."
|
|
||||||
},
|
},
|
||||||
"customerData": {
|
"customerData": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "Additional information to store on behalf of the API consumer and associate with this question. This binary blob is treated as opaque. This field is limited to 64K bytes.",
|
|
||||||
"format": "byte"
|
"format": "byte"
|
||||||
},
|
},
|
||||||
"description": {
|
"description": {
|
||||||
"type": "string",
|
"type": "string"
|
||||||
"description": "Text description of the survey."
|
|
||||||
},
|
},
|
||||||
"owners": {
|
"owners": {
|
||||||
"type": "array",
|
"type": "array",
|
||||||
"description": "List of email addresses for survey owners. Must contain at least the address of the user making the API call.",
|
|
||||||
"items": {
|
"items": {
|
||||||
"type": "string"
|
"type": "string"
|
||||||
},
|
|
||||||
"annotations": {
|
|
||||||
"required": [
|
|
||||||
"consumersurveys.surveys.insert"
|
|
||||||
]
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"questions": {
|
"questions": {
|
||||||
"type": "array",
|
"type": "array",
|
||||||
"description": "List of questions defining the survey.",
|
|
||||||
"items": {
|
"items": {
|
||||||
"$ref": "SurveyQuestion"
|
"$ref": "SurveyQuestion"
|
||||||
},
|
|
||||||
"annotations": {
|
|
||||||
"required": [
|
|
||||||
"consumersurveys.surveys.insert"
|
|
||||||
]
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"rejectionReason": {
|
||||||
|
"$ref": "SurveyRejection"
|
||||||
|
},
|
||||||
"state": {
|
"state": {
|
||||||
"type": "string",
|
"type": "string"
|
||||||
"description": "State that the survey is in."
|
|
||||||
},
|
},
|
||||||
"surveyUrlId": {
|
"surveyUrlId": {
|
||||||
"type": "string",
|
"type": "string"
|
||||||
"description": "Unique survey ID, that is viewable in the URL of the Survey Creator UI"
|
|
||||||
},
|
},
|
||||||
"title": {
|
"title": {
|
||||||
"type": "string",
|
"type": "string"
|
||||||
"description": "Optional name that will be given to the survey."
|
|
||||||
},
|
},
|
||||||
"wantedResponseCount": {
|
"wantedResponseCount": {
|
||||||
"type": "integer",
|
"type": "integer",
|
||||||
"description": "Number of responses desired for the survey.",
|
|
||||||
"format": "int32"
|
"format": "int32"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -265,76 +240,53 @@
|
|||||||
"SurveyAudience": {
|
"SurveyAudience": {
|
||||||
"id": "SurveyAudience",
|
"id": "SurveyAudience",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"description": "Specifications for the target audience of a survey run through the API.",
|
|
||||||
"properties": {
|
"properties": {
|
||||||
"ages": {
|
"ages": {
|
||||||
"type": "array",
|
"type": "array",
|
||||||
"description": "Optional list of age buckets to target. Supported age buckets are: ['18-24', '25-34', '35-44', '45-54', '55-64', '65+']",
|
|
||||||
"items": {
|
"items": {
|
||||||
"type": "string"
|
"type": "string"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"country": {
|
"country": {
|
||||||
"type": "string",
|
"type": "string"
|
||||||
"description": "Required country code that surveys should be targeted to. Accepts standard ISO 3166-1 2 character language codes. For instance, 'US' for the United States, and 'GB' for the United Kingdom.",
|
|
||||||
"annotations": {
|
|
||||||
"required": [
|
|
||||||
"consumersurveys.surveys.insert"
|
|
||||||
]
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
"countrySubdivision": {
|
"countrySubdivision": {
|
||||||
"type": "string",
|
"type": "string"
|
||||||
"description": "Country subdivision (states/provinces/etc) that surveys should be targeted to. For all countries except GB, ISO-3166-2 subdivision code is required (eg. 'US-OH' for Ohio, United States). For GB, NUTS 1 statistical region codes for the United Kingdom is required (eg. 'UK-UKC' for North East England)."
|
|
||||||
},
|
},
|
||||||
"gender": {
|
"gender": {
|
||||||
"type": "string",
|
"type": "string"
|
||||||
"description": "Optional gender to target."
|
|
||||||
},
|
},
|
||||||
"languages": {
|
"languages": {
|
||||||
"type": "array",
|
"type": "array",
|
||||||
"description": "Language code that surveys should be targeted to. For instance, 'en-US'. Surveys may target bilingual users by specifying a list of language codes (for example, 'de' and 'en-US'). In that case, all languages will be used for targeting users but the survey content (which is displayed) must match the first language listed. Accepts standard BCP47 language codes. See specification.",
|
|
||||||
"items": {
|
"items": {
|
||||||
"type": "string"
|
"type": "string"
|
||||||
},
|
|
||||||
"annotations": {
|
|
||||||
"required": [
|
|
||||||
"consumersurveys.surveys.insert"
|
|
||||||
]
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"mobileAppPanelId": {
|
"mobileAppPanelId": {
|
||||||
"type": "string",
|
"type": "string"
|
||||||
"description": "Key for predefined panel that causes survey to be sent to a predefined set of Opinion Rewards App users. You must set PopulationSource to ANDROID_APP_PANEL to use this field."
|
|
||||||
},
|
},
|
||||||
"populationSource": {
|
"populationSource": {
|
||||||
"type": "string",
|
"type": "string"
|
||||||
"description": "Online population source where the respondents are sampled from."
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"SurveyCost": {
|
"SurveyCost": {
|
||||||
"id": "SurveyCost",
|
"id": "SurveyCost",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"description": "Message defining the cost to run a given survey through API.",
|
|
||||||
"properties": {
|
"properties": {
|
||||||
"costPerResponseNanos": {
|
"costPerResponseNanos": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "Cost per survey response in nano units of the given currency. To get the total cost for a survey, multiply this value by wanted_response_count.",
|
|
||||||
"format": "int64"
|
"format": "int64"
|
||||||
},
|
},
|
||||||
"currencyCode": {
|
"currencyCode": {
|
||||||
"type": "string",
|
"type": "string"
|
||||||
"description": "Currency code that the cost is given in."
|
|
||||||
},
|
},
|
||||||
"maxCostPerResponseNanos": {
|
"maxCostPerResponseNanos": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "Threshold to start a survey automatically if the quoted price is at most this value. When a survey has a Screener (threshold) question, it must go through an incidence pricing test to determine the final cost per response. Typically you will have to make a followup call to start the survey giving the final computed cost per response. If the survey has no threshold_answers, setting this property will return an error. By specifying this property, you indicate the max price per response you are willing to pay in advance of the incidence test. If the price turns out to be lower than the specified value, the survey will begin immediately and you will be charged at the rate determined by the incidence pricing test. If the price turns out to be greater than the specified value the survey will not be started and you will instead be notified what price was determined by the incidence test. At that point, you must raise the value of this property to be greater than or equal to that cost before attempting to start the survey again. This will immediately start the survey as long the incidence test was run within the last 21 days.",
|
|
||||||
"format": "int64"
|
"format": "int64"
|
||||||
},
|
},
|
||||||
"nanos": {
|
"nanos": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "Cost of survey in nano units of the given currency. DEPRECATED in favor of cost_per_response_nanos",
|
|
||||||
"format": "int64"
|
"format": "int64"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -342,26 +294,21 @@
|
|||||||
"SurveyQuestion": {
|
"SurveyQuestion": {
|
||||||
"id": "SurveyQuestion",
|
"id": "SurveyQuestion",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"description": "Message defining the question specifications.",
|
|
||||||
"properties": {
|
"properties": {
|
||||||
"answerOrder": {
|
"answerOrder": {
|
||||||
"type": "string",
|
"type": "string"
|
||||||
"description": "The randomization option for multiple choice and multi-select questions. If not specified, this option defaults to randomize."
|
|
||||||
},
|
},
|
||||||
"answers": {
|
"answers": {
|
||||||
"type": "array",
|
"type": "array",
|
||||||
"description": "Required list of answer options for a question.",
|
|
||||||
"items": {
|
"items": {
|
||||||
"type": "string"
|
"type": "string"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"hasOther": {
|
"hasOther": {
|
||||||
"type": "boolean",
|
"type": "boolean"
|
||||||
"description": "Option to allow open-ended text box for Single Answer and Multiple Answer question types. This can be used with SINGLE_ANSWER, SINGLE_ANSWER_WITH_IMAGE, MULTIPLE_ANSWERS, and MULTIPLE_ANSWERS_WITH_IMAGE question types."
|
|
||||||
},
|
},
|
||||||
"highValueLabel": {
|
"highValueLabel": {
|
||||||
"type": "string",
|
"type": "string"
|
||||||
"description": "For rating questions, the text for the higher end of the scale, such as 'Best'. For numeric questions, a string representing a floating-point that is the maximum allowed number for a response."
|
|
||||||
},
|
},
|
||||||
"images": {
|
"images": {
|
||||||
"type": "array",
|
"type": "array",
|
||||||
@@ -370,102 +317,89 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"lastAnswerPositionPinned": {
|
"lastAnswerPositionPinned": {
|
||||||
"type": "boolean",
|
"type": "boolean"
|
||||||
"description": "Currently only support pinning an answer option to the last position."
|
|
||||||
},
|
},
|
||||||
"lowValueLabel": {
|
"lowValueLabel": {
|
||||||
"type": "string",
|
"type": "string"
|
||||||
"description": "For rating questions, the text for the lower end of the scale, such as 'Worst'. For numeric questions, a string representing a floating-point that is the minimum allowed number for a response."
|
|
||||||
},
|
},
|
||||||
"mustPickSuggestion": {
|
"mustPickSuggestion": {
|
||||||
"type": "boolean",
|
"type": "boolean"
|
||||||
"description": "Option to force the user to pick one of the open text suggestions. This requires that suggestions are provided for this question."
|
|
||||||
},
|
},
|
||||||
"numStars": {
|
"numStars": {
|
||||||
"type": "string",
|
"type": "string"
|
||||||
"description": "Number of stars to use for ratings questions."
|
|
||||||
},
|
},
|
||||||
"openTextPlaceholder": {
|
"openTextPlaceholder": {
|
||||||
"type": "string",
|
"type": "string"
|
||||||
"description": "Placeholder text for an open text question."
|
|
||||||
},
|
},
|
||||||
"openTextSuggestions": {
|
"openTextSuggestions": {
|
||||||
"type": "array",
|
"type": "array",
|
||||||
"description": "A list of suggested answers for open text question auto-complete. This is only valid if single_line_response is true.",
|
|
||||||
"items": {
|
"items": {
|
||||||
"type": "string"
|
"type": "string"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"question": {
|
"question": {
|
||||||
"type": "string",
|
"type": "string"
|
||||||
"description": "Required question text shown to the respondent."
|
|
||||||
},
|
},
|
||||||
"sentimentText": {
|
"sentimentText": {
|
||||||
"type": "string",
|
"type": "string"
|
||||||
"description": "Used by the Rating Scale with Text question type. This text goes along with the question field that is presented to the respondent, and is the actual text that the respondent is asked to rate."
|
|
||||||
},
|
},
|
||||||
"singleLineResponse": {
|
"singleLineResponse": {
|
||||||
"type": "boolean",
|
"type": "boolean"
|
||||||
"description": "Option to allow multiple line open text responses instead of a single line response. Note that we don't show auto-complete suggestions with multiple line responses."
|
|
||||||
},
|
},
|
||||||
"thresholdAnswers": {
|
"thresholdAnswers": {
|
||||||
"type": "array",
|
"type": "array",
|
||||||
"description": "The threshold/screener answer options, which will screen a user into the rest of the survey. These will be a subset of the answer option strings.",
|
|
||||||
"items": {
|
"items": {
|
||||||
"type": "string"
|
"type": "string"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"type": {
|
"type": {
|
||||||
"type": "string",
|
"type": "string"
|
||||||
"description": "Required field defining the question type. For details about configuring different type of questions, consult the question configuration guide.",
|
|
||||||
"annotations": {
|
|
||||||
"required": [
|
|
||||||
"consumersurveys.surveys.insert"
|
|
||||||
]
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
"unitOfMeasurementLabel": {
|
"unitOfMeasurementLabel": {
|
||||||
"type": "string",
|
"type": "string"
|
||||||
"description": "Optional unit of measurement for display (for example: hours, people, miles)."
|
|
||||||
},
|
},
|
||||||
"videoId": {
|
"videoId": {
|
||||||
"type": "string",
|
"type": "string"
|
||||||
"description": "The YouTube video ID to be show in video questions."
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"SurveyQuestionImage": {
|
"SurveyQuestionImage": {
|
||||||
"id": "SurveyQuestionImage",
|
"id": "SurveyQuestionImage",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"description": "Container object for image data and alt_text.",
|
|
||||||
"properties": {
|
"properties": {
|
||||||
"altText": {
|
"altText": {
|
||||||
"type": "string",
|
"type": "string"
|
||||||
"description": "The alt text property used in image tags is required for all images."
|
|
||||||
},
|
},
|
||||||
"data": {
|
"data": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "Inline jpeg, gif, tiff, bmp, or png image raw bytes for an image question types.",
|
|
||||||
"format": "byte"
|
"format": "byte"
|
||||||
},
|
},
|
||||||
"url": {
|
"url": {
|
||||||
"type": "string",
|
"type": "string"
|
||||||
"description": "The read-only URL for the hosted images."
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"SurveyRejection": {
|
||||||
|
"id": "SurveyRejection",
|
||||||
|
"type": "object",
|
||||||
|
"properties": {
|
||||||
|
"explanation": {
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
"type": {
|
||||||
|
"type": "string"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"SurveyResults": {
|
"SurveyResults": {
|
||||||
"id": "SurveyResults",
|
"id": "SurveyResults",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"description": "Reference to the current results for a given survey.",
|
|
||||||
"properties": {
|
"properties": {
|
||||||
"status": {
|
"status": {
|
||||||
"type": "string",
|
"type": "string"
|
||||||
"description": "Human readable string describing the status of the request."
|
|
||||||
},
|
},
|
||||||
"surveyUrlId": {
|
"surveyUrlId": {
|
||||||
"type": "string",
|
"type": "string"
|
||||||
"description": "External survey ID as viewable by survey owners in the editor view."
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -647,7 +581,7 @@
|
|||||||
"id": "consumersurveys.results.get",
|
"id": "consumersurveys.results.get",
|
||||||
"path": "surveys/{surveyUrlId}/results",
|
"path": "surveys/{surveyUrlId}/results",
|
||||||
"httpMethod": "GET",
|
"httpMethod": "GET",
|
||||||
"description": "Retrieves any survey results that have been produced so far. Results are formatted as an Excel file.",
|
"description": "Retrieves any survey results that have been produced so far. Results are formatted as an Excel file. You must add \"?alt=media\" to the URL as an argument to get results.",
|
||||||
"parameters": {
|
"parameters": {
|
||||||
"surveyUrlId": {
|
"surveyUrlId": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"kind": "discovery#restDescription",
|
"kind": "discovery#restDescription",
|
||||||
"etag": "\"C5oy1hgQsABtYOYIOXWcR3BgYqU/cpP4K9eaLrLwMGtsdl5oXjxb8rw\"",
|
"etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/cpP4K9eaLrLwMGtsdl5oXjxb8rw\"",
|
||||||
"discoveryVersion": "v1",
|
"discoveryVersion": "v1",
|
||||||
"id": "container:v1",
|
"id": "container:v1",
|
||||||
"name": "container",
|
"name": "container",
|
||||||
|
|||||||
@@ -1,19 +1,19 @@
|
|||||||
{
|
{
|
||||||
"kind": "discovery#restDescription",
|
"kind": "discovery#restDescription",
|
||||||
"etag": "\"C5oy1hgQsABtYOYIOXWcR3BgYqU/KYk0P4hLurettj7gPX6wNnI67WQ\"",
|
"etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/VEEyLOh5uQoE1GRmT6bPbJj1uoA\"",
|
||||||
"discoveryVersion": "v1",
|
"discoveryVersion": "v1",
|
||||||
"id": "content:v2",
|
"id": "content:v2",
|
||||||
"name": "content",
|
"name": "content",
|
||||||
"canonicalName": "Shopping Content",
|
"canonicalName": "Shopping Content",
|
||||||
"version": "v2",
|
"version": "v2",
|
||||||
"revision": "20160905",
|
"revision": "20161205",
|
||||||
"title": "Content API for Shopping",
|
"title": "Content API for Shopping",
|
||||||
"description": "Manages product items, inventory, and Merchant Center accounts for Google Shopping.",
|
"description": "Manages product items, inventory, and Merchant Center accounts for Google Shopping.",
|
||||||
"ownerDomain": "google.com",
|
"ownerDomain": "google.com",
|
||||||
"ownerName": "Google",
|
"ownerName": "Google",
|
||||||
"icons": {
|
"icons": {
|
||||||
"x16": "http://www.google.com/images/icons/product/search-16.gif",
|
"x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png",
|
||||||
"x32": "http://www.google.com/images/icons/product/search-32.gif"
|
"x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png"
|
||||||
},
|
},
|
||||||
"documentationLink": "https://developers.google.com/shopping-content",
|
"documentationLink": "https://developers.google.com/shopping-content",
|
||||||
"protocol": "rest",
|
"protocol": "rest",
|
||||||
@@ -1766,6 +1766,10 @@
|
|||||||
"$ref": "LoyaltyPoints",
|
"$ref": "LoyaltyPoints",
|
||||||
"description": "Loyalty points that users receive after purchasing the item. Japan only."
|
"description": "Loyalty points that users receive after purchasing the item. Japan only."
|
||||||
},
|
},
|
||||||
|
"pickup": {
|
||||||
|
"$ref": "InventoryPickup",
|
||||||
|
"description": "Store pickup information. Only supported for local inventory. Not setting pickup means \"don't update\" while setting it to the empty value ({} in JSON) means \"delete\". Otherwise, pickupMethod and pickupSla must be set together, unless pickupMethod is \"not supported\"."
|
||||||
|
},
|
||||||
"price": {
|
"price": {
|
||||||
"$ref": "Price",
|
"$ref": "Price",
|
||||||
"description": "The price of the product."
|
"description": "The price of the product."
|
||||||
@@ -1871,6 +1875,20 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"InventoryPickup": {
|
||||||
|
"id": "InventoryPickup",
|
||||||
|
"type": "object",
|
||||||
|
"properties": {
|
||||||
|
"pickupMethod": {
|
||||||
|
"type": "string",
|
||||||
|
"description": "Whether store pickup is available for this offer and whether the pickup option should be shown as buy, reserve, or not supported. Only supported for local inventory. Unless the value is \"not supported\", must be submitted together with pickupSla."
|
||||||
|
},
|
||||||
|
"pickupSla": {
|
||||||
|
"type": "string",
|
||||||
|
"description": "The expected date that an order will be ready for pickup, relative to when the order is placed. Only supported for local inventory. Must be submitted together with pickupMethod."
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
"InventorySetRequest": {
|
"InventorySetRequest": {
|
||||||
"id": "InventorySetRequest",
|
"id": "InventorySetRequest",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
@@ -1887,6 +1905,10 @@
|
|||||||
"$ref": "LoyaltyPoints",
|
"$ref": "LoyaltyPoints",
|
||||||
"description": "Loyalty points that users receive after purchasing the item. Japan only."
|
"description": "Loyalty points that users receive after purchasing the item. Japan only."
|
||||||
},
|
},
|
||||||
|
"pickup": {
|
||||||
|
"$ref": "InventoryPickup",
|
||||||
|
"description": "Store pickup information. Only supported for local inventory. Not setting pickup means \"don't update\" while setting it to the empty value ({} in JSON) means \"delete\". Otherwise, pickupMethod and pickupSla must be set together, unless pickupMethod is \"not supported\"."
|
||||||
|
},
|
||||||
"price": {
|
"price": {
|
||||||
"$ref": "Price",
|
"$ref": "Price",
|
||||||
"description": "The price of the product."
|
"description": "The price of the product."
|
||||||
@@ -2135,7 +2157,7 @@
|
|||||||
},
|
},
|
||||||
"explicitMarketingPreference": {
|
"explicitMarketingPreference": {
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
"description": "If set, this indicates the user explicitly chose to opt in or out of providing marketing rights to the merchant. If unset, this indicates the user has already made this choice in a previous purchase, and was thus not shown the marketing right opt in/out checkbox during the Purchases on Google checkout flow."
|
"description": "If set, this indicates the user explicitly chose to opt in or out of providing marketing rights to the merchant. If unset, this indicates the user has already made this choice in a previous purchase, and was thus not shown the marketing right opt in/out checkbox during the checkout flow."
|
||||||
},
|
},
|
||||||
"fullName": {
|
"fullName": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
@@ -4524,7 +4546,7 @@
|
|||||||
},
|
},
|
||||||
"explicitMarketingPreference": {
|
"explicitMarketingPreference": {
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
"description": "If set, this indicates the user explicitly chose to opt in or out of providing marketing rights to the merchant. If unset, this indicates the user has already made this choice in a previous purchase, and was thus not shown the marketing right opt in/out checkbox during the Purchases on Google checkout flow. Optional."
|
"description": "If set, this indicates the user explicitly chose to opt in or out of providing marketing rights to the merchant. If unset, this indicates the user has already made this choice in a previous purchase, and was thus not shown the marketing right opt in/out checkbox during the checkout flow. Optional."
|
||||||
},
|
},
|
||||||
"fullName": {
|
"fullName": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
@@ -4806,7 +4828,7 @@
|
|||||||
"id": "content.accounts.delete",
|
"id": "content.accounts.delete",
|
||||||
"path": "{merchantId}/accounts/{accountId}",
|
"path": "{merchantId}/accounts/{accountId}",
|
||||||
"httpMethod": "DELETE",
|
"httpMethod": "DELETE",
|
||||||
"description": "Deletes a Merchant Center sub-account.",
|
"description": "Deletes a Merchant Center sub-account. This method can only be called for multi-client accounts.",
|
||||||
"parameters": {
|
"parameters": {
|
||||||
"accountId": {
|
"accountId": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
@@ -4840,7 +4862,7 @@
|
|||||||
"id": "content.accounts.get",
|
"id": "content.accounts.get",
|
||||||
"path": "{merchantId}/accounts/{accountId}",
|
"path": "{merchantId}/accounts/{accountId}",
|
||||||
"httpMethod": "GET",
|
"httpMethod": "GET",
|
||||||
"description": "Retrieves a Merchant Center account.",
|
"description": "Retrieves 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": {
|
"parameters": {
|
||||||
"accountId": {
|
"accountId": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
@@ -4872,7 +4894,7 @@
|
|||||||
"id": "content.accounts.insert",
|
"id": "content.accounts.insert",
|
||||||
"path": "{merchantId}/accounts",
|
"path": "{merchantId}/accounts",
|
||||||
"httpMethod": "POST",
|
"httpMethod": "POST",
|
||||||
"description": "Creates a Merchant Center sub-account.",
|
"description": "Creates a Merchant Center sub-account. This method can only be called for multi-client accounts.",
|
||||||
"parameters": {
|
"parameters": {
|
||||||
"dryRun": {
|
"dryRun": {
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
@@ -4904,7 +4926,7 @@
|
|||||||
"id": "content.accounts.list",
|
"id": "content.accounts.list",
|
||||||
"path": "{merchantId}/accounts",
|
"path": "{merchantId}/accounts",
|
||||||
"httpMethod": "GET",
|
"httpMethod": "GET",
|
||||||
"description": "Lists the sub-accounts in your Merchant Center account.",
|
"description": "Lists the sub-accounts in your Merchant Center account. This method can only be called for multi-client accounts.",
|
||||||
"parameters": {
|
"parameters": {
|
||||||
"maxResults": {
|
"maxResults": {
|
||||||
"type": "integer",
|
"type": "integer",
|
||||||
@@ -4939,7 +4961,7 @@
|
|||||||
"id": "content.accounts.patch",
|
"id": "content.accounts.patch",
|
||||||
"path": "{merchantId}/accounts/{accountId}",
|
"path": "{merchantId}/accounts/{accountId}",
|
||||||
"httpMethod": "PATCH",
|
"httpMethod": "PATCH",
|
||||||
"description": "Updates a Merchant Center account. This method supports patch semantics.",
|
"description": "Updates a Merchant Center account. This method can only be called for multi-client accounts. This method supports patch semantics.",
|
||||||
"parameters": {
|
"parameters": {
|
||||||
"accountId": {
|
"accountId": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
@@ -4979,7 +5001,7 @@
|
|||||||
"id": "content.accounts.update",
|
"id": "content.accounts.update",
|
||||||
"path": "{merchantId}/accounts/{accountId}",
|
"path": "{merchantId}/accounts/{accountId}",
|
||||||
"httpMethod": "PUT",
|
"httpMethod": "PUT",
|
||||||
"description": "Updates a Merchant Center account.",
|
"description": "Updates a Merchant Center account. This method can only be called for multi-client accounts.",
|
||||||
"parameters": {
|
"parameters": {
|
||||||
"accountId": {
|
"accountId": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
@@ -5045,7 +5067,7 @@
|
|||||||
"id": "content.accountshipping.get",
|
"id": "content.accountshipping.get",
|
||||||
"path": "{merchantId}/accountshipping/{accountId}",
|
"path": "{merchantId}/accountshipping/{accountId}",
|
||||||
"httpMethod": "GET",
|
"httpMethod": "GET",
|
||||||
"description": "Retrieves the shipping settings of the account.",
|
"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": {
|
"parameters": {
|
||||||
"accountId": {
|
"accountId": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
@@ -5077,7 +5099,7 @@
|
|||||||
"id": "content.accountshipping.list",
|
"id": "content.accountshipping.list",
|
||||||
"path": "{merchantId}/accountshipping",
|
"path": "{merchantId}/accountshipping",
|
||||||
"httpMethod": "GET",
|
"httpMethod": "GET",
|
||||||
"description": "Lists the shipping settings of the sub-accounts in your Merchant Center account.",
|
"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": {
|
"parameters": {
|
||||||
"maxResults": {
|
"maxResults": {
|
||||||
"type": "integer",
|
"type": "integer",
|
||||||
@@ -5112,7 +5134,7 @@
|
|||||||
"id": "content.accountshipping.patch",
|
"id": "content.accountshipping.patch",
|
||||||
"path": "{merchantId}/accountshipping/{accountId}",
|
"path": "{merchantId}/accountshipping/{accountId}",
|
||||||
"httpMethod": "PATCH",
|
"httpMethod": "PATCH",
|
||||||
"description": "Updates the shipping settings of the account. This method supports patch semantics.",
|
"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": {
|
"parameters": {
|
||||||
"accountId": {
|
"accountId": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
@@ -5152,7 +5174,7 @@
|
|||||||
"id": "content.accountshipping.update",
|
"id": "content.accountshipping.update",
|
||||||
"path": "{merchantId}/accountshipping/{accountId}",
|
"path": "{merchantId}/accountshipping/{accountId}",
|
||||||
"httpMethod": "PUT",
|
"httpMethod": "PUT",
|
||||||
"description": "Updates the shipping settings of the account.",
|
"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": {
|
"parameters": {
|
||||||
"accountId": {
|
"accountId": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
@@ -5210,7 +5232,7 @@
|
|||||||
"id": "content.accountstatuses.get",
|
"id": "content.accountstatuses.get",
|
||||||
"path": "{merchantId}/accountstatuses/{accountId}",
|
"path": "{merchantId}/accountstatuses/{accountId}",
|
||||||
"httpMethod": "GET",
|
"httpMethod": "GET",
|
||||||
"description": "Retrieves the status of a Merchant Center account.",
|
"description": "Retrieves the status of 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": {
|
"parameters": {
|
||||||
"accountId": {
|
"accountId": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
@@ -5242,7 +5264,7 @@
|
|||||||
"id": "content.accountstatuses.list",
|
"id": "content.accountstatuses.list",
|
||||||
"path": "{merchantId}/accountstatuses",
|
"path": "{merchantId}/accountstatuses",
|
||||||
"httpMethod": "GET",
|
"httpMethod": "GET",
|
||||||
"description": "Lists the statuses of the sub-accounts in your Merchant Center account.",
|
"description": "Lists the statuses of the sub-accounts in your Merchant Center account. This method can only be called for multi-client accounts.",
|
||||||
"parameters": {
|
"parameters": {
|
||||||
"maxResults": {
|
"maxResults": {
|
||||||
"type": "integer",
|
"type": "integer",
|
||||||
@@ -5303,7 +5325,7 @@
|
|||||||
"id": "content.accounttax.get",
|
"id": "content.accounttax.get",
|
||||||
"path": "{merchantId}/accounttax/{accountId}",
|
"path": "{merchantId}/accounttax/{accountId}",
|
||||||
"httpMethod": "GET",
|
"httpMethod": "GET",
|
||||||
"description": "Retrieves the tax settings of the account.",
|
"description": "Retrieves the tax 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": {
|
"parameters": {
|
||||||
"accountId": {
|
"accountId": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
@@ -5335,7 +5357,7 @@
|
|||||||
"id": "content.accounttax.list",
|
"id": "content.accounttax.list",
|
||||||
"path": "{merchantId}/accounttax",
|
"path": "{merchantId}/accounttax",
|
||||||
"httpMethod": "GET",
|
"httpMethod": "GET",
|
||||||
"description": "Lists the tax settings of the sub-accounts in your Merchant Center account.",
|
"description": "Lists the tax settings of the sub-accounts in your Merchant Center account. This method can only be called for multi-client accounts.",
|
||||||
"parameters": {
|
"parameters": {
|
||||||
"maxResults": {
|
"maxResults": {
|
||||||
"type": "integer",
|
"type": "integer",
|
||||||
@@ -5370,7 +5392,7 @@
|
|||||||
"id": "content.accounttax.patch",
|
"id": "content.accounttax.patch",
|
||||||
"path": "{merchantId}/accounttax/{accountId}",
|
"path": "{merchantId}/accounttax/{accountId}",
|
||||||
"httpMethod": "PATCH",
|
"httpMethod": "PATCH",
|
||||||
"description": "Updates the tax settings of the account. This method supports patch semantics.",
|
"description": "Updates the tax 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": {
|
"parameters": {
|
||||||
"accountId": {
|
"accountId": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
@@ -5410,7 +5432,7 @@
|
|||||||
"id": "content.accounttax.update",
|
"id": "content.accounttax.update",
|
||||||
"path": "{merchantId}/accounttax/{accountId}",
|
"path": "{merchantId}/accounttax/{accountId}",
|
||||||
"httpMethod": "PUT",
|
"httpMethod": "PUT",
|
||||||
"description": "Updates the tax settings of the account.",
|
"description": "Updates the tax 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": {
|
"parameters": {
|
||||||
"accountId": {
|
"accountId": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
@@ -5475,7 +5497,7 @@
|
|||||||
"id": "content.datafeeds.delete",
|
"id": "content.datafeeds.delete",
|
||||||
"path": "{merchantId}/datafeeds/{datafeedId}",
|
"path": "{merchantId}/datafeeds/{datafeedId}",
|
||||||
"httpMethod": "DELETE",
|
"httpMethod": "DELETE",
|
||||||
"description": "Deletes a datafeed from your Merchant Center account.",
|
"description": "Deletes a datafeed from your Merchant Center account. This method can only be called for non-multi-client accounts.",
|
||||||
"parameters": {
|
"parameters": {
|
||||||
"datafeedId": {
|
"datafeedId": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
@@ -5507,7 +5529,7 @@
|
|||||||
"id": "content.datafeeds.get",
|
"id": "content.datafeeds.get",
|
||||||
"path": "{merchantId}/datafeeds/{datafeedId}",
|
"path": "{merchantId}/datafeeds/{datafeedId}",
|
||||||
"httpMethod": "GET",
|
"httpMethod": "GET",
|
||||||
"description": "Retrieves a datafeed from your Merchant Center account.",
|
"description": "Retrieves a datafeed from your Merchant Center account. This method can only be called for non-multi-client accounts.",
|
||||||
"parameters": {
|
"parameters": {
|
||||||
"datafeedId": {
|
"datafeedId": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
@@ -5537,7 +5559,7 @@
|
|||||||
"id": "content.datafeeds.insert",
|
"id": "content.datafeeds.insert",
|
||||||
"path": "{merchantId}/datafeeds",
|
"path": "{merchantId}/datafeeds",
|
||||||
"httpMethod": "POST",
|
"httpMethod": "POST",
|
||||||
"description": "Registers a datafeed with your Merchant Center account.",
|
"description": "Registers a datafeed with your Merchant Center account. This method can only be called for non-multi-client accounts.",
|
||||||
"parameters": {
|
"parameters": {
|
||||||
"dryRun": {
|
"dryRun": {
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
@@ -5568,7 +5590,7 @@
|
|||||||
"id": "content.datafeeds.list",
|
"id": "content.datafeeds.list",
|
||||||
"path": "{merchantId}/datafeeds",
|
"path": "{merchantId}/datafeeds",
|
||||||
"httpMethod": "GET",
|
"httpMethod": "GET",
|
||||||
"description": "Lists the datafeeds in your Merchant Center account.",
|
"description": "Lists the datafeeds in your Merchant Center account. This method can only be called for non-multi-client accounts.",
|
||||||
"parameters": {
|
"parameters": {
|
||||||
"maxResults": {
|
"maxResults": {
|
||||||
"type": "integer",
|
"type": "integer",
|
||||||
@@ -5603,7 +5625,7 @@
|
|||||||
"id": "content.datafeeds.patch",
|
"id": "content.datafeeds.patch",
|
||||||
"path": "{merchantId}/datafeeds/{datafeedId}",
|
"path": "{merchantId}/datafeeds/{datafeedId}",
|
||||||
"httpMethod": "PATCH",
|
"httpMethod": "PATCH",
|
||||||
"description": "Updates a datafeed of your Merchant Center account. This method supports patch semantics.",
|
"description": "Updates a datafeed of your Merchant Center account. This method can only be called for non-multi-client accounts. This method supports patch semantics.",
|
||||||
"parameters": {
|
"parameters": {
|
||||||
"datafeedId": {
|
"datafeedId": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
@@ -5641,7 +5663,7 @@
|
|||||||
"id": "content.datafeeds.update",
|
"id": "content.datafeeds.update",
|
||||||
"path": "{merchantId}/datafeeds/{datafeedId}",
|
"path": "{merchantId}/datafeeds/{datafeedId}",
|
||||||
"httpMethod": "PUT",
|
"httpMethod": "PUT",
|
||||||
"description": "Updates a datafeed of your Merchant Center account.",
|
"description": "Updates a datafeed of your Merchant Center account. This method can only be called for non-multi-client accounts.",
|
||||||
"parameters": {
|
"parameters": {
|
||||||
"datafeedId": {
|
"datafeedId": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
@@ -5697,7 +5719,7 @@
|
|||||||
"id": "content.datafeedstatuses.get",
|
"id": "content.datafeedstatuses.get",
|
||||||
"path": "{merchantId}/datafeedstatuses/{datafeedId}",
|
"path": "{merchantId}/datafeedstatuses/{datafeedId}",
|
||||||
"httpMethod": "GET",
|
"httpMethod": "GET",
|
||||||
"description": "Retrieves the status of a datafeed from your Merchant Center account.",
|
"description": "Retrieves the status of a datafeed from your Merchant Center account. This method can only be called for non-multi-client accounts.",
|
||||||
"parameters": {
|
"parameters": {
|
||||||
"datafeedId": {
|
"datafeedId": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
@@ -5727,7 +5749,7 @@
|
|||||||
"id": "content.datafeedstatuses.list",
|
"id": "content.datafeedstatuses.list",
|
||||||
"path": "{merchantId}/datafeedstatuses",
|
"path": "{merchantId}/datafeedstatuses",
|
||||||
"httpMethod": "GET",
|
"httpMethod": "GET",
|
||||||
"description": "Lists the statuses of the datafeeds in your Merchant Center account.",
|
"description": "Lists the statuses of the datafeeds in your Merchant Center account. This method can only be called for non-multi-client accounts.",
|
||||||
"parameters": {
|
"parameters": {
|
||||||
"maxResults": {
|
"maxResults": {
|
||||||
"type": "integer",
|
"type": "integer",
|
||||||
@@ -5766,7 +5788,7 @@
|
|||||||
"id": "content.inventory.custombatch",
|
"id": "content.inventory.custombatch",
|
||||||
"path": "inventory/batch",
|
"path": "inventory/batch",
|
||||||
"httpMethod": "POST",
|
"httpMethod": "POST",
|
||||||
"description": "Updates price and availability for multiple products or stores in a single request. This operation does not update the expiration date of the products.",
|
"description": "Updates price and availability for multiple products or stores in a single request. This operation does not update the expiration date of the products. This method can only be called for non-multi-client accounts.",
|
||||||
"parameters": {
|
"parameters": {
|
||||||
"dryRun": {
|
"dryRun": {
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
@@ -5788,7 +5810,7 @@
|
|||||||
"id": "content.inventory.set",
|
"id": "content.inventory.set",
|
||||||
"path": "{merchantId}/inventory/{storeCode}/products/{productId}",
|
"path": "{merchantId}/inventory/{storeCode}/products/{productId}",
|
||||||
"httpMethod": "POST",
|
"httpMethod": "POST",
|
||||||
"description": "Updates price and availability of a product in your Merchant Center account. This operation does not update the expiration date of the product.",
|
"description": "Updates price and availability of a product in your Merchant Center account. This operation does not update the expiration date of the product. This method can only be called for non-multi-client accounts.",
|
||||||
"parameters": {
|
"parameters": {
|
||||||
"dryRun": {
|
"dryRun": {
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
@@ -5838,7 +5860,7 @@
|
|||||||
"id": "content.orders.acknowledge",
|
"id": "content.orders.acknowledge",
|
||||||
"path": "{merchantId}/orders/{orderId}/acknowledge",
|
"path": "{merchantId}/orders/{orderId}/acknowledge",
|
||||||
"httpMethod": "POST",
|
"httpMethod": "POST",
|
||||||
"description": "Marks an order as acknowledged.",
|
"description": "Marks an order as acknowledged. This method can only be called for non-multi-client accounts.",
|
||||||
"parameters": {
|
"parameters": {
|
||||||
"merchantId": {
|
"merchantId": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
@@ -5872,7 +5894,7 @@
|
|||||||
"id": "content.orders.advancetestorder",
|
"id": "content.orders.advancetestorder",
|
||||||
"path": "{merchantId}/testorders/{orderId}/advance",
|
"path": "{merchantId}/testorders/{orderId}/advance",
|
||||||
"httpMethod": "POST",
|
"httpMethod": "POST",
|
||||||
"description": "Sandbox only. Moves a test order from state \"inProgress\" to state \"pendingShipment\".",
|
"description": "Sandbox only. Moves a test order from state \"inProgress\" to state \"pendingShipment\". This method can only be called for non-multi-client accounts.",
|
||||||
"parameters": {
|
"parameters": {
|
||||||
"merchantId": {
|
"merchantId": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
@@ -5903,7 +5925,7 @@
|
|||||||
"id": "content.orders.cancel",
|
"id": "content.orders.cancel",
|
||||||
"path": "{merchantId}/orders/{orderId}/cancel",
|
"path": "{merchantId}/orders/{orderId}/cancel",
|
||||||
"httpMethod": "POST",
|
"httpMethod": "POST",
|
||||||
"description": "Cancels all line items in an order.",
|
"description": "Cancels all line items in an order. This method can only be called for non-multi-client accounts.",
|
||||||
"parameters": {
|
"parameters": {
|
||||||
"merchantId": {
|
"merchantId": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
@@ -5937,7 +5959,7 @@
|
|||||||
"id": "content.orders.cancellineitem",
|
"id": "content.orders.cancellineitem",
|
||||||
"path": "{merchantId}/orders/{orderId}/cancelLineItem",
|
"path": "{merchantId}/orders/{orderId}/cancelLineItem",
|
||||||
"httpMethod": "POST",
|
"httpMethod": "POST",
|
||||||
"description": "Cancels a line item.",
|
"description": "Cancels a line item. This method can only be called for non-multi-client accounts.",
|
||||||
"parameters": {
|
"parameters": {
|
||||||
"merchantId": {
|
"merchantId": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
@@ -5971,7 +5993,7 @@
|
|||||||
"id": "content.orders.createtestorder",
|
"id": "content.orders.createtestorder",
|
||||||
"path": "{merchantId}/testorders",
|
"path": "{merchantId}/testorders",
|
||||||
"httpMethod": "POST",
|
"httpMethod": "POST",
|
||||||
"description": "Sandbox only. Creates a test order.",
|
"description": "Sandbox only. Creates a test order. This method can only be called for non-multi-client accounts.",
|
||||||
"parameters": {
|
"parameters": {
|
||||||
"merchantId": {
|
"merchantId": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
@@ -5998,7 +6020,7 @@
|
|||||||
"id": "content.orders.custombatch",
|
"id": "content.orders.custombatch",
|
||||||
"path": "orders/batch",
|
"path": "orders/batch",
|
||||||
"httpMethod": "POST",
|
"httpMethod": "POST",
|
||||||
"description": "Retrieves or modifies multiple orders in a single request.",
|
"description": "Retrieves or modifies multiple orders in a single request. This method can only be called for non-multi-client accounts.",
|
||||||
"request": {
|
"request": {
|
||||||
"$ref": "OrdersCustomBatchRequest"
|
"$ref": "OrdersCustomBatchRequest"
|
||||||
},
|
},
|
||||||
@@ -6013,7 +6035,7 @@
|
|||||||
"id": "content.orders.get",
|
"id": "content.orders.get",
|
||||||
"path": "{merchantId}/orders/{orderId}",
|
"path": "{merchantId}/orders/{orderId}",
|
||||||
"httpMethod": "GET",
|
"httpMethod": "GET",
|
||||||
"description": "Retrieves an order from your Merchant Center account.",
|
"description": "Retrieves an order from your Merchant Center account. This method can only be called for non-multi-client accounts.",
|
||||||
"parameters": {
|
"parameters": {
|
||||||
"merchantId": {
|
"merchantId": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
@@ -6044,7 +6066,7 @@
|
|||||||
"id": "content.orders.getbymerchantorderid",
|
"id": "content.orders.getbymerchantorderid",
|
||||||
"path": "{merchantId}/ordersbymerchantid/{merchantOrderId}",
|
"path": "{merchantId}/ordersbymerchantid/{merchantOrderId}",
|
||||||
"httpMethod": "GET",
|
"httpMethod": "GET",
|
||||||
"description": "Retrieves an order using merchant order id.",
|
"description": "Retrieves an order using merchant order id. This method can only be called for non-multi-client accounts.",
|
||||||
"parameters": {
|
"parameters": {
|
||||||
"merchantId": {
|
"merchantId": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
@@ -6075,7 +6097,7 @@
|
|||||||
"id": "content.orders.gettestordertemplate",
|
"id": "content.orders.gettestordertemplate",
|
||||||
"path": "{merchantId}/testordertemplates/{templateName}",
|
"path": "{merchantId}/testordertemplates/{templateName}",
|
||||||
"httpMethod": "GET",
|
"httpMethod": "GET",
|
||||||
"description": "Sandbox only. Retrieves an order template that can be used to quickly create a new order in sandbox.",
|
"description": "Sandbox only. Retrieves an order template that can be used to quickly create a new order in sandbox. This method can only be called for non-multi-client accounts.",
|
||||||
"parameters": {
|
"parameters": {
|
||||||
"merchantId": {
|
"merchantId": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
@@ -6118,7 +6140,7 @@
|
|||||||
"id": "content.orders.list",
|
"id": "content.orders.list",
|
||||||
"path": "{merchantId}/orders",
|
"path": "{merchantId}/orders",
|
||||||
"httpMethod": "GET",
|
"httpMethod": "GET",
|
||||||
"description": "Lists the orders in your Merchant Center account.",
|
"description": "Lists the orders in your Merchant Center account. This method can only be called for non-multi-client accounts.",
|
||||||
"parameters": {
|
"parameters": {
|
||||||
"acknowledged": {
|
"acknowledged": {
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
@@ -6213,7 +6235,7 @@
|
|||||||
"id": "content.orders.refund",
|
"id": "content.orders.refund",
|
||||||
"path": "{merchantId}/orders/{orderId}/refund",
|
"path": "{merchantId}/orders/{orderId}/refund",
|
||||||
"httpMethod": "POST",
|
"httpMethod": "POST",
|
||||||
"description": "Refund a portion of the order, up to the full amount paid.",
|
"description": "Refund a portion of the order, up to the full amount paid. This method can only be called for non-multi-client accounts.",
|
||||||
"parameters": {
|
"parameters": {
|
||||||
"merchantId": {
|
"merchantId": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
@@ -6247,7 +6269,7 @@
|
|||||||
"id": "content.orders.returnlineitem",
|
"id": "content.orders.returnlineitem",
|
||||||
"path": "{merchantId}/orders/{orderId}/returnLineItem",
|
"path": "{merchantId}/orders/{orderId}/returnLineItem",
|
||||||
"httpMethod": "POST",
|
"httpMethod": "POST",
|
||||||
"description": "Returns a line item.",
|
"description": "Returns a line item. This method can only be called for non-multi-client accounts.",
|
||||||
"parameters": {
|
"parameters": {
|
||||||
"merchantId": {
|
"merchantId": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
@@ -6281,7 +6303,7 @@
|
|||||||
"id": "content.orders.shiplineitems",
|
"id": "content.orders.shiplineitems",
|
||||||
"path": "{merchantId}/orders/{orderId}/shipLineItems",
|
"path": "{merchantId}/orders/{orderId}/shipLineItems",
|
||||||
"httpMethod": "POST",
|
"httpMethod": "POST",
|
||||||
"description": "Marks line item(s) as shipped.",
|
"description": "Marks line item(s) as shipped. This method can only be called for non-multi-client accounts.",
|
||||||
"parameters": {
|
"parameters": {
|
||||||
"merchantId": {
|
"merchantId": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
@@ -6315,7 +6337,7 @@
|
|||||||
"id": "content.orders.updatemerchantorderid",
|
"id": "content.orders.updatemerchantorderid",
|
||||||
"path": "{merchantId}/orders/{orderId}/updateMerchantOrderId",
|
"path": "{merchantId}/orders/{orderId}/updateMerchantOrderId",
|
||||||
"httpMethod": "POST",
|
"httpMethod": "POST",
|
||||||
"description": "Updates the merchant order ID for a given order.",
|
"description": "Updates the merchant order ID for a given order. This method can only be called for non-multi-client accounts.",
|
||||||
"parameters": {
|
"parameters": {
|
||||||
"merchantId": {
|
"merchantId": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
@@ -6349,7 +6371,7 @@
|
|||||||
"id": "content.orders.updateshipment",
|
"id": "content.orders.updateshipment",
|
||||||
"path": "{merchantId}/orders/{orderId}/updateShipment",
|
"path": "{merchantId}/orders/{orderId}/updateShipment",
|
||||||
"httpMethod": "POST",
|
"httpMethod": "POST",
|
||||||
"description": "Updates a shipment's status, carrier, and/or tracking ID.",
|
"description": "Updates a shipment's status, carrier, and/or tracking ID. This method can only be called for non-multi-client accounts.",
|
||||||
"parameters": {
|
"parameters": {
|
||||||
"merchantId": {
|
"merchantId": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
@@ -6387,7 +6409,7 @@
|
|||||||
"id": "content.products.custombatch",
|
"id": "content.products.custombatch",
|
||||||
"path": "products/batch",
|
"path": "products/batch",
|
||||||
"httpMethod": "POST",
|
"httpMethod": "POST",
|
||||||
"description": "Retrieves, inserts, and deletes multiple products in a single request.",
|
"description": "Retrieves, inserts, and deletes multiple products in a single request. This method can only be called for non-multi-client accounts.",
|
||||||
"parameters": {
|
"parameters": {
|
||||||
"dryRun": {
|
"dryRun": {
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
@@ -6409,7 +6431,7 @@
|
|||||||
"id": "content.products.delete",
|
"id": "content.products.delete",
|
||||||
"path": "{merchantId}/products/{productId}",
|
"path": "{merchantId}/products/{productId}",
|
||||||
"httpMethod": "DELETE",
|
"httpMethod": "DELETE",
|
||||||
"description": "Deletes a product from your Merchant Center account.",
|
"description": "Deletes a product from your Merchant Center account. This method can only be called for non-multi-client accounts.",
|
||||||
"parameters": {
|
"parameters": {
|
||||||
"dryRun": {
|
"dryRun": {
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
@@ -6442,7 +6464,7 @@
|
|||||||
"id": "content.products.get",
|
"id": "content.products.get",
|
||||||
"path": "{merchantId}/products/{productId}",
|
"path": "{merchantId}/products/{productId}",
|
||||||
"httpMethod": "GET",
|
"httpMethod": "GET",
|
||||||
"description": "Retrieves a product from your Merchant Center account.",
|
"description": "Retrieves a product from your Merchant Center account. This method can only be called for non-multi-client accounts.",
|
||||||
"parameters": {
|
"parameters": {
|
||||||
"merchantId": {
|
"merchantId": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
@@ -6473,7 +6495,7 @@
|
|||||||
"id": "content.products.insert",
|
"id": "content.products.insert",
|
||||||
"path": "{merchantId}/products",
|
"path": "{merchantId}/products",
|
||||||
"httpMethod": "POST",
|
"httpMethod": "POST",
|
||||||
"description": "Uploads a product to your Merchant Center account.",
|
"description": "Uploads a product to your Merchant Center account. If an item with the same channel, contentLanguage, offerId, and targetCountry already exists, this method updates that entry. This method can only be called for non-multi-client accounts.",
|
||||||
"parameters": {
|
"parameters": {
|
||||||
"dryRun": {
|
"dryRun": {
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
@@ -6505,7 +6527,7 @@
|
|||||||
"id": "content.products.list",
|
"id": "content.products.list",
|
||||||
"path": "{merchantId}/products",
|
"path": "{merchantId}/products",
|
||||||
"httpMethod": "GET",
|
"httpMethod": "GET",
|
||||||
"description": "Lists the products in your Merchant Center account.",
|
"description": "Lists the products in your Merchant Center account. This method can only be called for non-multi-client accounts.",
|
||||||
"parameters": {
|
"parameters": {
|
||||||
"includeInvalidInsertedItems": {
|
"includeInvalidInsertedItems": {
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
@@ -6549,7 +6571,7 @@
|
|||||||
"id": "content.productstatuses.custombatch",
|
"id": "content.productstatuses.custombatch",
|
||||||
"path": "productstatuses/batch",
|
"path": "productstatuses/batch",
|
||||||
"httpMethod": "POST",
|
"httpMethod": "POST",
|
||||||
"description": "Gets the statuses of multiple products in a single request.",
|
"description": "Gets the statuses of multiple products in a single request. This method can only be called for non-multi-client accounts.",
|
||||||
"request": {
|
"request": {
|
||||||
"$ref": "ProductstatusesCustomBatchRequest"
|
"$ref": "ProductstatusesCustomBatchRequest"
|
||||||
},
|
},
|
||||||
@@ -6564,7 +6586,7 @@
|
|||||||
"id": "content.productstatuses.get",
|
"id": "content.productstatuses.get",
|
||||||
"path": "{merchantId}/productstatuses/{productId}",
|
"path": "{merchantId}/productstatuses/{productId}",
|
||||||
"httpMethod": "GET",
|
"httpMethod": "GET",
|
||||||
"description": "Gets the status of a product from your Merchant Center account.",
|
"description": "Gets the status of a product from your Merchant Center account. This method can only be called for non-multi-client accounts.",
|
||||||
"parameters": {
|
"parameters": {
|
||||||
"merchantId": {
|
"merchantId": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
@@ -6595,7 +6617,7 @@
|
|||||||
"id": "content.productstatuses.list",
|
"id": "content.productstatuses.list",
|
||||||
"path": "{merchantId}/productstatuses",
|
"path": "{merchantId}/productstatuses",
|
||||||
"httpMethod": "GET",
|
"httpMethod": "GET",
|
||||||
"description": "Lists the statuses of the products in your Merchant Center account.",
|
"description": "Lists the statuses of the products in your Merchant Center account. This method can only be called for non-multi-client accounts.",
|
||||||
"parameters": {
|
"parameters": {
|
||||||
"includeInvalidInsertedItems": {
|
"includeInvalidInsertedItems": {
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
@@ -6661,7 +6683,7 @@
|
|||||||
"id": "content.shippingsettings.get",
|
"id": "content.shippingsettings.get",
|
||||||
"path": "{merchantId}/shippingsettings/{accountId}",
|
"path": "{merchantId}/shippingsettings/{accountId}",
|
||||||
"httpMethod": "GET",
|
"httpMethod": "GET",
|
||||||
"description": "Retrieves the shipping settings of the account.",
|
"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": {
|
"parameters": {
|
||||||
"accountId": {
|
"accountId": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
@@ -6717,7 +6739,7 @@
|
|||||||
"id": "content.shippingsettings.list",
|
"id": "content.shippingsettings.list",
|
||||||
"path": "{merchantId}/shippingsettings",
|
"path": "{merchantId}/shippingsettings",
|
||||||
"httpMethod": "GET",
|
"httpMethod": "GET",
|
||||||
"description": "Lists the shipping settings of the sub-accounts in your Merchant Center account.",
|
"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": {
|
"parameters": {
|
||||||
"maxResults": {
|
"maxResults": {
|
||||||
"type": "integer",
|
"type": "integer",
|
||||||
@@ -6752,7 +6774,7 @@
|
|||||||
"id": "content.shippingsettings.patch",
|
"id": "content.shippingsettings.patch",
|
||||||
"path": "{merchantId}/shippingsettings/{accountId}",
|
"path": "{merchantId}/shippingsettings/{accountId}",
|
||||||
"httpMethod": "PATCH",
|
"httpMethod": "PATCH",
|
||||||
"description": "Updates the shipping settings of the account. This method supports patch semantics.",
|
"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": {
|
"parameters": {
|
||||||
"accountId": {
|
"accountId": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
@@ -6792,7 +6814,7 @@
|
|||||||
"id": "content.shippingsettings.update",
|
"id": "content.shippingsettings.update",
|
||||||
"path": "{merchantId}/shippingsettings/{accountId}",
|
"path": "{merchantId}/shippingsettings/{accountId}",
|
||||||
"httpMethod": "PUT",
|
"httpMethod": "PUT",
|
||||||
"description": "Updates the shipping settings of the account.",
|
"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": {
|
"parameters": {
|
||||||
"accountId": {
|
"accountId": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
|
|||||||
@@ -1,19 +1,19 @@
|
|||||||
{
|
{
|
||||||
"kind": "discovery#restDescription",
|
"kind": "discovery#restDescription",
|
||||||
"etag": "\"C5oy1hgQsABtYOYIOXWcR3BgYqU/5YRb4l5DodMV9xyOy-Xnx-Jl5b0\"",
|
"etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/W1AQ-5FwbPweFAs-GFJ9Ju07xes\"",
|
||||||
"discoveryVersion": "v1",
|
"discoveryVersion": "v1",
|
||||||
"id": "content:v2sandbox",
|
"id": "content:v2sandbox",
|
||||||
"name": "content",
|
"name": "content",
|
||||||
"canonicalName": "Shopping Content",
|
"canonicalName": "Shopping Content",
|
||||||
"version": "v2sandbox",
|
"version": "v2sandbox",
|
||||||
"revision": "20160905",
|
"revision": "20161205",
|
||||||
"title": "Content API for Shopping",
|
"title": "Content API for Shopping",
|
||||||
"description": "Manages product items, inventory, and Merchant Center accounts for Google Shopping.",
|
"description": "Manages product items, inventory, and Merchant Center accounts for Google Shopping.",
|
||||||
"ownerDomain": "google.com",
|
"ownerDomain": "google.com",
|
||||||
"ownerName": "Google",
|
"ownerName": "Google",
|
||||||
"icons": {
|
"icons": {
|
||||||
"x16": "http://www.google.com/images/icons/product/search-16.gif",
|
"x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png",
|
||||||
"x32": "http://www.google.com/images/icons/product/search-32.gif"
|
"x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png"
|
||||||
},
|
},
|
||||||
"documentationLink": "https://developers.google.com/shopping-content",
|
"documentationLink": "https://developers.google.com/shopping-content",
|
||||||
"protocol": "rest",
|
"protocol": "rest",
|
||||||
@@ -299,7 +299,7 @@
|
|||||||
},
|
},
|
||||||
"explicitMarketingPreference": {
|
"explicitMarketingPreference": {
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
"description": "If set, this indicates the user explicitly chose to opt in or out of providing marketing rights to the merchant. If unset, this indicates the user has already made this choice in a previous purchase, and was thus not shown the marketing right opt in/out checkbox during the Purchases on Google checkout flow."
|
"description": "If set, this indicates the user explicitly chose to opt in or out of providing marketing rights to the merchant. If unset, this indicates the user has already made this choice in a previous purchase, and was thus not shown the marketing right opt in/out checkbox during the checkout flow."
|
||||||
},
|
},
|
||||||
"fullName": {
|
"fullName": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
@@ -1526,7 +1526,7 @@
|
|||||||
},
|
},
|
||||||
"explicitMarketingPreference": {
|
"explicitMarketingPreference": {
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
"description": "If set, this indicates the user explicitly chose to opt in or out of providing marketing rights to the merchant. If unset, this indicates the user has already made this choice in a previous purchase, and was thus not shown the marketing right opt in/out checkbox during the Purchases on Google checkout flow. Optional."
|
"description": "If set, this indicates the user explicitly chose to opt in or out of providing marketing rights to the merchant. If unset, this indicates the user has already made this choice in a previous purchase, and was thus not shown the marketing right opt in/out checkbox during the checkout flow. Optional."
|
||||||
},
|
},
|
||||||
"fullName": {
|
"fullName": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
@@ -1723,7 +1723,7 @@
|
|||||||
"id": "content.orders.acknowledge",
|
"id": "content.orders.acknowledge",
|
||||||
"path": "{merchantId}/orders/{orderId}/acknowledge",
|
"path": "{merchantId}/orders/{orderId}/acknowledge",
|
||||||
"httpMethod": "POST",
|
"httpMethod": "POST",
|
||||||
"description": "Marks an order as acknowledged.",
|
"description": "Marks an order as acknowledged. This method can only be called for non-multi-client accounts.",
|
||||||
"parameters": {
|
"parameters": {
|
||||||
"merchantId": {
|
"merchantId": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
@@ -1757,7 +1757,7 @@
|
|||||||
"id": "content.orders.advancetestorder",
|
"id": "content.orders.advancetestorder",
|
||||||
"path": "{merchantId}/testorders/{orderId}/advance",
|
"path": "{merchantId}/testorders/{orderId}/advance",
|
||||||
"httpMethod": "POST",
|
"httpMethod": "POST",
|
||||||
"description": "Sandbox only. Moves a test order from state \"inProgress\" to state \"pendingShipment\".",
|
"description": "Sandbox only. Moves a test order from state \"inProgress\" to state \"pendingShipment\". This method can only be called for non-multi-client accounts.",
|
||||||
"parameters": {
|
"parameters": {
|
||||||
"merchantId": {
|
"merchantId": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
@@ -1788,7 +1788,7 @@
|
|||||||
"id": "content.orders.cancel",
|
"id": "content.orders.cancel",
|
||||||
"path": "{merchantId}/orders/{orderId}/cancel",
|
"path": "{merchantId}/orders/{orderId}/cancel",
|
||||||
"httpMethod": "POST",
|
"httpMethod": "POST",
|
||||||
"description": "Cancels all line items in an order.",
|
"description": "Cancels all line items in an order. This method can only be called for non-multi-client accounts.",
|
||||||
"parameters": {
|
"parameters": {
|
||||||
"merchantId": {
|
"merchantId": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
@@ -1822,7 +1822,7 @@
|
|||||||
"id": "content.orders.cancellineitem",
|
"id": "content.orders.cancellineitem",
|
||||||
"path": "{merchantId}/orders/{orderId}/cancelLineItem",
|
"path": "{merchantId}/orders/{orderId}/cancelLineItem",
|
||||||
"httpMethod": "POST",
|
"httpMethod": "POST",
|
||||||
"description": "Cancels a line item.",
|
"description": "Cancels a line item. This method can only be called for non-multi-client accounts.",
|
||||||
"parameters": {
|
"parameters": {
|
||||||
"merchantId": {
|
"merchantId": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
@@ -1856,7 +1856,7 @@
|
|||||||
"id": "content.orders.createtestorder",
|
"id": "content.orders.createtestorder",
|
||||||
"path": "{merchantId}/testorders",
|
"path": "{merchantId}/testorders",
|
||||||
"httpMethod": "POST",
|
"httpMethod": "POST",
|
||||||
"description": "Sandbox only. Creates a test order.",
|
"description": "Sandbox only. Creates a test order. This method can only be called for non-multi-client accounts.",
|
||||||
"parameters": {
|
"parameters": {
|
||||||
"merchantId": {
|
"merchantId": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
@@ -1883,7 +1883,7 @@
|
|||||||
"id": "content.orders.custombatch",
|
"id": "content.orders.custombatch",
|
||||||
"path": "orders/batch",
|
"path": "orders/batch",
|
||||||
"httpMethod": "POST",
|
"httpMethod": "POST",
|
||||||
"description": "Retrieves or modifies multiple orders in a single request.",
|
"description": "Retrieves or modifies multiple orders in a single request. This method can only be called for non-multi-client accounts.",
|
||||||
"request": {
|
"request": {
|
||||||
"$ref": "OrdersCustomBatchRequest"
|
"$ref": "OrdersCustomBatchRequest"
|
||||||
},
|
},
|
||||||
@@ -1898,7 +1898,7 @@
|
|||||||
"id": "content.orders.get",
|
"id": "content.orders.get",
|
||||||
"path": "{merchantId}/orders/{orderId}",
|
"path": "{merchantId}/orders/{orderId}",
|
||||||
"httpMethod": "GET",
|
"httpMethod": "GET",
|
||||||
"description": "Retrieves an order from your Merchant Center account.",
|
"description": "Retrieves an order from your Merchant Center account. This method can only be called for non-multi-client accounts.",
|
||||||
"parameters": {
|
"parameters": {
|
||||||
"merchantId": {
|
"merchantId": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
@@ -1929,7 +1929,7 @@
|
|||||||
"id": "content.orders.getbymerchantorderid",
|
"id": "content.orders.getbymerchantorderid",
|
||||||
"path": "{merchantId}/ordersbymerchantid/{merchantOrderId}",
|
"path": "{merchantId}/ordersbymerchantid/{merchantOrderId}",
|
||||||
"httpMethod": "GET",
|
"httpMethod": "GET",
|
||||||
"description": "Retrieves an order using merchant order id.",
|
"description": "Retrieves an order using merchant order id. This method can only be called for non-multi-client accounts.",
|
||||||
"parameters": {
|
"parameters": {
|
||||||
"merchantId": {
|
"merchantId": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
@@ -1960,7 +1960,7 @@
|
|||||||
"id": "content.orders.gettestordertemplate",
|
"id": "content.orders.gettestordertemplate",
|
||||||
"path": "{merchantId}/testordertemplates/{templateName}",
|
"path": "{merchantId}/testordertemplates/{templateName}",
|
||||||
"httpMethod": "GET",
|
"httpMethod": "GET",
|
||||||
"description": "Sandbox only. Retrieves an order template that can be used to quickly create a new order in sandbox.",
|
"description": "Sandbox only. Retrieves an order template that can be used to quickly create a new order in sandbox. This method can only be called for non-multi-client accounts.",
|
||||||
"parameters": {
|
"parameters": {
|
||||||
"merchantId": {
|
"merchantId": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
@@ -2003,7 +2003,7 @@
|
|||||||
"id": "content.orders.list",
|
"id": "content.orders.list",
|
||||||
"path": "{merchantId}/orders",
|
"path": "{merchantId}/orders",
|
||||||
"httpMethod": "GET",
|
"httpMethod": "GET",
|
||||||
"description": "Lists the orders in your Merchant Center account.",
|
"description": "Lists the orders in your Merchant Center account. This method can only be called for non-multi-client accounts.",
|
||||||
"parameters": {
|
"parameters": {
|
||||||
"acknowledged": {
|
"acknowledged": {
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
@@ -2098,7 +2098,7 @@
|
|||||||
"id": "content.orders.refund",
|
"id": "content.orders.refund",
|
||||||
"path": "{merchantId}/orders/{orderId}/refund",
|
"path": "{merchantId}/orders/{orderId}/refund",
|
||||||
"httpMethod": "POST",
|
"httpMethod": "POST",
|
||||||
"description": "Refund a portion of the order, up to the full amount paid.",
|
"description": "Refund a portion of the order, up to the full amount paid. This method can only be called for non-multi-client accounts.",
|
||||||
"parameters": {
|
"parameters": {
|
||||||
"merchantId": {
|
"merchantId": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
@@ -2132,7 +2132,7 @@
|
|||||||
"id": "content.orders.returnlineitem",
|
"id": "content.orders.returnlineitem",
|
||||||
"path": "{merchantId}/orders/{orderId}/returnLineItem",
|
"path": "{merchantId}/orders/{orderId}/returnLineItem",
|
||||||
"httpMethod": "POST",
|
"httpMethod": "POST",
|
||||||
"description": "Returns a line item.",
|
"description": "Returns a line item. This method can only be called for non-multi-client accounts.",
|
||||||
"parameters": {
|
"parameters": {
|
||||||
"merchantId": {
|
"merchantId": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
@@ -2166,7 +2166,7 @@
|
|||||||
"id": "content.orders.shiplineitems",
|
"id": "content.orders.shiplineitems",
|
||||||
"path": "{merchantId}/orders/{orderId}/shipLineItems",
|
"path": "{merchantId}/orders/{orderId}/shipLineItems",
|
||||||
"httpMethod": "POST",
|
"httpMethod": "POST",
|
||||||
"description": "Marks line item(s) as shipped.",
|
"description": "Marks line item(s) as shipped. This method can only be called for non-multi-client accounts.",
|
||||||
"parameters": {
|
"parameters": {
|
||||||
"merchantId": {
|
"merchantId": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
@@ -2200,7 +2200,7 @@
|
|||||||
"id": "content.orders.updatemerchantorderid",
|
"id": "content.orders.updatemerchantorderid",
|
||||||
"path": "{merchantId}/orders/{orderId}/updateMerchantOrderId",
|
"path": "{merchantId}/orders/{orderId}/updateMerchantOrderId",
|
||||||
"httpMethod": "POST",
|
"httpMethod": "POST",
|
||||||
"description": "Updates the merchant order ID for a given order.",
|
"description": "Updates the merchant order ID for a given order. This method can only be called for non-multi-client accounts.",
|
||||||
"parameters": {
|
"parameters": {
|
||||||
"merchantId": {
|
"merchantId": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
@@ -2234,7 +2234,7 @@
|
|||||||
"id": "content.orders.updateshipment",
|
"id": "content.orders.updateshipment",
|
||||||
"path": "{merchantId}/orders/{orderId}/updateShipment",
|
"path": "{merchantId}/orders/{orderId}/updateShipment",
|
||||||
"httpMethod": "POST",
|
"httpMethod": "POST",
|
||||||
"description": "Updates a shipment's status, carrier, and/or tracking ID.",
|
"description": "Updates a shipment's status, carrier, and/or tracking ID. This method can only be called for non-multi-client accounts.",
|
||||||
"parameters": {
|
"parameters": {
|
||||||
"merchantId": {
|
"merchantId": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"kind": "discovery#restDescription",
|
"kind": "discovery#restDescription",
|
||||||
"etag": "\"C5oy1hgQsABtYOYIOXWcR3BgYqU/6uDmKuIsmBzjIYdBp6ZSuZP4_cw\"",
|
"etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/2gL3A40IBu11GP9xmmdXxrLKXPg\"",
|
||||||
"discoveryVersion": "v1",
|
"discoveryVersion": "v1",
|
||||||
"id": "customsearch:v1",
|
"id": "customsearch:v1",
|
||||||
"name": "customsearch",
|
"name": "customsearch",
|
||||||
@@ -11,8 +11,8 @@
|
|||||||
"ownerDomain": "google.com",
|
"ownerDomain": "google.com",
|
||||||
"ownerName": "Google",
|
"ownerName": "Google",
|
||||||
"icons": {
|
"icons": {
|
||||||
"x16": "http://www.google.com/images/icons/product/search-16.gif",
|
"x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png",
|
||||||
"x32": "http://www.google.com/images/icons/product/search-32.gif"
|
"x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png"
|
||||||
},
|
},
|
||||||
"documentationLink": "https://developers.google.com/custom-search/v1/using_rest",
|
"documentationLink": "https://developers.google.com/custom-search/v1/using_rest",
|
||||||
"protocol": "rest",
|
"protocol": "rest",
|
||||||
|
|||||||
@@ -1,11 +1,11 @@
|
|||||||
{
|
{
|
||||||
"kind": "discovery#restDescription",
|
"kind": "discovery#restDescription",
|
||||||
"etag": "\"C5oy1hgQsABtYOYIOXWcR3BgYqU/947N7-PR3f8n42WFCweiQxxRQdA\"",
|
"etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/2ldmPeHEvQ6NGgRE1Cb3tnvrYr8\"",
|
||||||
"discoveryVersion": "v1",
|
"discoveryVersion": "v1",
|
||||||
"id": "dataflow:v1b3",
|
"id": "dataflow:v1b3",
|
||||||
"name": "dataflow",
|
"name": "dataflow",
|
||||||
"version": "v1b3",
|
"version": "v1b3",
|
||||||
"revision": "20160908",
|
"revision": "20161004",
|
||||||
"title": "Google Dataflow API",
|
"title": "Google Dataflow API",
|
||||||
"description": "Develops and executes data processing patterns like ETL, batch computation, and continuous computation.",
|
"description": "Develops and executes data processing patterns like ETL, batch computation, and continuous computation.",
|
||||||
"ownerDomain": "google.com",
|
"ownerDomain": "google.com",
|
||||||
@@ -274,6 +274,10 @@
|
|||||||
"additionalProperties": {
|
"additionalProperties": {
|
||||||
"type": "string"
|
"type": "string"
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"location": {
|
||||||
|
"type": "string",
|
||||||
|
"description": "The location which contains this job."
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -339,6 +343,10 @@
|
|||||||
"type": "any",
|
"type": "any",
|
||||||
"description": "Properties of the object. Contains field @type with type URL."
|
"description": "Properties of the object. Contains field @type with type URL."
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"serviceAccountEmail": {
|
||||||
|
"type": "string",
|
||||||
|
"description": "Identity to run virtual machines as. Defaults to the default account."
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -705,6 +713,24 @@
|
|||||||
"nextPageToken": {
|
"nextPageToken": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "Set if there may be more results than fit in this response."
|
"description": "Set if there may be more results than fit in this response."
|
||||||
|
},
|
||||||
|
"failedLocation": {
|
||||||
|
"type": "array",
|
||||||
|
"description": "Zero or more messages describing locations that failed to respond.",
|
||||||
|
"items": {
|
||||||
|
"$ref": "FailedLocation"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"FailedLocation": {
|
||||||
|
"id": "FailedLocation",
|
||||||
|
"type": "object",
|
||||||
|
"description": "FailedLocation indicates which location failed to respond to a request for data.",
|
||||||
|
"properties": {
|
||||||
|
"name": {
|
||||||
|
"type": "string",
|
||||||
|
"description": "The name of the failed location."
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -845,6 +871,10 @@
|
|||||||
"type": "object",
|
"type": "object",
|
||||||
"description": "Request to create a Dataflow job.",
|
"description": "Request to create a Dataflow job.",
|
||||||
"properties": {
|
"properties": {
|
||||||
|
"jobName": {
|
||||||
|
"type": "string",
|
||||||
|
"description": "The job name to use for the created job.."
|
||||||
|
},
|
||||||
"gcsPath": {
|
"gcsPath": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "A path to the serialized JSON representation of the job."
|
"description": "A path to the serialized JSON representation of the job."
|
||||||
@@ -855,6 +885,30 @@
|
|||||||
"additionalProperties": {
|
"additionalProperties": {
|
||||||
"type": "string"
|
"type": "string"
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"environment": {
|
||||||
|
"$ref": "RuntimeEnvironment",
|
||||||
|
"description": "Runtime environment for the job."
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"RuntimeEnvironment": {
|
||||||
|
"id": "RuntimeEnvironment",
|
||||||
|
"type": "object",
|
||||||
|
"description": "Environment values to set at runtime.",
|
||||||
|
"properties": {
|
||||||
|
"maxWorkers": {
|
||||||
|
"type": "integer",
|
||||||
|
"description": "The maximum number of workers to start for the job.",
|
||||||
|
"format": "int32"
|
||||||
|
},
|
||||||
|
"zone": {
|
||||||
|
"type": "string",
|
||||||
|
"description": "The zone to start the workers in."
|
||||||
|
},
|
||||||
|
"serviceAccountEmail": {
|
||||||
|
"type": "string",
|
||||||
|
"description": "The service account to run the job as."
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -877,6 +931,10 @@
|
|||||||
"currentWorkerTime": {
|
"currentWorkerTime": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "The current timestamp at the worker."
|
"description": "The current timestamp at the worker."
|
||||||
|
},
|
||||||
|
"location": {
|
||||||
|
"type": "string",
|
||||||
|
"description": "The location which contains the WorkItem's job."
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -1690,6 +1748,10 @@
|
|||||||
"workerId": {
|
"workerId": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "Identifies the worker leasing work -- typically the ID of the virtual machine running the worker."
|
"description": "Identifies the worker leasing work -- typically the ID of the virtual machine running the worker."
|
||||||
|
},
|
||||||
|
"location": {
|
||||||
|
"type": "string",
|
||||||
|
"description": "The location which contains the WorkItem's job."
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -2350,6 +2412,10 @@
|
|||||||
"trackingSubscription": {
|
"trackingSubscription": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "If set, specifies the pubsub subscription that will be used for tracking custom time timestamps for watermark estimation."
|
"description": "If set, specifies the pubsub subscription that will be used for tracking custom time timestamps for watermark estimation."
|
||||||
|
},
|
||||||
|
"withAttributes": {
|
||||||
|
"type": "boolean",
|
||||||
|
"description": "If true, then the client has requested to get pubsub attributes."
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -2781,6 +2847,11 @@
|
|||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "DEPRECATED. This field is now on the Job message.",
|
"description": "DEPRECATED. This field is now on the Job message.",
|
||||||
"location": "query"
|
"location": "query"
|
||||||
|
},
|
||||||
|
"location": {
|
||||||
|
"type": "string",
|
||||||
|
"description": "The location which contains this job.",
|
||||||
|
"location": "query"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"parameterOrder": [
|
"parameterOrder": [
|
||||||
@@ -2824,6 +2895,11 @@
|
|||||||
"JOB_VIEW_ALL"
|
"JOB_VIEW_ALL"
|
||||||
],
|
],
|
||||||
"location": "query"
|
"location": "query"
|
||||||
|
},
|
||||||
|
"location": {
|
||||||
|
"type": "string",
|
||||||
|
"description": "The location which contains this job.",
|
||||||
|
"location": "query"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"parameterOrder": [
|
"parameterOrder": [
|
||||||
@@ -2855,6 +2931,11 @@
|
|||||||
"description": "Identifies a single job.",
|
"description": "Identifies a single job.",
|
||||||
"required": true,
|
"required": true,
|
||||||
"location": "path"
|
"location": "path"
|
||||||
|
},
|
||||||
|
"location": {
|
||||||
|
"type": "string",
|
||||||
|
"description": "The location which contains this job.",
|
||||||
|
"location": "query"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"parameterOrder": [
|
"parameterOrder": [
|
||||||
@@ -2915,6 +2996,11 @@
|
|||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "Set this to the 'next_page_token' field of a previous response to request additional results in a long list.",
|
"description": "Set this to the 'next_page_token' field of a previous response to request additional results in a long list.",
|
||||||
"location": "query"
|
"location": "query"
|
||||||
|
},
|
||||||
|
"location": {
|
||||||
|
"type": "string",
|
||||||
|
"description": "The location which contains this job.",
|
||||||
|
"location": "query"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"parameterOrder": [
|
"parameterOrder": [
|
||||||
@@ -2950,6 +3036,11 @@
|
|||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "Return only metric data that has changed since this time. Default is to return all information about all metrics for the job.",
|
"description": "Return only metric data that has changed since this time. Default is to return all information about all metrics for the job.",
|
||||||
"location": "query"
|
"location": "query"
|
||||||
|
},
|
||||||
|
"location": {
|
||||||
|
"type": "string",
|
||||||
|
"description": "The location which contains the job specified by job_id.",
|
||||||
|
"location": "query"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"parameterOrder": [
|
"parameterOrder": [
|
||||||
@@ -3091,6 +3182,11 @@
|
|||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "Return only messages with timestamps \u003c end_time. The default is now (i.e. return up to the latest messages available).",
|
"description": "Return only messages with timestamps \u003c end_time. The default is now (i.e. return up to the latest messages available).",
|
||||||
"location": "query"
|
"location": "query"
|
||||||
|
},
|
||||||
|
"location": {
|
||||||
|
"type": "string",
|
||||||
|
"description": "The location which contains the job specified by job_id.",
|
||||||
|
"location": "query"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"parameterOrder": [
|
"parameterOrder": [
|
||||||
@@ -3181,6 +3277,422 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"locations": {
|
||||||
|
"resources": {
|
||||||
|
"jobs": {
|
||||||
|
"methods": {
|
||||||
|
"create": {
|
||||||
|
"id": "dataflow.projects.locations.jobs.create",
|
||||||
|
"path": "v1b3/projects/{projectId}/locations/{location}/jobs",
|
||||||
|
"httpMethod": "POST",
|
||||||
|
"description": "Creates a dataflow job.",
|
||||||
|
"parameters": {
|
||||||
|
"projectId": {
|
||||||
|
"type": "string",
|
||||||
|
"description": "The project which owns the job.",
|
||||||
|
"required": true,
|
||||||
|
"location": "path"
|
||||||
|
},
|
||||||
|
"location": {
|
||||||
|
"type": "string",
|
||||||
|
"description": "The location which contains this job.",
|
||||||
|
"required": true,
|
||||||
|
"location": "path"
|
||||||
|
},
|
||||||
|
"view": {
|
||||||
|
"type": "string",
|
||||||
|
"description": "Level of information requested in response.",
|
||||||
|
"enum": [
|
||||||
|
"JOB_VIEW_UNKNOWN",
|
||||||
|
"JOB_VIEW_SUMMARY",
|
||||||
|
"JOB_VIEW_ALL"
|
||||||
|
],
|
||||||
|
"location": "query"
|
||||||
|
},
|
||||||
|
"replaceJobId": {
|
||||||
|
"type": "string",
|
||||||
|
"description": "DEPRECATED. This field is now on the Job message.",
|
||||||
|
"location": "query"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"parameterOrder": [
|
||||||
|
"projectId",
|
||||||
|
"location"
|
||||||
|
],
|
||||||
|
"request": {
|
||||||
|
"$ref": "Job"
|
||||||
|
},
|
||||||
|
"response": {
|
||||||
|
"$ref": "Job"
|
||||||
|
},
|
||||||
|
"scopes": [
|
||||||
|
"https://www.googleapis.com/auth/cloud-platform",
|
||||||
|
"https://www.googleapis.com/auth/userinfo.email"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"get": {
|
||||||
|
"id": "dataflow.projects.locations.jobs.get",
|
||||||
|
"path": "v1b3/projects/{projectId}/locations/{location}/jobs/{jobId}",
|
||||||
|
"httpMethod": "GET",
|
||||||
|
"description": "Gets the state of the specified dataflow job.",
|
||||||
|
"parameters": {
|
||||||
|
"projectId": {
|
||||||
|
"type": "string",
|
||||||
|
"description": "The project which owns the job.",
|
||||||
|
"required": true,
|
||||||
|
"location": "path"
|
||||||
|
},
|
||||||
|
"location": {
|
||||||
|
"type": "string",
|
||||||
|
"description": "The location which contains this job.",
|
||||||
|
"required": true,
|
||||||
|
"location": "path"
|
||||||
|
},
|
||||||
|
"jobId": {
|
||||||
|
"type": "string",
|
||||||
|
"description": "Identifies a single job.",
|
||||||
|
"required": true,
|
||||||
|
"location": "path"
|
||||||
|
},
|
||||||
|
"view": {
|
||||||
|
"type": "string",
|
||||||
|
"description": "Level of information requested in response.",
|
||||||
|
"enum": [
|
||||||
|
"JOB_VIEW_UNKNOWN",
|
||||||
|
"JOB_VIEW_SUMMARY",
|
||||||
|
"JOB_VIEW_ALL"
|
||||||
|
],
|
||||||
|
"location": "query"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"parameterOrder": [
|
||||||
|
"projectId",
|
||||||
|
"location",
|
||||||
|
"jobId"
|
||||||
|
],
|
||||||
|
"response": {
|
||||||
|
"$ref": "Job"
|
||||||
|
},
|
||||||
|
"scopes": [
|
||||||
|
"https://www.googleapis.com/auth/cloud-platform",
|
||||||
|
"https://www.googleapis.com/auth/userinfo.email"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"update": {
|
||||||
|
"id": "dataflow.projects.locations.jobs.update",
|
||||||
|
"path": "v1b3/projects/{projectId}/locations/{location}/jobs/{jobId}",
|
||||||
|
"httpMethod": "PUT",
|
||||||
|
"description": "Updates the state of an existing dataflow job.",
|
||||||
|
"parameters": {
|
||||||
|
"projectId": {
|
||||||
|
"type": "string",
|
||||||
|
"description": "The project which owns the job.",
|
||||||
|
"required": true,
|
||||||
|
"location": "path"
|
||||||
|
},
|
||||||
|
"location": {
|
||||||
|
"type": "string",
|
||||||
|
"description": "The location which contains this job.",
|
||||||
|
"required": true,
|
||||||
|
"location": "path"
|
||||||
|
},
|
||||||
|
"jobId": {
|
||||||
|
"type": "string",
|
||||||
|
"description": "Identifies a single job.",
|
||||||
|
"required": true,
|
||||||
|
"location": "path"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"parameterOrder": [
|
||||||
|
"projectId",
|
||||||
|
"location",
|
||||||
|
"jobId"
|
||||||
|
],
|
||||||
|
"request": {
|
||||||
|
"$ref": "Job"
|
||||||
|
},
|
||||||
|
"response": {
|
||||||
|
"$ref": "Job"
|
||||||
|
},
|
||||||
|
"scopes": [
|
||||||
|
"https://www.googleapis.com/auth/cloud-platform",
|
||||||
|
"https://www.googleapis.com/auth/userinfo.email"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"list": {
|
||||||
|
"id": "dataflow.projects.locations.jobs.list",
|
||||||
|
"path": "v1b3/projects/{projectId}/locations/{location}/jobs",
|
||||||
|
"httpMethod": "GET",
|
||||||
|
"description": "List the jobs of a project",
|
||||||
|
"parameters": {
|
||||||
|
"projectId": {
|
||||||
|
"type": "string",
|
||||||
|
"description": "The project which owns the jobs.",
|
||||||
|
"required": true,
|
||||||
|
"location": "path"
|
||||||
|
},
|
||||||
|
"location": {
|
||||||
|
"type": "string",
|
||||||
|
"description": "The location which contains this job.",
|
||||||
|
"required": true,
|
||||||
|
"location": "path"
|
||||||
|
},
|
||||||
|
"filter": {
|
||||||
|
"type": "string",
|
||||||
|
"description": "The kind of filter to use.",
|
||||||
|
"enum": [
|
||||||
|
"UNKNOWN",
|
||||||
|
"ALL",
|
||||||
|
"TERMINATED",
|
||||||
|
"ACTIVE"
|
||||||
|
],
|
||||||
|
"location": "query"
|
||||||
|
},
|
||||||
|
"view": {
|
||||||
|
"type": "string",
|
||||||
|
"description": "Level of information requested in response. Default is SUMMARY.",
|
||||||
|
"enum": [
|
||||||
|
"JOB_VIEW_UNKNOWN",
|
||||||
|
"JOB_VIEW_SUMMARY",
|
||||||
|
"JOB_VIEW_ALL"
|
||||||
|
],
|
||||||
|
"location": "query"
|
||||||
|
},
|
||||||
|
"pageSize": {
|
||||||
|
"type": "integer",
|
||||||
|
"description": "If there are many jobs, limit response to at most this many. The actual number of jobs returned will be the lesser of max_responses and an unspecified server-defined limit.",
|
||||||
|
"format": "int32",
|
||||||
|
"location": "query"
|
||||||
|
},
|
||||||
|
"pageToken": {
|
||||||
|
"type": "string",
|
||||||
|
"description": "Set this to the 'next_page_token' field of a previous response to request additional results in a long list.",
|
||||||
|
"location": "query"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"parameterOrder": [
|
||||||
|
"projectId",
|
||||||
|
"location"
|
||||||
|
],
|
||||||
|
"response": {
|
||||||
|
"$ref": "ListJobsResponse"
|
||||||
|
},
|
||||||
|
"scopes": [
|
||||||
|
"https://www.googleapis.com/auth/cloud-platform",
|
||||||
|
"https://www.googleapis.com/auth/userinfo.email"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"getMetrics": {
|
||||||
|
"id": "dataflow.projects.locations.jobs.getMetrics",
|
||||||
|
"path": "v1b3/projects/{projectId}/locations/{location}/jobs/{jobId}/metrics",
|
||||||
|
"httpMethod": "GET",
|
||||||
|
"description": "Request the job status.",
|
||||||
|
"parameters": {
|
||||||
|
"projectId": {
|
||||||
|
"type": "string",
|
||||||
|
"description": "A project id.",
|
||||||
|
"required": true,
|
||||||
|
"location": "path"
|
||||||
|
},
|
||||||
|
"location": {
|
||||||
|
"type": "string",
|
||||||
|
"description": "The location which contains the job specified by job_id.",
|
||||||
|
"required": true,
|
||||||
|
"location": "path"
|
||||||
|
},
|
||||||
|
"jobId": {
|
||||||
|
"type": "string",
|
||||||
|
"description": "The job to get messages for.",
|
||||||
|
"required": true,
|
||||||
|
"location": "path"
|
||||||
|
},
|
||||||
|
"startTime": {
|
||||||
|
"type": "string",
|
||||||
|
"description": "Return only metric data that has changed since this time. Default is to return all information about all metrics for the job.",
|
||||||
|
"location": "query"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"parameterOrder": [
|
||||||
|
"projectId",
|
||||||
|
"location",
|
||||||
|
"jobId"
|
||||||
|
],
|
||||||
|
"response": {
|
||||||
|
"$ref": "JobMetrics"
|
||||||
|
},
|
||||||
|
"scopes": [
|
||||||
|
"https://www.googleapis.com/auth/cloud-platform",
|
||||||
|
"https://www.googleapis.com/auth/userinfo.email"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"resources": {
|
||||||
|
"messages": {
|
||||||
|
"methods": {
|
||||||
|
"list": {
|
||||||
|
"id": "dataflow.projects.locations.jobs.messages.list",
|
||||||
|
"path": "v1b3/projects/{projectId}/locations/{location}/jobs/{jobId}/messages",
|
||||||
|
"httpMethod": "GET",
|
||||||
|
"description": "Request the job status.",
|
||||||
|
"parameters": {
|
||||||
|
"projectId": {
|
||||||
|
"type": "string",
|
||||||
|
"description": "A project id.",
|
||||||
|
"required": true,
|
||||||
|
"location": "path"
|
||||||
|
},
|
||||||
|
"location": {
|
||||||
|
"type": "string",
|
||||||
|
"description": "The location which contains the job specified by job_id.",
|
||||||
|
"required": true,
|
||||||
|
"location": "path"
|
||||||
|
},
|
||||||
|
"jobId": {
|
||||||
|
"type": "string",
|
||||||
|
"description": "The job to get messages about.",
|
||||||
|
"required": true,
|
||||||
|
"location": "path"
|
||||||
|
},
|
||||||
|
"minimumImportance": {
|
||||||
|
"type": "string",
|
||||||
|
"description": "Filter to only get messages with importance \u003e= level",
|
||||||
|
"enum": [
|
||||||
|
"JOB_MESSAGE_IMPORTANCE_UNKNOWN",
|
||||||
|
"JOB_MESSAGE_DEBUG",
|
||||||
|
"JOB_MESSAGE_DETAILED",
|
||||||
|
"JOB_MESSAGE_BASIC",
|
||||||
|
"JOB_MESSAGE_WARNING",
|
||||||
|
"JOB_MESSAGE_ERROR"
|
||||||
|
],
|
||||||
|
"location": "query"
|
||||||
|
},
|
||||||
|
"pageSize": {
|
||||||
|
"type": "integer",
|
||||||
|
"description": "If specified, determines the maximum number of messages to return. If unspecified, the service may choose an appropriate default, or may return an arbitrarily large number of results.",
|
||||||
|
"format": "int32",
|
||||||
|
"location": "query"
|
||||||
|
},
|
||||||
|
"pageToken": {
|
||||||
|
"type": "string",
|
||||||
|
"description": "If supplied, this should be the value of next_page_token returned by an earlier call. This will cause the next page of results to be returned.",
|
||||||
|
"location": "query"
|
||||||
|
},
|
||||||
|
"startTime": {
|
||||||
|
"type": "string",
|
||||||
|
"description": "If specified, return only messages with timestamps \u003e= start_time. The default is the job creation time (i.e. beginning of messages).",
|
||||||
|
"location": "query"
|
||||||
|
},
|
||||||
|
"endTime": {
|
||||||
|
"type": "string",
|
||||||
|
"description": "Return only messages with timestamps \u003c end_time. The default is now (i.e. return up to the latest messages available).",
|
||||||
|
"location": "query"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"parameterOrder": [
|
||||||
|
"projectId",
|
||||||
|
"location",
|
||||||
|
"jobId"
|
||||||
|
],
|
||||||
|
"response": {
|
||||||
|
"$ref": "ListJobMessagesResponse"
|
||||||
|
},
|
||||||
|
"scopes": [
|
||||||
|
"https://www.googleapis.com/auth/cloud-platform",
|
||||||
|
"https://www.googleapis.com/auth/userinfo.email"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"workItems": {
|
||||||
|
"methods": {
|
||||||
|
"reportStatus": {
|
||||||
|
"id": "dataflow.projects.locations.jobs.workItems.reportStatus",
|
||||||
|
"path": "v1b3/projects/{projectId}/locations/{location}/jobs/{jobId}/workItems:reportStatus",
|
||||||
|
"httpMethod": "POST",
|
||||||
|
"description": "Reports the status of dataflow WorkItems leased by a worker.",
|
||||||
|
"parameters": {
|
||||||
|
"projectId": {
|
||||||
|
"type": "string",
|
||||||
|
"description": "The project which owns the WorkItem's job.",
|
||||||
|
"required": true,
|
||||||
|
"location": "path"
|
||||||
|
},
|
||||||
|
"location": {
|
||||||
|
"type": "string",
|
||||||
|
"description": "The location which contains the WorkItem's job.",
|
||||||
|
"required": true,
|
||||||
|
"location": "path"
|
||||||
|
},
|
||||||
|
"jobId": {
|
||||||
|
"type": "string",
|
||||||
|
"description": "The job which the WorkItem is part of.",
|
||||||
|
"required": true,
|
||||||
|
"location": "path"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"parameterOrder": [
|
||||||
|
"projectId",
|
||||||
|
"location",
|
||||||
|
"jobId"
|
||||||
|
],
|
||||||
|
"request": {
|
||||||
|
"$ref": "ReportWorkItemStatusRequest"
|
||||||
|
},
|
||||||
|
"response": {
|
||||||
|
"$ref": "ReportWorkItemStatusResponse"
|
||||||
|
},
|
||||||
|
"scopes": [
|
||||||
|
"https://www.googleapis.com/auth/cloud-platform",
|
||||||
|
"https://www.googleapis.com/auth/userinfo.email"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"lease": {
|
||||||
|
"id": "dataflow.projects.locations.jobs.workItems.lease",
|
||||||
|
"path": "v1b3/projects/{projectId}/locations/{location}/jobs/{jobId}/workItems:lease",
|
||||||
|
"httpMethod": "POST",
|
||||||
|
"description": "Leases a dataflow WorkItem to run.",
|
||||||
|
"parameters": {
|
||||||
|
"projectId": {
|
||||||
|
"type": "string",
|
||||||
|
"description": "Identifies the project this worker belongs to.",
|
||||||
|
"required": true,
|
||||||
|
"location": "path"
|
||||||
|
},
|
||||||
|
"location": {
|
||||||
|
"type": "string",
|
||||||
|
"description": "The location which contains the WorkItem's job.",
|
||||||
|
"required": true,
|
||||||
|
"location": "path"
|
||||||
|
},
|
||||||
|
"jobId": {
|
||||||
|
"type": "string",
|
||||||
|
"description": "Identifies the workflow job this worker belongs to.",
|
||||||
|
"required": true,
|
||||||
|
"location": "path"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"parameterOrder": [
|
||||||
|
"projectId",
|
||||||
|
"location",
|
||||||
|
"jobId"
|
||||||
|
],
|
||||||
|
"request": {
|
||||||
|
"$ref": "LeaseWorkItemRequest"
|
||||||
|
},
|
||||||
|
"response": {
|
||||||
|
"$ref": "LeaseWorkItemResponse"
|
||||||
|
},
|
||||||
|
"scopes": [
|
||||||
|
"https://www.googleapis.com/auth/cloud-platform",
|
||||||
|
"https://www.googleapis.com/auth/userinfo.email"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
"templates": {
|
"templates": {
|
||||||
"methods": {
|
"methods": {
|
||||||
"create": {
|
"create": {
|
||||||
|
|||||||
@@ -1,13 +1,13 @@
|
|||||||
{
|
{
|
||||||
"kind": "discovery#restDescription",
|
"kind": "discovery#restDescription",
|
||||||
"etag": "\"C5oy1hgQsABtYOYIOXWcR3BgYqU/tFUpSbikiYUx1YQKdRQ2bGGumuA\"",
|
"etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/UWIx0i13luZLKjW6gmDu2evUqDA\"",
|
||||||
"discoveryVersion": "v1",
|
"discoveryVersion": "v1",
|
||||||
"id": "dataproc:v1",
|
"id": "dataproc:v1",
|
||||||
"name": "dataproc",
|
"name": "dataproc",
|
||||||
"version": "v1",
|
"version": "v1",
|
||||||
"revision": "20160503",
|
"revision": "20161102",
|
||||||
"title": "Google Cloud Dataproc API",
|
"title": "Google Cloud Dataproc API",
|
||||||
"description": "Manages Hadoop-based clusters and jobs on Google Cloud Platform.",
|
"description": "An API for managing Hadoop-based clusters and jobs on Google Cloud Platform.",
|
||||||
"ownerDomain": "google.com",
|
"ownerDomain": "google.com",
|
||||||
"ownerName": "Google",
|
"ownerName": "Google",
|
||||||
"icons": {
|
"icons": {
|
||||||
@@ -127,6 +127,13 @@
|
|||||||
"$ref": "ClusterConfig",
|
"$ref": "ClusterConfig",
|
||||||
"description": "[Required] The cluster config. Note that Cloud Dataproc may set default values, and values may change when clusters are updated."
|
"description": "[Required] The cluster config. Note that Cloud Dataproc may set default values, and values may change when clusters are updated."
|
||||||
},
|
},
|
||||||
|
"labels": {
|
||||||
|
"type": "object",
|
||||||
|
"description": "[Optional] The labels to associate with this cluster. Label **keys** must contain 1 to 63 characters, and must conform to [RFC 1035](https://www.ietf.org/rfc/rfc1035.txt). Label **values** may be empty, but, if present, must contain 1 to 63 characters, and must conform to [RFC 1035](https://www.ietf.org/rfc/rfc1035.txt). No more than 32 labels can be associated with a cluster.",
|
||||||
|
"additionalProperties": {
|
||||||
|
"type": "string"
|
||||||
|
}
|
||||||
|
},
|
||||||
"status": {
|
"status": {
|
||||||
"$ref": "ClusterStatus",
|
"$ref": "ClusterStatus",
|
||||||
"description": "[Output-only] Cluster status."
|
"description": "[Output-only] Cluster status."
|
||||||
@@ -141,6 +148,10 @@
|
|||||||
"clusterUuid": {
|
"clusterUuid": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "[Output-only] A cluster UUID (Unique Universal Identifier). Cloud Dataproc generates this value when it creates the cluster."
|
"description": "[Output-only] A cluster UUID (Unique Universal Identifier). Cloud Dataproc generates this value when it creates the cluster."
|
||||||
|
},
|
||||||
|
"metrics": {
|
||||||
|
"$ref": "ClusterMetrics",
|
||||||
|
"description": "Contains cluster daemon metrics such as HDFS and YARN stats. **Beta Feature**: This report is available for testing purposes only. It may be changed before final release."
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -175,7 +186,7 @@
|
|||||||
},
|
},
|
||||||
"initializationActions": {
|
"initializationActions": {
|
||||||
"type": "array",
|
"type": "array",
|
||||||
"description": "[Optional] Commands to execute on each node after config is completed. By default, executables are run on master and all worker nodes. You can test a node's role metadata to run an executable on a master or worker node, as shown below: ROLE=$(/usr/share/google/get_metadata_value attributes/role) if [[ \"${ROLE}\" == 'Master' ]]; then ... master specific actions ... else ... worker specific actions ... fi",
|
"description": "[Optional] Commands to execute on each node after config is completed. By default, executables are run on master and all worker nodes. You can test a node's role metadata to run an executable on a master or worker node, as shown below using `curl` (you can also use `wget`): ROLE=$(curl -H Metadata-Flavor:Google http://metadata/computeMetadata/v1/instance/attributes/dataproc-role) if [[ \"${ROLE}\" == 'Master' ]]; then ... master specific actions ... else ... worker specific actions ... fi",
|
||||||
"items": {
|
"items": {
|
||||||
"$ref": "NodeInitializationAction"
|
"$ref": "NodeInitializationAction"
|
||||||
}
|
}
|
||||||
@@ -193,29 +204,33 @@
|
|||||||
},
|
},
|
||||||
"networkUri": {
|
"networkUri": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "The Google Compute Engine network to be used for machine communications. Cannot be specified with subnetwork_uri. If neither network_uri nor subnetwork_uri is specified, the \"default\" network of the project is used, if it exists. Cannot be a \"Custom Subnet Network\" (see https://cloud.google.com/compute/docs/subnetworks for more information). Example: `https://www.googleapis.com/compute/v1/projects/[project_id]/regions/global/default`."
|
"description": "[Optional] The Google Compute Engine network to be used for machine communications. Cannot be specified with subnetwork_uri. If neither `network_uri` nor `subnetwork_uri` is specified, the \"default\" network of the project is used, if it exists. Cannot be a \"Custom Subnet Network\" (see [Using Subnetworks](/compute/docs/subnetworks) for more information). Example: `https://www.googleapis.com/compute/v1/projects/[project_id]/regions/global/default`."
|
||||||
},
|
},
|
||||||
"subnetworkUri": {
|
"subnetworkUri": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "The Google Compute Engine subnetwork to be used for machine communications. Cannot be specified with network_uri. Example: `https://www.googleapis.com/compute/v1/projects/[project_id]/regions/us-east1/sub0`."
|
"description": "[Optional] The Google Compute Engine subnetwork to be used for machine communications. Cannot be specified with network_uri. Example: `https://www.googleapis.com/compute/v1/projects/[project_id]/regions/us-east1/sub0`."
|
||||||
|
},
|
||||||
|
"internalIpOnly": {
|
||||||
|
"type": "boolean",
|
||||||
|
"description": "[Optional] If true, all instances in the cluster will only have internal IP addresses. By default, clusters are not restricted to internal IP addresses, and will have ephemeral external IP addresses assigned to each instance. This `internal_ip_only` restriction can only be enabled for subnetwork enabled networks, and all off-cluster dependencies must be configured to be accessible without external IP addresses."
|
||||||
},
|
},
|
||||||
"serviceAccountScopes": {
|
"serviceAccountScopes": {
|
||||||
"type": "array",
|
"type": "array",
|
||||||
"description": "The URIs of service account scopes to be included in Google Compute Engine instances. The following base set of scopes is always included: * https://www.googleapis.com/auth/cloud.useraccounts.readonly * https://www.googleapis.com/auth/devstorage.read_write * https://www.googleapis.com/auth/logging.write If no scopes are specfied, the following defaults are also provided: * https://www.googleapis.com/auth/bigquery * https://www.googleapis.com/auth/bigtable.admin.table * https://www.googleapis.com/auth/bigtable.data * https://www.googleapis.com/auth/devstorage.full_control",
|
"description": "[Optional] The URIs of service account scopes to be included in Google Compute Engine instances. The following base set of scopes is always included: * https://www.googleapis.com/auth/cloud.useraccounts.readonly * https://www.googleapis.com/auth/devstorage.read_write * https://www.googleapis.com/auth/logging.write If no scopes are specified, the following defaults are also provided: * https://www.googleapis.com/auth/bigquery * https://www.googleapis.com/auth/bigtable.admin.table * https://www.googleapis.com/auth/bigtable.data * https://www.googleapis.com/auth/devstorage.full_control",
|
||||||
"items": {
|
"items": {
|
||||||
"type": "string"
|
"type": "string"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"tags": {
|
"tags": {
|
||||||
"type": "array",
|
"type": "array",
|
||||||
"description": "The Google Compute Engine tags to add to all instances.",
|
"description": "The Google Compute Engine tags to add to all instances (see [Tagging instances](/compute/docs/label-or-tag-resources#tags)).",
|
||||||
"items": {
|
"items": {
|
||||||
"type": "string"
|
"type": "string"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"metadata": {
|
"metadata": {
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"description": "The Google Compute Engine metadata entries to add to all instances.",
|
"description": "The Google Compute Engine metadata entries to add to all instances (see [Project and instance metadata](https://cloud.google.com/compute/docs/storing-retrieving-metadata#project_and_instance_metadata)).",
|
||||||
"additionalProperties": {
|
"additionalProperties": {
|
||||||
"type": "string"
|
"type": "string"
|
||||||
}
|
}
|
||||||
@@ -225,16 +240,16 @@
|
|||||||
"InstanceGroupConfig": {
|
"InstanceGroupConfig": {
|
||||||
"id": "InstanceGroupConfig",
|
"id": "InstanceGroupConfig",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"description": "The config settings for Google Compute Engine resources in an instance group, such as a master or worker group.",
|
"description": "[Optional] The config settings for Google Compute Engine resources in an instance group, such as a master or worker group.",
|
||||||
"properties": {
|
"properties": {
|
||||||
"numInstances": {
|
"numInstances": {
|
||||||
"type": "integer",
|
"type": "integer",
|
||||||
"description": "The number of VM instances in the instance group. For master instance groups, must be set to 1.",
|
"description": "[Required] The number of VM instances in the instance group. For master instance groups, must be set to 1.",
|
||||||
"format": "int32"
|
"format": "int32"
|
||||||
},
|
},
|
||||||
"instanceNames": {
|
"instanceNames": {
|
||||||
"type": "array",
|
"type": "array",
|
||||||
"description": "The list of instance names. Cloud Dataproc derives the names from `cluster_name`, `num_instances`, and the instance group if not set by user (recommended practice is to let Cloud Dataproc derive the name).",
|
"description": "[Optional] The list of instance names. Cloud Dataproc derives the names from `cluster_name`, `num_instances`, and the instance group if not set by user (recommended practice is to let Cloud Dataproc derive the name).",
|
||||||
"items": {
|
"items": {
|
||||||
"type": "string"
|
"type": "string"
|
||||||
}
|
}
|
||||||
@@ -245,15 +260,15 @@
|
|||||||
},
|
},
|
||||||
"machineTypeUri": {
|
"machineTypeUri": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "The Google Compute Engine machine type used for cluster instances. Example: `https://www.googleapis.com/compute/v1/projects/[project_id]/zones/us-east1-a/machineTypes/n1-standard-2`."
|
"description": "[Required] The Google Compute Engine machine type used for cluster instances. Example: `https://www.googleapis.com/compute/v1/projects/[project_id]/zones/us-east1-a/machineTypes/n1-standard-2`."
|
||||||
},
|
},
|
||||||
"diskConfig": {
|
"diskConfig": {
|
||||||
"$ref": "DiskConfig",
|
"$ref": "DiskConfig",
|
||||||
"description": "Disk option config settings."
|
"description": "[Optional] Disk option config settings."
|
||||||
},
|
},
|
||||||
"isPreemptible": {
|
"isPreemptible": {
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
"description": "Specifies that this instance group contains Preemptible Instances."
|
"description": "[Optional] Specifies that this instance group contains preemptible instances."
|
||||||
},
|
},
|
||||||
"managedGroupConfig": {
|
"managedGroupConfig": {
|
||||||
"$ref": "ManagedGroupConfig",
|
"$ref": "ManagedGroupConfig",
|
||||||
@@ -273,7 +288,7 @@
|
|||||||
},
|
},
|
||||||
"numLocalSsds": {
|
"numLocalSsds": {
|
||||||
"type": "integer",
|
"type": "integer",
|
||||||
"description": "[Optional] Number of attached SSDs, from 0 to 4 (default is 0). If SSDs are not attached, the boot disk is used to store runtime logs and HDFS data. If one or more SSDs are attached, this runtime bulk data is spread across them, and the boot disk contains only basic config and installed binaries.",
|
"description": "[Optional] Number of attached SSDs, from 0 to 4 (default is 0). If SSDs are not attached, the boot disk is used to store runtime logs and [HDFS](https://hadoop.apache.org/docs/r1.2.1/hdfs_user_guide.html) data. If one or more SSDs are attached, this runtime bulk data is spread across them, and the boot disk contains only basic config and installed binaries.",
|
||||||
"format": "int32"
|
"format": "int32"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -333,7 +348,7 @@
|
|||||||
"properties": {
|
"properties": {
|
||||||
"state": {
|
"state": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "The cluster's state.",
|
"description": "[Output-only] The cluster's state.",
|
||||||
"enum": [
|
"enum": [
|
||||||
"UNKNOWN",
|
"UNKNOWN",
|
||||||
"CREATING",
|
"CREATING",
|
||||||
@@ -345,11 +360,34 @@
|
|||||||
},
|
},
|
||||||
"detail": {
|
"detail": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "Optional details of cluster's state."
|
"description": "[Output-only] Optional details of cluster's state."
|
||||||
},
|
},
|
||||||
"stateStartTime": {
|
"stateStartTime": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "Time when this state was entered."
|
"description": "[Output-only] Time when this state was entered."
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"ClusterMetrics": {
|
||||||
|
"id": "ClusterMetrics",
|
||||||
|
"type": "object",
|
||||||
|
"description": "Contains cluster daemon metrics, such as HDFS and YARN stats. **Beta Feature**: This report is available for testing purposes only. It may be changed before final release.",
|
||||||
|
"properties": {
|
||||||
|
"hdfsMetrics": {
|
||||||
|
"type": "object",
|
||||||
|
"description": "The HDFS metrics.",
|
||||||
|
"additionalProperties": {
|
||||||
|
"type": "string",
|
||||||
|
"format": "int64"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"yarnMetrics": {
|
||||||
|
"type": "object",
|
||||||
|
"description": "The YARN metrics.",
|
||||||
|
"additionalProperties": {
|
||||||
|
"type": "string",
|
||||||
|
"format": "int64"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -367,7 +405,7 @@
|
|||||||
"description": "Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.",
|
"description": "Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.",
|
||||||
"additionalProperties": {
|
"additionalProperties": {
|
||||||
"type": "any",
|
"type": "any",
|
||||||
"description": "Properties of the object. Contains field @ype with type URL."
|
"description": "Properties of the object. Contains field @type with type URL."
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"done": {
|
"done": {
|
||||||
@@ -376,14 +414,14 @@
|
|||||||
},
|
},
|
||||||
"error": {
|
"error": {
|
||||||
"$ref": "Status",
|
"$ref": "Status",
|
||||||
"description": "The error result of the operation in case of failure."
|
"description": "The error result of the operation in case of failure or cancellation."
|
||||||
},
|
},
|
||||||
"response": {
|
"response": {
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"description": "The normal response of the operation in case of success. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.",
|
"description": "The normal response of the operation in case of success. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.",
|
||||||
"additionalProperties": {
|
"additionalProperties": {
|
||||||
"type": "any",
|
"type": "any",
|
||||||
"description": "Properties of the object. Contains field @ype with type URL."
|
"description": "Properties of the object. Contains field @type with type URL."
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -409,7 +447,7 @@
|
|||||||
"type": "object",
|
"type": "object",
|
||||||
"additionalProperties": {
|
"additionalProperties": {
|
||||||
"type": "any",
|
"type": "any",
|
||||||
"description": "Properties of the object. Contains field @ype with type URL."
|
"description": "Properties of the object. Contains field @type with type URL."
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -429,7 +467,7 @@
|
|||||||
},
|
},
|
||||||
"nextPageToken": {
|
"nextPageToken": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "[Optional] This token is included in the response if there are more results to fetch. To fetch additional results, provide this value as the `page_token` in a subsequent ListClustersRequest."
|
"description": "[Output-only] This token is included in the response if there are more results to fetch. To fetch additional results, provide this value as the `page_token` in a subsequent ListClustersRequest."
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -497,6 +535,13 @@
|
|||||||
"$ref": "JobStatus"
|
"$ref": "JobStatus"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"yarnApplications": {
|
||||||
|
"type": "array",
|
||||||
|
"description": "[Output-only] The collection of YARN applications spun up by this job. **Beta** Feature: This report is available for testing purposes only. It may be changed before final release.",
|
||||||
|
"items": {
|
||||||
|
"$ref": "YarnApplication"
|
||||||
|
}
|
||||||
|
},
|
||||||
"driverOutputResourceUri": {
|
"driverOutputResourceUri": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "[Output-only] A URI pointing to the location of the stdout of the job's driver program."
|
"description": "[Output-only] A URI pointing to the location of the stdout of the job's driver program."
|
||||||
@@ -504,6 +549,13 @@
|
|||||||
"driverControlFilesUri": {
|
"driverControlFilesUri": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "[Output-only] If present, the location of miscellaneous control files which may be used as part of job setup and handling. If not present, control files may be placed in the same location as `driver_output_uri`."
|
"description": "[Output-only] If present, the location of miscellaneous control files which may be used as part of job setup and handling. If not present, control files may be placed in the same location as `driver_output_uri`."
|
||||||
|
},
|
||||||
|
"labels": {
|
||||||
|
"type": "object",
|
||||||
|
"description": "[Optional] The labels to associate with this job. Label **keys** must contain 1 to 63 characters, and must conform to [RFC 1035](https://www.ietf.org/rfc/rfc1035.txt). Label **values** may be empty, but, if present, must contain 1 to 63 characters, and must conform to [RFC 1035](https://www.ietf.org/rfc/rfc1035.txt). No more than 32 labels can be associated with a job.",
|
||||||
|
"additionalProperties": {
|
||||||
|
"type": "string"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -518,7 +570,7 @@
|
|||||||
},
|
},
|
||||||
"jobId": {
|
"jobId": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "[Required] The job ID, which must be unique within the project. The job ID is generated by the server upon job submission or provided by the user as a means to perform retries without creating duplicate jobs. The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), or hyphens (-). The maximum length is 512 characters."
|
"description": "[Optional] The job ID, which must be unique within the project. The job ID is generated by the server upon job submission or provided by the user as a means to perform retries without creating duplicate jobs. The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), or hyphens (-). The maximum length is 512 characters."
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -540,7 +592,7 @@
|
|||||||
"HadoopJob": {
|
"HadoopJob": {
|
||||||
"id": "HadoopJob",
|
"id": "HadoopJob",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"description": "A Cloud Dataproc job for running Hadoop MapReduce jobs on YARN.",
|
"description": "A Cloud Dataproc job for running [Apache Hadoop MapReduce](https://hadoop.apache.org/docs/current/hadoop-mapreduce-client/hadoop-mapreduce-client-core/MapReduceTutorial.html) jobs on [Apache Hadoop YARN](https://hadoop.apache.org/docs/r2.7.1/hadoop-yarn/hadoop-yarn-site/YARN.html).",
|
||||||
"properties": {
|
"properties": {
|
||||||
"mainJarFileUri": {
|
"mainJarFileUri": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
@@ -619,7 +671,7 @@
|
|||||||
"SparkJob": {
|
"SparkJob": {
|
||||||
"id": "SparkJob",
|
"id": "SparkJob",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"description": "A Cloud Dataproc job for running Spark applications on YARN.",
|
"description": "A Cloud Dataproc job for running [Apache Spark](http://spark.apache.org/) applications on YARN.",
|
||||||
"properties": {
|
"properties": {
|
||||||
"mainJarFileUri": {
|
"mainJarFileUri": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
@@ -673,7 +725,7 @@
|
|||||||
"PySparkJob": {
|
"PySparkJob": {
|
||||||
"id": "PySparkJob",
|
"id": "PySparkJob",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"description": "A Cloud Dataproc job for running PySpark applications on YARN.",
|
"description": "A Cloud Dataproc job for running [Apache PySpark](https://spark.apache.org/docs/0.9.0/python-programming-guide.html) applications on YARN.",
|
||||||
"properties": {
|
"properties": {
|
||||||
"mainPythonFileUri": {
|
"mainPythonFileUri": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
@@ -730,7 +782,7 @@
|
|||||||
"HiveJob": {
|
"HiveJob": {
|
||||||
"id": "HiveJob",
|
"id": "HiveJob",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"description": "A Cloud Dataproc job for running Hive queries on YARN.",
|
"description": "A Cloud Dataproc job for running [Apache Hive](https://hive.apache.org/) queries on YARN.",
|
||||||
"properties": {
|
"properties": {
|
||||||
"queryFileUri": {
|
"queryFileUri": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
@@ -784,7 +836,7 @@
|
|||||||
"PigJob": {
|
"PigJob": {
|
||||||
"id": "PigJob",
|
"id": "PigJob",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"description": "A Cloud Dataproc job for running Pig queries on YARN.",
|
"description": "A Cloud Dataproc job for running [Apache Pig](https://pig.apache.org/) queries on YARN.",
|
||||||
"properties": {
|
"properties": {
|
||||||
"queryFileUri": {
|
"queryFileUri": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
@@ -828,7 +880,7 @@
|
|||||||
"SparkSqlJob": {
|
"SparkSqlJob": {
|
||||||
"id": "SparkSqlJob",
|
"id": "SparkSqlJob",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"description": "A Cloud Dataproc job for running Spark SQL queries.",
|
"description": "A Cloud Dataproc job for running [Apache Spark SQL](http://spark.apache.org/sql/) queries.",
|
||||||
"properties": {
|
"properties": {
|
||||||
"queryFileUri": {
|
"queryFileUri": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
@@ -872,7 +924,7 @@
|
|||||||
"properties": {
|
"properties": {
|
||||||
"state": {
|
"state": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "[Required] A state message specifying the overall job state.",
|
"description": "[Output-only] A state message specifying the overall job state.",
|
||||||
"enum": [
|
"enum": [
|
||||||
"STATE_UNSPECIFIED",
|
"STATE_UNSPECIFIED",
|
||||||
"PENDING",
|
"PENDING",
|
||||||
@@ -887,7 +939,7 @@
|
|||||||
},
|
},
|
||||||
"details": {
|
"details": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "[Optional] Job state details, such as an error description if the state is ERROR."
|
"description": "[Output-only] Optional job state details, such as an error description if the state is ERROR."
|
||||||
},
|
},
|
||||||
"stateStartTime": {
|
"stateStartTime": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
@@ -895,6 +947,41 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"YarnApplication": {
|
||||||
|
"id": "YarnApplication",
|
||||||
|
"type": "object",
|
||||||
|
"description": "A YARN application created by a job. Application information is a subset of org.apache.hadoop.yarn.proto.YarnProtos.ApplicationReportProto. **Beta Feature**: This report is available for testing purposes only. It may be changed before final release.",
|
||||||
|
"properties": {
|
||||||
|
"name": {
|
||||||
|
"type": "string",
|
||||||
|
"description": "[Required] The application name."
|
||||||
|
},
|
||||||
|
"state": {
|
||||||
|
"type": "string",
|
||||||
|
"description": "[Required] The application state.",
|
||||||
|
"enum": [
|
||||||
|
"STATE_UNSPECIFIED",
|
||||||
|
"NEW",
|
||||||
|
"NEW_SAVING",
|
||||||
|
"SUBMITTED",
|
||||||
|
"ACCEPTED",
|
||||||
|
"RUNNING",
|
||||||
|
"FINISHED",
|
||||||
|
"FAILED",
|
||||||
|
"KILLED"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"progress": {
|
||||||
|
"type": "number",
|
||||||
|
"description": "[Required] The numerical progress of the application, from 1 to 100.",
|
||||||
|
"format": "float"
|
||||||
|
},
|
||||||
|
"trackingUrl": {
|
||||||
|
"type": "string",
|
||||||
|
"description": "[Optional] The HTTP URL of the ApplicationMaster, HistoryServer, or TimelineServer that provides application-specific information. The URL uses the internal hostname, and requires a proxy server for resolution and, possibly, access."
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
"ListJobsResponse": {
|
"ListJobsResponse": {
|
||||||
"id": "ListJobsResponse",
|
"id": "ListJobsResponse",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
@@ -948,7 +1035,7 @@
|
|||||||
"properties": {
|
"properties": {
|
||||||
"outputUri": {
|
"outputUri": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "[Output-only] The Google Cloud Storage URI of the diagnostic output. This is a plain text file with a summary of collected diagnostics."
|
"description": "[Output-only] The Google Cloud Storage URI of the diagnostic output. The output report is a plain text file with a summary of collected diagnostics."
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -959,11 +1046,11 @@
|
|||||||
"properties": {
|
"properties": {
|
||||||
"clusterName": {
|
"clusterName": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "Name of the cluster for the operation."
|
"description": "[Output-only] Name of the cluster for the operation."
|
||||||
},
|
},
|
||||||
"clusterUuid": {
|
"clusterUuid": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "Cluster UUId for the operation."
|
"description": "[Output-only] Cluster UUID for the operation."
|
||||||
},
|
},
|
||||||
"status": {
|
"status": {
|
||||||
"$ref": "ClusterOperationStatus",
|
"$ref": "ClusterOperationStatus",
|
||||||
@@ -983,6 +1070,13 @@
|
|||||||
"description": {
|
"description": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "[Output-only] Short description of operation."
|
"description": "[Output-only] Short description of operation."
|
||||||
|
},
|
||||||
|
"labels": {
|
||||||
|
"type": "object",
|
||||||
|
"description": "[Output-only] labels associated with the operation",
|
||||||
|
"additionalProperties": {
|
||||||
|
"type": "string"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -993,7 +1087,7 @@
|
|||||||
"properties": {
|
"properties": {
|
||||||
"state": {
|
"state": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "A message containing the operation state.",
|
"description": "[Output-only] A message containing the operation state.",
|
||||||
"enum": [
|
"enum": [
|
||||||
"UNKNOWN",
|
"UNKNOWN",
|
||||||
"PENDING",
|
"PENDING",
|
||||||
@@ -1003,15 +1097,15 @@
|
|||||||
},
|
},
|
||||||
"innerState": {
|
"innerState": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "A message containing the detailed operation state."
|
"description": "[Output-only] A message containing the detailed operation state."
|
||||||
},
|
},
|
||||||
"details": {
|
"details": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "A message containing any operation metadata details."
|
"description": "[Output-only]A message containing any operation metadata details."
|
||||||
},
|
},
|
||||||
"stateStartTime": {
|
"stateStartTime": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "The time this state was entered."
|
"description": "[Output-only] The time this state was entered."
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -1297,15 +1391,20 @@
|
|||||||
"required": true,
|
"required": true,
|
||||||
"location": "path"
|
"location": "path"
|
||||||
},
|
},
|
||||||
|
"filter": {
|
||||||
|
"type": "string",
|
||||||
|
"description": "[Optional] A filter constraining the clusters to list. Filters are case-sensitive and have the following syntax: field:value [field:value] ... or field = value [AND [field = value]] ... where **field** is one of `status.state`, `clusterName`, or `labels.[KEY]`, and `[KEY]` is a label key. **value** can be `*` to match all values. `status.state` can be one of the following: `ACTIVE`, `INACTIVE`, `CREATING`, `RUNNING`, `ERROR`, `DELETING`, or `UPDATING`. `ACTIVE` contains the `CREATING`, `UPDATING`, and `RUNNING` states. `INACTIVE` contains the `DELETING` and `ERROR` states. `clusterName` is the name of the cluster provided at creation time. Only the logical `AND` operator is supported; space-separated items are treated as having an implicit `AND` operator. Example valid filters are: status.state:ACTIVE clusterName:mycluster labels.env:staging \\ labels.starred:* and status.state = ACTIVE AND clusterName = mycluster \\ AND labels.env = staging AND labels.starred = *",
|
||||||
|
"location": "query"
|
||||||
|
},
|
||||||
"pageSize": {
|
"pageSize": {
|
||||||
"type": "integer",
|
"type": "integer",
|
||||||
"description": "The standard List page size.",
|
"description": "[Optional] The standard List page size.",
|
||||||
"format": "int32",
|
"format": "int32",
|
||||||
"location": "query"
|
"location": "query"
|
||||||
},
|
},
|
||||||
"pageToken": {
|
"pageToken": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "The standard List page token.",
|
"description": "[Optional] The standard List page token.",
|
||||||
"location": "query"
|
"location": "query"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -1470,13 +1569,18 @@
|
|||||||
},
|
},
|
||||||
"jobStateMatcher": {
|
"jobStateMatcher": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "[Optional] Specifies enumerated categories of jobs to list.",
|
"description": "[Optional] Specifies enumerated categories of jobs to list (default = match ALL jobs).",
|
||||||
"enum": [
|
"enum": [
|
||||||
"ALL",
|
"ALL",
|
||||||
"ACTIVE",
|
"ACTIVE",
|
||||||
"NON_ACTIVE"
|
"NON_ACTIVE"
|
||||||
],
|
],
|
||||||
"location": "query"
|
"location": "query"
|
||||||
|
},
|
||||||
|
"filter": {
|
||||||
|
"type": "string",
|
||||||
|
"description": "[Optional] A filter constraining the jobs to list. Filters are case-sensitive and have the following syntax: field:value] ... or [field = value] AND [field [= value]] ... where **field** is `status.state` or `labels.[KEY]`, and `[KEY]` is a label key. **value** can be `*` to match all values. `status.state` can be either `ACTIVE` or `INACTIVE`. Only the logical `AND` operator is supported; space-separated items are treated as having an implicit `AND` operator. Example valid filters are: status.state:ACTIVE labels.env:staging labels.starred:* and status.state = ACTIVE AND labels.env = staging AND labels.starred = *",
|
||||||
|
"location": "query"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"parameterOrder": [
|
"parameterOrder": [
|
||||||
@@ -1571,30 +1675,6 @@
|
|||||||
},
|
},
|
||||||
"operations": {
|
"operations": {
|
||||||
"methods": {
|
"methods": {
|
||||||
"get": {
|
|
||||||
"id": "dataproc.projects.regions.operations.get",
|
|
||||||
"path": "v1/{+name}",
|
|
||||||
"httpMethod": "GET",
|
|
||||||
"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.",
|
|
||||||
"parameters": {
|
|
||||||
"name": {
|
|
||||||
"type": "string",
|
|
||||||
"description": "The name of the operation resource.",
|
|
||||||
"required": true,
|
|
||||||
"pattern": "^projects/[^/]*/regions/[^/]*/operations/[^/]*$",
|
|
||||||
"location": "path"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"parameterOrder": [
|
|
||||||
"name"
|
|
||||||
],
|
|
||||||
"response": {
|
|
||||||
"$ref": "Operation"
|
|
||||||
},
|
|
||||||
"scopes": [
|
|
||||||
"https://www.googleapis.com/auth/cloud-platform"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"list": {
|
"list": {
|
||||||
"id": "dataproc.projects.regions.operations.list",
|
"id": "dataproc.projects.regions.operations.list",
|
||||||
"path": "v1/{+name}",
|
"path": "v1/{+name}",
|
||||||
@@ -1605,7 +1685,7 @@
|
|||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "The name of the operation collection.",
|
"description": "The name of the operation collection.",
|
||||||
"required": true,
|
"required": true,
|
||||||
"pattern": "^projects/[^/]*/regions/[^/]*/operations$",
|
"pattern": "^projects/[^/]+/regions/[^/]+/operations$",
|
||||||
"location": "path"
|
"location": "path"
|
||||||
},
|
},
|
||||||
"filter": {
|
"filter": {
|
||||||
@@ -1635,17 +1715,17 @@
|
|||||||
"https://www.googleapis.com/auth/cloud-platform"
|
"https://www.googleapis.com/auth/cloud-platform"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"cancel": {
|
"get": {
|
||||||
"id": "dataproc.projects.regions.operations.cancel",
|
"id": "dataproc.projects.regions.operations.get",
|
||||||
"path": "v1/{+name}:cancel",
|
"path": "v1/{+name}",
|
||||||
"httpMethod": "POST",
|
"httpMethod": "GET",
|
||||||
"description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation.",
|
"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.",
|
||||||
"parameters": {
|
"parameters": {
|
||||||
"name": {
|
"name": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "The name of the operation resource to be cancelled.",
|
"description": "The name of the operation resource.",
|
||||||
"required": true,
|
"required": true,
|
||||||
"pattern": "^projects/[^/]*/regions/[^/]*/operations/[^/]*$",
|
"pattern": "^projects/[^/]+/regions/[^/]+/operations/[^/]+$",
|
||||||
"location": "path"
|
"location": "path"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -1653,7 +1733,7 @@
|
|||||||
"name"
|
"name"
|
||||||
],
|
],
|
||||||
"response": {
|
"response": {
|
||||||
"$ref": "Empty"
|
"$ref": "Operation"
|
||||||
},
|
},
|
||||||
"scopes": [
|
"scopes": [
|
||||||
"https://www.googleapis.com/auth/cloud-platform"
|
"https://www.googleapis.com/auth/cloud-platform"
|
||||||
@@ -1669,7 +1749,31 @@
|
|||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "The name of the operation resource to be deleted.",
|
"description": "The name of the operation resource to be deleted.",
|
||||||
"required": true,
|
"required": true,
|
||||||
"pattern": "^projects/[^/]*/regions/[^/]*/operations/[^/]*$",
|
"pattern": "^projects/[^/]+/regions/[^/]+/operations/[^/]+$",
|
||||||
|
"location": "path"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"parameterOrder": [
|
||||||
|
"name"
|
||||||
|
],
|
||||||
|
"response": {
|
||||||
|
"$ref": "Empty"
|
||||||
|
},
|
||||||
|
"scopes": [
|
||||||
|
"https://www.googleapis.com/auth/cloud-platform"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"cancel": {
|
||||||
|
"id": "dataproc.projects.regions.operations.cancel",
|
||||||
|
"path": "v1/{+name}:cancel",
|
||||||
|
"httpMethod": "POST",
|
||||||
|
"description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.",
|
||||||
|
"parameters": {
|
||||||
|
"name": {
|
||||||
|
"type": "string",
|
||||||
|
"description": "The name of the operation resource to be cancelled.",
|
||||||
|
"required": true,
|
||||||
|
"pattern": "^projects/[^/]+/regions/[^/]+/operations/[^/]+$",
|
||||||
"location": "path"
|
"location": "path"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -1,13 +1,13 @@
|
|||||||
{
|
{
|
||||||
"kind": "discovery#restDescription",
|
"kind": "discovery#restDescription",
|
||||||
"etag": "\"C5oy1hgQsABtYOYIOXWcR3BgYqU/SuGBALYSLzjdcbguynWOEdgixyw\"",
|
"etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/r7FI1XKe3nwqujSEPgINO6f6aJQ\"",
|
||||||
"discoveryVersion": "v1",
|
"discoveryVersion": "v1",
|
||||||
"id": "dataproc:v1alpha1",
|
"id": "dataproc:v1alpha1",
|
||||||
"name": "dataproc",
|
"name": "dataproc",
|
||||||
"version": "v1alpha1",
|
"version": "v1alpha1",
|
||||||
"revision": "20160503",
|
"revision": "20161102",
|
||||||
"title": "Google Cloud Dataproc API",
|
"title": "Google Cloud Dataproc API",
|
||||||
"description": "Manages Hadoop-based clusters and jobs on Google Cloud Platform.",
|
"description": "An API for managing Hadoop-based clusters and jobs on Google Cloud Platform.",
|
||||||
"ownerDomain": "google.com",
|
"ownerDomain": "google.com",
|
||||||
"ownerName": "Google",
|
"ownerName": "Google",
|
||||||
"icons": {
|
"icons": {
|
||||||
@@ -127,6 +127,13 @@
|
|||||||
"$ref": "ClusterConfiguration",
|
"$ref": "ClusterConfiguration",
|
||||||
"description": "[Required] The cluster configuration. It may differ from a user's initial configuration due to Cloud Dataproc setting of default values and updating clusters."
|
"description": "[Required] The cluster configuration. It may differ from a user's initial configuration due to Cloud Dataproc setting of default values and updating clusters."
|
||||||
},
|
},
|
||||||
|
"labels": {
|
||||||
|
"type": "object",
|
||||||
|
"description": "[Optional] The labels to associate with this cluster. Label keys must be between 1 and 63 characters long, and must conform to the following PCRE regular expression: \\p{Ll}\\p{Lo}{0,62} Label values must be between 1 and 63 characters long, and must conform to the following PCRE regular expression: [\\p{Ll}\\p{Lo}\\p{N}_-]{0,63} No more than 64 labels can be associated with a given cluster.",
|
||||||
|
"additionalProperties": {
|
||||||
|
"type": "string"
|
||||||
|
}
|
||||||
|
},
|
||||||
"status": {
|
"status": {
|
||||||
"$ref": "ClusterStatus",
|
"$ref": "ClusterStatus",
|
||||||
"description": "[Output-only] Cluster status."
|
"description": "[Output-only] Cluster status."
|
||||||
@@ -145,6 +152,10 @@
|
|||||||
"clusterUuid": {
|
"clusterUuid": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "[Output-only] A cluster UUID (Unique Universal Identifier). Cloud Dataproc generates this value when it creates the cluster."
|
"description": "[Output-only] A cluster UUID (Unique Universal Identifier). Cloud Dataproc generates this value when it creates the cluster."
|
||||||
|
},
|
||||||
|
"metrics": {
|
||||||
|
"$ref": "ClusterMetrics",
|
||||||
|
"description": "Contains cluster daemon metrics such as HDFS and YARN stats."
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -278,6 +289,10 @@
|
|||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "The Google Compute Engine subnetwork to be used for machine communications. Cannot be specified with network_uri. Example: `compute.googleapis.com/projects/[project_id]/regions/us-east1/sub0`."
|
"description": "The Google Compute Engine subnetwork to be used for machine communications. Cannot be specified with network_uri. Example: `compute.googleapis.com/projects/[project_id]/regions/us-east1/sub0`."
|
||||||
},
|
},
|
||||||
|
"internalIpOnly": {
|
||||||
|
"type": "boolean",
|
||||||
|
"description": "If true, all instances in the cluser will only have internal IP addresses. By default, clusters are not restricted to internal IP addresses, and will have ephemeral external IP addresses assigned to each instance. This restriction can only be enabled for subnetwork enabled networks, and all off-cluster dependencies must be configured to be accessible without external IP addresses."
|
||||||
|
},
|
||||||
"serviceAccountScopes": {
|
"serviceAccountScopes": {
|
||||||
"type": "array",
|
"type": "array",
|
||||||
"description": "The service account scopes included in Google Compute Engine instances. Must include devstorage.full_control to enable the Google Cloud Storage connector. Example \"auth.googleapis.com/compute\" and \"auth.googleapis.com/devstorage.full_control\".",
|
"description": "The service account scopes included in Google Compute Engine instances. Must include devstorage.full_control to enable the Google Cloud Storage connector. Example \"auth.googleapis.com/compute\" and \"auth.googleapis.com/devstorage.full_control\".",
|
||||||
@@ -415,6 +430,29 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"ClusterMetrics": {
|
||||||
|
"id": "ClusterMetrics",
|
||||||
|
"type": "object",
|
||||||
|
"description": "Contains cluster daemon metrics, such as HDFS and YARN stats.",
|
||||||
|
"properties": {
|
||||||
|
"hdfsMetrics": {
|
||||||
|
"type": "object",
|
||||||
|
"description": "The HDFS metrics.",
|
||||||
|
"additionalProperties": {
|
||||||
|
"type": "string",
|
||||||
|
"format": "int64"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"yarnMetrics": {
|
||||||
|
"type": "object",
|
||||||
|
"description": "The YARN metrics.",
|
||||||
|
"additionalProperties": {
|
||||||
|
"type": "string",
|
||||||
|
"format": "int64"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
"Operation": {
|
"Operation": {
|
||||||
"id": "Operation",
|
"id": "Operation",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
@@ -429,7 +467,7 @@
|
|||||||
"description": "Service-specific metadata associated with the operation.",
|
"description": "Service-specific metadata associated with the operation.",
|
||||||
"additionalProperties": {
|
"additionalProperties": {
|
||||||
"type": "any",
|
"type": "any",
|
||||||
"description": "Properties of the object. Contains field @ype with type URL."
|
"description": "Properties of the object. Contains field @type with type URL."
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"done": {
|
"done": {
|
||||||
@@ -445,7 +483,7 @@
|
|||||||
"description": "The operation response. If the called method returns no data on success, the response is `google.protobuf.Empty`. If the called method is `Get`,`Create` or `Update`, the response is the resource. For all other methods, the response type is a concatenation of the method name and \"Response\". For example, if the called method is `TakeSnapshot()`, the response type is `TakeSnapshotResponse`.",
|
"description": "The operation response. If the called method returns no data on success, the response is `google.protobuf.Empty`. If the called method is `Get`,`Create` or `Update`, the response is the resource. For all other methods, the response type is a concatenation of the method name and \"Response\". For example, if the called method is `TakeSnapshot()`, the response type is `TakeSnapshotResponse`.",
|
||||||
"additionalProperties": {
|
"additionalProperties": {
|
||||||
"type": "any",
|
"type": "any",
|
||||||
"description": "Properties of the object. Contains field @ype with type URL."
|
"description": "Properties of the object. Contains field @type with type URL."
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -471,7 +509,7 @@
|
|||||||
"type": "object",
|
"type": "object",
|
||||||
"additionalProperties": {
|
"additionalProperties": {
|
||||||
"type": "any",
|
"type": "any",
|
||||||
"description": "Properties of the object. Contains field @ype with type URL."
|
"description": "Properties of the object. Contains field @type with type URL."
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -584,6 +622,13 @@
|
|||||||
"interactive": {
|
"interactive": {
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
"description": "[Optional] If set to true, then the driver's stdin will be kept open and driver_input_uri will be set to provide a path at which additional input can be sent to the driver."
|
"description": "[Optional] If set to true, then the driver's stdin will be kept open and driver_input_uri will be set to provide a path at which additional input can be sent to the driver."
|
||||||
|
},
|
||||||
|
"labels": {
|
||||||
|
"type": "object",
|
||||||
|
"description": "[Optional] The labels to associate with this job. Label keys must be between 1 and 63 characters long, and must conform to the following regular expression: \\p{Ll}\\p{Lo}{0,62} Label values must be between 1 and 63 characters long, and must conform to the following regular expression: [\\p{Ll}\\p{Lo}\\p{N}_-]{0,63} No more than 64 labels can be associated with a given job.",
|
||||||
|
"additionalProperties": {
|
||||||
|
"type": "string"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -1066,6 +1111,10 @@
|
|||||||
"ACTIVE",
|
"ACTIVE",
|
||||||
"NON_ACTIVE"
|
"NON_ACTIVE"
|
||||||
]
|
]
|
||||||
|
},
|
||||||
|
"filter": {
|
||||||
|
"type": "string",
|
||||||
|
"description": "[Optional] A filter constraining which jobs to list. Valid filters contain job state and label terms such as: labels.key1 = val1 AND (labels.k2 = val2 OR labels.k3 = val3)"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -1109,7 +1158,7 @@
|
|||||||
"properties": {
|
"properties": {
|
||||||
"outputUri": {
|
"outputUri": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "[Output-only] The Google Cloud Storage URI of the diagnostic output. This is a plain text file with a summary of collected diagnostics."
|
"description": "[Output-only] The Google Cloud Storage URI of the diagnostic output. The output report is a plain text file with a summary of collected diagnostics."
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -1120,11 +1169,11 @@
|
|||||||
"properties": {
|
"properties": {
|
||||||
"clusterName": {
|
"clusterName": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "Name of the cluster for the operation."
|
"description": "[Output-only] Name of the cluster for the operation."
|
||||||
},
|
},
|
||||||
"clusterUuid": {
|
"clusterUuid": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "Cluster UUId for the operation."
|
"description": "[Output-only] Cluster UUID for the operation."
|
||||||
},
|
},
|
||||||
"status": {
|
"status": {
|
||||||
"$ref": "ClusterOperationStatus",
|
"$ref": "ClusterOperationStatus",
|
||||||
@@ -1144,6 +1193,13 @@
|
|||||||
"description": {
|
"description": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "[Output-only] Short description of operation."
|
"description": "[Output-only] Short description of operation."
|
||||||
|
},
|
||||||
|
"labels": {
|
||||||
|
"type": "object",
|
||||||
|
"description": "[Output-only] labels associated with the operation",
|
||||||
|
"additionalProperties": {
|
||||||
|
"type": "string"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -1154,7 +1210,7 @@
|
|||||||
"properties": {
|
"properties": {
|
||||||
"state": {
|
"state": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "A message containing the operation state.",
|
"description": "[Output-only] A message containing the operation state.",
|
||||||
"enum": [
|
"enum": [
|
||||||
"UNKNOWN",
|
"UNKNOWN",
|
||||||
"PENDING",
|
"PENDING",
|
||||||
@@ -1164,15 +1220,15 @@
|
|||||||
},
|
},
|
||||||
"innerState": {
|
"innerState": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "A message containing the detailed operation state."
|
"description": "[Output-only] A message containing the detailed operation state."
|
||||||
},
|
},
|
||||||
"details": {
|
"details": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "A message containing any operation metadata details."
|
"description": "[Output-only]A message containing any operation metadata details."
|
||||||
},
|
},
|
||||||
"stateStartTime": {
|
"stateStartTime": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "The time this state was entered."
|
"description": "[Output-only] The time this state was entered."
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -1458,6 +1514,11 @@
|
|||||||
"required": true,
|
"required": true,
|
||||||
"location": "path"
|
"location": "path"
|
||||||
},
|
},
|
||||||
|
"filter": {
|
||||||
|
"type": "string",
|
||||||
|
"description": "[Optional] A filter constraining which clusters to list. Valid filters contain label terms such as: labels.key1 = val1 AND (-labels.k2 = val2 OR labels.k3 = val3)",
|
||||||
|
"location": "query"
|
||||||
|
},
|
||||||
"pageSize": {
|
"pageSize": {
|
||||||
"type": "integer",
|
"type": "integer",
|
||||||
"description": "The standard List page size.",
|
"description": "The standard List page size.",
|
||||||
@@ -1650,7 +1711,7 @@
|
|||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "The operation resource name.",
|
"description": "The operation resource name.",
|
||||||
"required": true,
|
"required": true,
|
||||||
"pattern": "^operations/.*$",
|
"pattern": "^operations/.+$",
|
||||||
"location": "path"
|
"location": "path"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -1714,7 +1775,7 @@
|
|||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "The name of the operation resource to be cancelled.",
|
"description": "The name of the operation resource to be cancelled.",
|
||||||
"required": true,
|
"required": true,
|
||||||
"pattern": "^operations/.*$",
|
"pattern": "^operations/.+$",
|
||||||
"location": "path"
|
"location": "path"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -1741,7 +1802,7 @@
|
|||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "The name of the operation resource to be deleted.",
|
"description": "The name of the operation resource to be deleted.",
|
||||||
"required": true,
|
"required": true,
|
||||||
"pattern": "^operations/.*$",
|
"pattern": "^operations/.+$",
|
||||||
"location": "path"
|
"location": "path"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -1,13 +1,13 @@
|
|||||||
{
|
{
|
||||||
"kind": "discovery#restDescription",
|
"kind": "discovery#restDescription",
|
||||||
"etag": "\"C5oy1hgQsABtYOYIOXWcR3BgYqU/xUykUeDoZBMkhqViXbAjUkEVLQw\"",
|
"etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/cZQ-6vqHhMM0YELMHYWsiSzNXAM\"",
|
||||||
"discoveryVersion": "v1",
|
"discoveryVersion": "v1",
|
||||||
"id": "dataproc:v1beta1",
|
"id": "dataproc:v1beta1",
|
||||||
"name": "dataproc",
|
"name": "dataproc",
|
||||||
"version": "v1beta1",
|
"version": "v1beta1",
|
||||||
"revision": "20160503",
|
"revision": "20161102",
|
||||||
"title": "Google Cloud Dataproc API",
|
"title": "Google Cloud Dataproc API",
|
||||||
"description": "Manages Hadoop-based clusters and jobs on Google Cloud Platform.",
|
"description": "An API for managing Hadoop-based clusters and jobs on Google Cloud Platform.",
|
||||||
"ownerDomain": "google.com",
|
"ownerDomain": "google.com",
|
||||||
"ownerName": "Google",
|
"ownerName": "Google",
|
||||||
"icons": {
|
"icons": {
|
||||||
@@ -127,6 +127,13 @@
|
|||||||
"$ref": "ClusterConfiguration",
|
"$ref": "ClusterConfiguration",
|
||||||
"description": "[Required] The cluster configuration. Note that Cloud Dataproc may set default values, and values may change when clusters are updated."
|
"description": "[Required] The cluster configuration. Note that Cloud Dataproc may set default values, and values may change when clusters are updated."
|
||||||
},
|
},
|
||||||
|
"labels": {
|
||||||
|
"type": "object",
|
||||||
|
"description": "[Optional] The labels to associate with this cluster. Label keys must be between 1 and 63 characters long, and must conform to the following PCRE regular expression: \\p{Ll}\\p{Lo}{0,62} Label values must be between 1 and 63 characters long, and must conform to the following PCRE regular expression: [\\p{Ll}\\p{Lo}\\p{N}_-]{0,63} No more than 64 labels can be associated with a given cluster.",
|
||||||
|
"additionalProperties": {
|
||||||
|
"type": "string"
|
||||||
|
}
|
||||||
|
},
|
||||||
"status": {
|
"status": {
|
||||||
"$ref": "ClusterStatus",
|
"$ref": "ClusterStatus",
|
||||||
"description": "[Output-only] Cluster status."
|
"description": "[Output-only] Cluster status."
|
||||||
@@ -141,6 +148,10 @@
|
|||||||
"clusterUuid": {
|
"clusterUuid": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "[Output-only] A cluster UUID (Unique Universal Identifier). Cloud Dataproc generates this value when it creates the cluster."
|
"description": "[Output-only] A cluster UUID (Unique Universal Identifier). Cloud Dataproc generates this value when it creates the cluster."
|
||||||
|
},
|
||||||
|
"metrics": {
|
||||||
|
"$ref": "ClusterMetrics",
|
||||||
|
"description": "Contains cluster daemon metrics such as HDFS and YARN stats."
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -199,6 +210,10 @@
|
|||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "The Google Compute Engine subnetwork to be used for machine communications. Cannot be specified with network_uri. Example: `https://www.googleapis.com/compute/v1/projects/[project_id]/regions/us-east1/sub0`."
|
"description": "The Google Compute Engine subnetwork to be used for machine communications. Cannot be specified with network_uri. Example: `https://www.googleapis.com/compute/v1/projects/[project_id]/regions/us-east1/sub0`."
|
||||||
},
|
},
|
||||||
|
"internalIpOnly": {
|
||||||
|
"type": "boolean",
|
||||||
|
"description": "If true, all instances in the cluser will only have internal IP addresses. By default, clusters are not restricted to internal IP addresses, and will have ephemeral external IP addresses assigned to each instance. This restriction can only be enabled for subnetwork enabled networks, and all off-cluster dependencies must be configured to be accessible without external IP addresses."
|
||||||
|
},
|
||||||
"serviceAccountScopes": {
|
"serviceAccountScopes": {
|
||||||
"type": "array",
|
"type": "array",
|
||||||
"description": "The URIs of service account scopes to be included in Google Compute Engine instances. The following base set of scopes is always included: - https://www.googleapis.com/auth/cloud.useraccounts.readonly - https://www.googleapis.com/auth/devstorage.read_write - https://www.googleapis.com/auth/logging.write If no scopes are specfied, the following defaults are also provided: - https://www.googleapis.com/auth/bigquery - https://www.googleapis.com/auth/bigtable.admin.table - https://www.googleapis.com/auth/bigtable.data - https://www.googleapis.com/auth/devstorage.full_control",
|
"description": "The URIs of service account scopes to be included in Google Compute Engine instances. The following base set of scopes is always included: - https://www.googleapis.com/auth/cloud.useraccounts.readonly - https://www.googleapis.com/auth/devstorage.read_write - https://www.googleapis.com/auth/logging.write If no scopes are specfied, the following defaults are also provided: - https://www.googleapis.com/auth/bigquery - https://www.googleapis.com/auth/bigtable.admin.table - https://www.googleapis.com/auth/bigtable.data - https://www.googleapis.com/auth/devstorage.full_control",
|
||||||
@@ -353,6 +368,29 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"ClusterMetrics": {
|
||||||
|
"id": "ClusterMetrics",
|
||||||
|
"type": "object",
|
||||||
|
"description": "Contains cluster daemon metrics, such as HDFS and YARN stats.",
|
||||||
|
"properties": {
|
||||||
|
"hdfsMetrics": {
|
||||||
|
"type": "object",
|
||||||
|
"description": "The HDFS metrics.",
|
||||||
|
"additionalProperties": {
|
||||||
|
"type": "string",
|
||||||
|
"format": "int64"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"yarnMetrics": {
|
||||||
|
"type": "object",
|
||||||
|
"description": "The YARN metrics.",
|
||||||
|
"additionalProperties": {
|
||||||
|
"type": "string",
|
||||||
|
"format": "int64"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
"Operation": {
|
"Operation": {
|
||||||
"id": "Operation",
|
"id": "Operation",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
@@ -367,7 +405,7 @@
|
|||||||
"description": "Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.",
|
"description": "Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.",
|
||||||
"additionalProperties": {
|
"additionalProperties": {
|
||||||
"type": "any",
|
"type": "any",
|
||||||
"description": "Properties of the object. Contains field @ype with type URL."
|
"description": "Properties of the object. Contains field @type with type URL."
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"done": {
|
"done": {
|
||||||
@@ -376,14 +414,14 @@
|
|||||||
},
|
},
|
||||||
"error": {
|
"error": {
|
||||||
"$ref": "Status",
|
"$ref": "Status",
|
||||||
"description": "The error result of the operation in case of failure."
|
"description": "The error result of the operation in case of failure or cancellation."
|
||||||
},
|
},
|
||||||
"response": {
|
"response": {
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"description": "The normal response of the operation in case of success. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.",
|
"description": "The normal response of the operation in case of success. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.",
|
||||||
"additionalProperties": {
|
"additionalProperties": {
|
||||||
"type": "any",
|
"type": "any",
|
||||||
"description": "Properties of the object. Contains field @ype with type URL."
|
"description": "Properties of the object. Contains field @type with type URL."
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -409,7 +447,7 @@
|
|||||||
"type": "object",
|
"type": "object",
|
||||||
"additionalProperties": {
|
"additionalProperties": {
|
||||||
"type": "any",
|
"type": "any",
|
||||||
"description": "Properties of the object. Contains field @ype with type URL."
|
"description": "Properties of the object. Contains field @type with type URL."
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -523,6 +561,13 @@
|
|||||||
"interactive": {
|
"interactive": {
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
"description": "[Optional] If set to `true`, the driver's stdin will be kept open and `driver_input_uri` will be set to provide a path at which additional input can be sent to the driver."
|
"description": "[Optional] If set to `true`, the driver's stdin will be kept open and `driver_input_uri` will be set to provide a path at which additional input can be sent to the driver."
|
||||||
|
},
|
||||||
|
"labels": {
|
||||||
|
"type": "object",
|
||||||
|
"description": "[Optional] The labels to associate with this job. Label keys must be between 1 and 63 characters long, and must conform to the following regular expression: \\p{Ll}\\p{Lo}{0,62} Label values must be between 1 and 63 characters long, and must conform to the following regular expression: [\\p{Ll}\\p{Lo}\\p{N}_-]{0,63} No more than 64 labels can be associated with a given job.",
|
||||||
|
"additionalProperties": {
|
||||||
|
"type": "string"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -1007,7 +1052,7 @@
|
|||||||
"properties": {
|
"properties": {
|
||||||
"outputUri": {
|
"outputUri": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "[Output-only] The Google Cloud Storage URI of the diagnostic output. This is a plain text file with a summary of collected diagnostics."
|
"description": "[Output-only] The Google Cloud Storage URI of the diagnostic output. The output report is a plain text file with a summary of collected diagnostics."
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -1018,11 +1063,11 @@
|
|||||||
"properties": {
|
"properties": {
|
||||||
"clusterName": {
|
"clusterName": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "Name of the cluster for the operation."
|
"description": "[Output-only] Name of the cluster for the operation."
|
||||||
},
|
},
|
||||||
"clusterUuid": {
|
"clusterUuid": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "Cluster UUId for the operation."
|
"description": "[Output-only] Cluster UUID for the operation."
|
||||||
},
|
},
|
||||||
"status": {
|
"status": {
|
||||||
"$ref": "ClusterOperationStatus",
|
"$ref": "ClusterOperationStatus",
|
||||||
@@ -1042,6 +1087,13 @@
|
|||||||
"description": {
|
"description": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "[Output-only] Short description of operation."
|
"description": "[Output-only] Short description of operation."
|
||||||
|
},
|
||||||
|
"labels": {
|
||||||
|
"type": "object",
|
||||||
|
"description": "[Output-only] labels associated with the operation",
|
||||||
|
"additionalProperties": {
|
||||||
|
"type": "string"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -1052,7 +1104,7 @@
|
|||||||
"properties": {
|
"properties": {
|
||||||
"state": {
|
"state": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "A message containing the operation state.",
|
"description": "[Output-only] A message containing the operation state.",
|
||||||
"enum": [
|
"enum": [
|
||||||
"UNKNOWN",
|
"UNKNOWN",
|
||||||
"PENDING",
|
"PENDING",
|
||||||
@@ -1062,15 +1114,15 @@
|
|||||||
},
|
},
|
||||||
"innerState": {
|
"innerState": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "A message containing the detailed operation state."
|
"description": "[Output-only] A message containing the detailed operation state."
|
||||||
},
|
},
|
||||||
"details": {
|
"details": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "A message containing any operation metadata details."
|
"description": "[Output-only]A message containing any operation metadata details."
|
||||||
},
|
},
|
||||||
"stateStartTime": {
|
"stateStartTime": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "The time this state was entered."
|
"description": "[Output-only] The time this state was entered."
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -1320,6 +1372,11 @@
|
|||||||
"required": true,
|
"required": true,
|
||||||
"location": "path"
|
"location": "path"
|
||||||
},
|
},
|
||||||
|
"filter": {
|
||||||
|
"type": "string",
|
||||||
|
"description": "[Optional] A filter constraining which clusters to list. Valid filters contain label terms such as: labels.key1 = val1 AND (-labels.k2 = val2 OR labels.k3 = val3)",
|
||||||
|
"location": "query"
|
||||||
|
},
|
||||||
"pageSize": {
|
"pageSize": {
|
||||||
"type": "integer",
|
"type": "integer",
|
||||||
"description": "The standard List page size.",
|
"description": "The standard List page size.",
|
||||||
@@ -1472,6 +1529,11 @@
|
|||||||
"NON_ACTIVE"
|
"NON_ACTIVE"
|
||||||
],
|
],
|
||||||
"location": "query"
|
"location": "query"
|
||||||
|
},
|
||||||
|
"filter": {
|
||||||
|
"type": "string",
|
||||||
|
"description": "[Optional] A filter constraining which jobs to list. Valid filters contain job state and label terms such as: labels.key1 = val1 AND (labels.k2 = val2 OR labels.k3 = val3)",
|
||||||
|
"location": "query"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"parameterOrder": [
|
"parameterOrder": [
|
||||||
@@ -1563,7 +1625,7 @@
|
|||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "The name of the operation resource.",
|
"description": "The name of the operation resource.",
|
||||||
"required": true,
|
"required": true,
|
||||||
"pattern": "^operations/.*$",
|
"pattern": "^operations/.+$",
|
||||||
"location": "path"
|
"location": "path"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -1627,7 +1689,7 @@
|
|||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "The name of the operation resource to be cancelled.",
|
"description": "The name of the operation resource to be cancelled.",
|
||||||
"required": true,
|
"required": true,
|
||||||
"pattern": "^operations/.*$",
|
"pattern": "^operations/.+$",
|
||||||
"location": "path"
|
"location": "path"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -1654,7 +1716,7 @@
|
|||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "The name of the operation resource to be deleted.",
|
"description": "The name of the operation resource to be deleted.",
|
||||||
"required": true,
|
"required": true,
|
||||||
"pattern": "^operations/.*$",
|
"pattern": "^operations/.+$",
|
||||||
"location": "path"
|
"location": "path"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"kind": "discovery#restDescription",
|
"kind": "discovery#restDescription",
|
||||||
"etag": "\"C5oy1hgQsABtYOYIOXWcR3BgYqU/dy6n0rfohZWlTzhdDX3ZUa-EJxE\"",
|
"etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/exiNwA5EYULji4urf-Hcdv-K2mE\"",
|
||||||
"discoveryVersion": "v1",
|
"discoveryVersion": "v1",
|
||||||
"id": "datastore:v1beta1",
|
"id": "datastore:v1beta1",
|
||||||
"name": "datastore",
|
"name": "datastore",
|
||||||
@@ -11,8 +11,8 @@
|
|||||||
"ownerDomain": "google.com",
|
"ownerDomain": "google.com",
|
||||||
"ownerName": "Google",
|
"ownerName": "Google",
|
||||||
"icons": {
|
"icons": {
|
||||||
"x16": "http://www.google.com/images/icons/product/search-16.gif",
|
"x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png",
|
||||||
"x32": "http://www.google.com/images/icons/product/search-32.gif"
|
"x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png"
|
||||||
},
|
},
|
||||||
"documentationLink": "https://developers.google.com/datastore/",
|
"documentationLink": "https://developers.google.com/datastore/",
|
||||||
"protocol": "rest",
|
"protocol": "rest",
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"kind": "discovery#restDescription",
|
"kind": "discovery#restDescription",
|
||||||
"etag": "\"C5oy1hgQsABtYOYIOXWcR3BgYqU/xlRfXybj491s9T9Q90yjlG-attA\"",
|
"etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/KnvSOTZ1D3HuWYBmolpDipcu9hU\"",
|
||||||
"discoveryVersion": "v1",
|
"discoveryVersion": "v1",
|
||||||
"id": "datastore:v1beta2",
|
"id": "datastore:v1beta2",
|
||||||
"name": "datastore",
|
"name": "datastore",
|
||||||
@@ -11,8 +11,8 @@
|
|||||||
"ownerDomain": "google.com",
|
"ownerDomain": "google.com",
|
||||||
"ownerName": "Google",
|
"ownerName": "Google",
|
||||||
"icons": {
|
"icons": {
|
||||||
"x16": "http://www.google.com/images/icons/product/search-16.gif",
|
"x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png",
|
||||||
"x32": "http://www.google.com/images/icons/product/search-32.gif"
|
"x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png"
|
||||||
},
|
},
|
||||||
"documentationLink": "https://developers.google.com/datastore/",
|
"documentationLink": "https://developers.google.com/datastore/",
|
||||||
"protocol": "rest",
|
"protocol": "rest",
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
@@ -1,19 +1,19 @@
|
|||||||
{
|
{
|
||||||
"kind": "discovery#restDescription",
|
"kind": "discovery#restDescription",
|
||||||
"etag": "\"C5oy1hgQsABtYOYIOXWcR3BgYqU/K_qiwyhd6rj_g1mYQfSWowdML68\"",
|
"etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/OCYmftvQxj4AeJHkXNi3Nl_Kgng\"",
|
||||||
"discoveryVersion": "v1",
|
"discoveryVersion": "v1",
|
||||||
"id": "deploymentmanager:v2",
|
"id": "deploymentmanager:v2",
|
||||||
"name": "deploymentmanager",
|
"name": "deploymentmanager",
|
||||||
"canonicalName": "Deployment Manager",
|
"canonicalName": "Deployment Manager",
|
||||||
"version": "v2",
|
"version": "v2",
|
||||||
"revision": "20160901",
|
"revision": "20161209",
|
||||||
"title": "Google Cloud Deployment Manager API",
|
"title": "Google Cloud Deployment Manager API",
|
||||||
"description": "Declares, configures, and deploys complex solutions on Google Cloud Platform.",
|
"description": "Declares, configures, and deploys complex solutions on Google Cloud Platform.",
|
||||||
"ownerDomain": "google.com",
|
"ownerDomain": "google.com",
|
||||||
"ownerName": "Google",
|
"ownerName": "Google",
|
||||||
"icons": {
|
"icons": {
|
||||||
"x16": "http://www.google.com/images/icons/product/search-16.gif",
|
"x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png",
|
||||||
"x32": "http://www.google.com/images/icons/product/search-32.gif"
|
"x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png"
|
||||||
},
|
},
|
||||||
"documentationLink": "https://cloud.google.com/deployment-manager/",
|
"documentationLink": "https://cloud.google.com/deployment-manager/",
|
||||||
"protocol": "rest",
|
"protocol": "rest",
|
||||||
@@ -86,6 +86,101 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"schemas": {
|
"schemas": {
|
||||||
|
"AuditConfig": {
|
||||||
|
"id": "AuditConfig",
|
||||||
|
"type": "object",
|
||||||
|
"description": "Provides the configuration for non-admin_activity logging for a service. Controls exemptions and specific log sub-types.",
|
||||||
|
"properties": {
|
||||||
|
"auditLogConfigs": {
|
||||||
|
"type": "array",
|
||||||
|
"description": "The configuration for each type of logging",
|
||||||
|
"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.",
|
||||||
|
"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."
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"AuditLogConfig": {
|
||||||
|
"id": "AuditLogConfig",
|
||||||
|
"type": "object",
|
||||||
|
"description": "Provides the configuration for a sub-type of logging.",
|
||||||
|
"properties": {
|
||||||
|
"exemptedMembers": {
|
||||||
|
"type": "array",
|
||||||
|
"description": "Specifies the identities that are exempted from this type of logging Follows the same format of Binding.members.",
|
||||||
|
"items": {
|
||||||
|
"type": "string"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"logType": {
|
||||||
|
"type": "string",
|
||||||
|
"description": "The log type that this config enables."
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"Binding": {
|
||||||
|
"id": "Binding",
|
||||||
|
"type": "object",
|
||||||
|
"description": "Associates `members` with a `role`.",
|
||||||
|
"properties": {
|
||||||
|
"members": {
|
||||||
|
"type": "array",
|
||||||
|
"description": "Specifies the identities requesting access for a Cloud Platform resource. `members` can have the following values:\n\n* `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account.\n\n* `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account.\n\n* `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@gmail.com` or `joe@example.com`.\n\n\n\n* `serviceAccount:{emailid}`: An email address that represents a service account. For example, `my-other-app@appspot.gserviceaccount.com`.\n\n* `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`.\n\n* `domain:{domain}`: A Google Apps domain name that represents all the users of that domain. For example, `google.com` or `example.com`.",
|
||||||
|
"items": {
|
||||||
|
"type": "string"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"role": {
|
||||||
|
"type": "string",
|
||||||
|
"description": "Role that is assigned to `members`. For example, `roles/viewer`, `roles/editor`, or `roles/owner`."
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"Condition": {
|
||||||
|
"id": "Condition",
|
||||||
|
"type": "object",
|
||||||
|
"description": "A condition to be met.",
|
||||||
|
"properties": {
|
||||||
|
"iam": {
|
||||||
|
"type": "string",
|
||||||
|
"description": "Trusted attributes supplied by the IAM system."
|
||||||
|
},
|
||||||
|
"op": {
|
||||||
|
"type": "string",
|
||||||
|
"description": "An operator to apply the subject with."
|
||||||
|
},
|
||||||
|
"svc": {
|
||||||
|
"type": "string",
|
||||||
|
"description": "Trusted attributes discharged by the service."
|
||||||
|
},
|
||||||
|
"sys": {
|
||||||
|
"type": "string",
|
||||||
|
"description": "Trusted attributes supplied by any service that owns resources and uses the IAM system for access control."
|
||||||
|
},
|
||||||
|
"value": {
|
||||||
|
"type": "string",
|
||||||
|
"description": "DEPRECATED. Use 'values' instead."
|
||||||
|
},
|
||||||
|
"values": {
|
||||||
|
"type": "array",
|
||||||
|
"description": "The objects of the condition. This is mutually exclusive with 'value'.",
|
||||||
|
"items": {
|
||||||
|
"type": "string"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
"ConfigFile": {
|
"ConfigFile": {
|
||||||
"id": "ConfigFile",
|
"id": "ConfigFile",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
@@ -252,6 +347,32 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"LogConfig": {
|
||||||
|
"id": "LogConfig",
|
||||||
|
"type": "object",
|
||||||
|
"description": "Specifies what kind of log the caller must write",
|
||||||
|
"properties": {
|
||||||
|
"counter": {
|
||||||
|
"$ref": "LogConfigCounterOptions",
|
||||||
|
"description": "Counter options."
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"LogConfigCounterOptions": {
|
||||||
|
"id": "LogConfigCounterOptions",
|
||||||
|
"type": "object",
|
||||||
|
"description": "Options for counters",
|
||||||
|
"properties": {
|
||||||
|
"field": {
|
||||||
|
"type": "string",
|
||||||
|
"description": "The field value to attribute."
|
||||||
|
},
|
||||||
|
"metric": {
|
||||||
|
"type": "string",
|
||||||
|
"description": "The metric to update."
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
"Manifest": {
|
"Manifest": {
|
||||||
"id": "Manifest",
|
"id": "Manifest",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
@@ -424,7 +545,7 @@
|
|||||||
},
|
},
|
||||||
"targetLink": {
|
"targetLink": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "[Output Only] The URL of the resource that the operation modifies. If creating a persistent disk snapshot, this points to the persistent disk that the snapshot was created from."
|
"description": "[Output Only] The URL of the resource that the operation modifies. For operations related to creating a snapshot, this points to the persistent disk that the snapshot was created from."
|
||||||
},
|
},
|
||||||
"user": {
|
"user": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
@@ -488,11 +609,57 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"Policy": {
|
||||||
|
"id": "Policy",
|
||||||
|
"type": "object",
|
||||||
|
"description": "Defines an Identity and Access Management (IAM) policy. It is used to specify access control policies for Cloud Platform resources.\n\n\n\nA `Policy` consists of a list of `bindings`. A `Binding` binds a list of `members` to a `role`, where the members can be user accounts, Google groups, Google domains, and service accounts. A `role` is a named list of permissions defined by IAM.\n\n**Example**\n\n{ \"bindings\": [ { \"role\": \"roles/owner\", \"members\": [ \"user:mike@example.com\", \"group:admins@example.com\", \"domain:google.com\", \"serviceAccount:my-other-app@appspot.gserviceaccount.com\", ] }, { \"role\": \"roles/viewer\", \"members\": [\"user:sean@example.com\"] } ] }\n\nFor a description of IAM and its features, see the [IAM developer's guide](https://cloud.google.com/iam).",
|
||||||
|
"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.",
|
||||||
|
"items": {
|
||||||
|
"$ref": "AuditConfig"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"bindings": {
|
||||||
|
"type": "array",
|
||||||
|
"description": "Associates a list of `members` to a `role`. Multiple `bindings` must not be specified for the same `role`. `bindings` with no members will result in an error.",
|
||||||
|
"items": {
|
||||||
|
"$ref": "Binding"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"etag": {
|
||||||
|
"type": "string",
|
||||||
|
"description": "`etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy from overwriting each other. It is strongly suggested that systems make use of the `etag` in the read-modify-write cycle to perform policy updates in order to avoid race conditions: An `etag` is returned in the response to `getIamPolicy`, and systems are expected to put that etag in the request to `setIamPolicy` to ensure that their change will be applied to the same version of the policy.\n\nIf no `etag` is provided in the call to `setIamPolicy`, then the existing policy is overwritten blindly.",
|
||||||
|
"format": "byte"
|
||||||
|
},
|
||||||
|
"iamOwned": {
|
||||||
|
"type": "boolean",
|
||||||
|
"description": ""
|
||||||
|
},
|
||||||
|
"rules": {
|
||||||
|
"type": "array",
|
||||||
|
"description": "If more than one rule is specified, the rules are applied in the following manner: - All matching LOG rules are always applied. - If any DENY/DENY_WITH_LOG rule matches, permission is denied. Logging will be applied if one or more matching rule requires logging. - Otherwise, if any ALLOW/ALLOW_WITH_LOG rule matches, permission is granted. Logging will be applied if one or more matching rule requires logging. - Otherwise, if no rule applies, permission is denied.",
|
||||||
|
"items": {
|
||||||
|
"$ref": "Rule"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"version": {
|
||||||
|
"type": "integer",
|
||||||
|
"description": "Version of the `Policy`. The default version is 0.",
|
||||||
|
"format": "int32"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
"Resource": {
|
"Resource": {
|
||||||
"id": "Resource",
|
"id": "Resource",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"description": "",
|
"description": "",
|
||||||
"properties": {
|
"properties": {
|
||||||
|
"accessControl": {
|
||||||
|
"$ref": "ResourceAccessControl",
|
||||||
|
"description": "The Access Control Policy set on this resource."
|
||||||
|
},
|
||||||
"finalProperties": {
|
"finalProperties": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "[Output Only] The evaluated properties of the resource with references expanded. Returned as serialized YAML."
|
"description": "[Output Only] The evaluated properties of the resource with references expanded. Returned as serialized YAML."
|
||||||
@@ -570,11 +737,26 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"ResourceAccessControl": {
|
||||||
|
"id": "ResourceAccessControl",
|
||||||
|
"type": "object",
|
||||||
|
"description": "The access controls set on the resource.",
|
||||||
|
"properties": {
|
||||||
|
"gcpIamPolicy": {
|
||||||
|
"type": "string",
|
||||||
|
"description": "The GCP IAM Policy to set on the resource."
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
"ResourceUpdate": {
|
"ResourceUpdate": {
|
||||||
"id": "ResourceUpdate",
|
"id": "ResourceUpdate",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"description": "",
|
"description": "",
|
||||||
"properties": {
|
"properties": {
|
||||||
|
"accessControl": {
|
||||||
|
"$ref": "ResourceAccessControl",
|
||||||
|
"description": "The Access Control Policy to set on this resource after updating the resource itself."
|
||||||
|
},
|
||||||
"error": {
|
"error": {
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"description": "[Output Only] If errors are generated during update of the resource, this field will be populated.",
|
"description": "[Output Only] If errors are generated during update of the resource, this field will be populated.",
|
||||||
@@ -676,6 +858,56 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"Rule": {
|
||||||
|
"id": "Rule",
|
||||||
|
"type": "object",
|
||||||
|
"description": "A rule to be applied in a Policy.",
|
||||||
|
"properties": {
|
||||||
|
"action": {
|
||||||
|
"type": "string",
|
||||||
|
"description": "Required"
|
||||||
|
},
|
||||||
|
"conditions": {
|
||||||
|
"type": "array",
|
||||||
|
"description": "Additional restrictions that must be met",
|
||||||
|
"items": {
|
||||||
|
"$ref": "Condition"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"description": {
|
||||||
|
"type": "string",
|
||||||
|
"description": "Human-readable description of the rule."
|
||||||
|
},
|
||||||
|
"ins": {
|
||||||
|
"type": "array",
|
||||||
|
"description": "If one or more 'in' clauses are specified, the rule matches if the PRINCIPAL/AUTHORITY_SELECTOR is in at least one of these entries.",
|
||||||
|
"items": {
|
||||||
|
"type": "string"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"logConfigs": {
|
||||||
|
"type": "array",
|
||||||
|
"description": "The config returned to callers of tech.iam.IAM.CheckPolicy for any entries that match the LOG action.",
|
||||||
|
"items": {
|
||||||
|
"$ref": "LogConfig"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"notIns": {
|
||||||
|
"type": "array",
|
||||||
|
"description": "If one or more 'not_in' clauses are specified, the rule matches if the PRINCIPAL/AUTHORITY_SELECTOR is in none of the entries.",
|
||||||
|
"items": {
|
||||||
|
"type": "string"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"permissions": {
|
||||||
|
"type": "array",
|
||||||
|
"description": "A permission is a string of form '..' (e.g., 'storage.buckets.list'). A value of '*' matches all permissions, and a verb part of '*' (e.g., 'storage.buckets.*') matches all verbs.",
|
||||||
|
"items": {
|
||||||
|
"type": "string"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
"TargetConfiguration": {
|
"TargetConfiguration": {
|
||||||
"id": "TargetConfiguration",
|
"id": "TargetConfiguration",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
@@ -694,6 +926,32 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"TestPermissionsRequest": {
|
||||||
|
"id": "TestPermissionsRequest",
|
||||||
|
"type": "object",
|
||||||
|
"properties": {
|
||||||
|
"permissions": {
|
||||||
|
"type": "array",
|
||||||
|
"description": "The set of permissions to check for the 'resource'. Permissions with wildcards (such as '*' or 'storage.*') are not allowed.",
|
||||||
|
"items": {
|
||||||
|
"type": "string"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"TestPermissionsResponse": {
|
||||||
|
"id": "TestPermissionsResponse",
|
||||||
|
"type": "object",
|
||||||
|
"properties": {
|
||||||
|
"permissions": {
|
||||||
|
"type": "array",
|
||||||
|
"description": "A subset of `TestPermissionsRequest.permissions` that the caller is allowed.",
|
||||||
|
"items": {
|
||||||
|
"type": "string"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
"Type": {
|
"Type": {
|
||||||
"id": "Type",
|
"id": "Type",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
@@ -786,6 +1044,20 @@
|
|||||||
"httpMethod": "DELETE",
|
"httpMethod": "DELETE",
|
||||||
"description": "Deletes a deployment and all of the resources in the deployment.",
|
"description": "Deletes a deployment and all of the resources in the deployment.",
|
||||||
"parameters": {
|
"parameters": {
|
||||||
|
"deletePolicy": {
|
||||||
|
"type": "string",
|
||||||
|
"description": "Sets the policy to use for deleting resources.",
|
||||||
|
"default": "DELETE",
|
||||||
|
"enum": [
|
||||||
|
"ABANDON",
|
||||||
|
"DELETE"
|
||||||
|
],
|
||||||
|
"enumDescriptions": [
|
||||||
|
"",
|
||||||
|
""
|
||||||
|
],
|
||||||
|
"location": "query"
|
||||||
|
},
|
||||||
"deployment": {
|
"deployment": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "The name of the deployment for this request.",
|
"description": "The name of the deployment for this request.",
|
||||||
@@ -848,6 +1120,39 @@
|
|||||||
"https://www.googleapis.com/auth/ndev.cloudman.readonly"
|
"https://www.googleapis.com/auth/ndev.cloudman.readonly"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
"getIamPolicy": {
|
||||||
|
"id": "deploymentmanager.deployments.getIamPolicy",
|
||||||
|
"path": "{project}/global/deployments/{resource}/getIamPolicy",
|
||||||
|
"httpMethod": "GET",
|
||||||
|
"description": "Gets the access control policy for a resource. May be empty if no such policy or resource exists.",
|
||||||
|
"parameters": {
|
||||||
|
"project": {
|
||||||
|
"type": "string",
|
||||||
|
"description": "Project ID for this request.",
|
||||||
|
"required": true,
|
||||||
|
"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
||||||
|
"location": "path"
|
||||||
|
},
|
||||||
|
"resource": {
|
||||||
|
"type": "string",
|
||||||
|
"description": "Name of the resource for this request.",
|
||||||
|
"required": true,
|
||||||
|
"pattern": "[a-z](?:[-a-z0-9_]{0,61}[a-z0-9])?",
|
||||||
|
"location": "path"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"parameterOrder": [
|
||||||
|
"project",
|
||||||
|
"resource"
|
||||||
|
],
|
||||||
|
"response": {
|
||||||
|
"$ref": "Policy"
|
||||||
|
},
|
||||||
|
"scopes": [
|
||||||
|
"https://www.googleapis.com/auth/cloud-platform",
|
||||||
|
"https://www.googleapis.com/auth/ndev.cloudman"
|
||||||
|
]
|
||||||
|
},
|
||||||
"insert": {
|
"insert": {
|
||||||
"id": "deploymentmanager.deployments.insert",
|
"id": "deploymentmanager.deployments.insert",
|
||||||
"path": "{project}/global/deployments",
|
"path": "{project}/global/deployments",
|
||||||
@@ -901,6 +1206,11 @@
|
|||||||
"maximum": "500",
|
"maximum": "500",
|
||||||
"location": "query"
|
"location": "query"
|
||||||
},
|
},
|
||||||
|
"orderBy": {
|
||||||
|
"type": "string",
|
||||||
|
"description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation timestamp using orderBy=\"creationTimestamp desc\". This sorts results based on the creationTimestamp field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by name or creationTimestamp desc is supported.",
|
||||||
|
"location": "query"
|
||||||
|
},
|
||||||
"pageToken": {
|
"pageToken": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list request to get the next page of results.",
|
"description": "Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list request to get the next page of results.",
|
||||||
@@ -997,6 +1307,42 @@
|
|||||||
"https://www.googleapis.com/auth/ndev.cloudman"
|
"https://www.googleapis.com/auth/ndev.cloudman"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
"setIamPolicy": {
|
||||||
|
"id": "deploymentmanager.deployments.setIamPolicy",
|
||||||
|
"path": "{project}/global/deployments/{resource}/setIamPolicy",
|
||||||
|
"httpMethod": "POST",
|
||||||
|
"description": "Sets the access control policy on the specified resource. Replaces any existing policy.",
|
||||||
|
"parameters": {
|
||||||
|
"project": {
|
||||||
|
"type": "string",
|
||||||
|
"description": "Project ID for this request.",
|
||||||
|
"required": true,
|
||||||
|
"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
||||||
|
"location": "path"
|
||||||
|
},
|
||||||
|
"resource": {
|
||||||
|
"type": "string",
|
||||||
|
"description": "Name of the resource for this request.",
|
||||||
|
"required": true,
|
||||||
|
"pattern": "[a-z](?:[-a-z0-9_]{0,61}[a-z0-9])?",
|
||||||
|
"location": "path"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"parameterOrder": [
|
||||||
|
"project",
|
||||||
|
"resource"
|
||||||
|
],
|
||||||
|
"request": {
|
||||||
|
"$ref": "Policy"
|
||||||
|
},
|
||||||
|
"response": {
|
||||||
|
"$ref": "Policy"
|
||||||
|
},
|
||||||
|
"scopes": [
|
||||||
|
"https://www.googleapis.com/auth/cloud-platform",
|
||||||
|
"https://www.googleapis.com/auth/ndev.cloudman"
|
||||||
|
]
|
||||||
|
},
|
||||||
"stop": {
|
"stop": {
|
||||||
"id": "deploymentmanager.deployments.stop",
|
"id": "deploymentmanager.deployments.stop",
|
||||||
"path": "{project}/global/deployments/{deployment}/stop",
|
"path": "{project}/global/deployments/{deployment}/stop",
|
||||||
@@ -1033,6 +1379,42 @@
|
|||||||
"https://www.googleapis.com/auth/ndev.cloudman"
|
"https://www.googleapis.com/auth/ndev.cloudman"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
"testIamPermissions": {
|
||||||
|
"id": "deploymentmanager.deployments.testIamPermissions",
|
||||||
|
"path": "{project}/global/deployments/{resource}/testIamPermissions",
|
||||||
|
"httpMethod": "POST",
|
||||||
|
"description": "Returns permissions that a caller has on the specified resource.",
|
||||||
|
"parameters": {
|
||||||
|
"project": {
|
||||||
|
"type": "string",
|
||||||
|
"description": "Project ID for this request.",
|
||||||
|
"required": true,
|
||||||
|
"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
||||||
|
"location": "path"
|
||||||
|
},
|
||||||
|
"resource": {
|
||||||
|
"type": "string",
|
||||||
|
"description": "Name of the resource for this request.",
|
||||||
|
"required": true,
|
||||||
|
"pattern": "[a-z](?:[-a-z0-9_]{0,61}[a-z0-9])?",
|
||||||
|
"location": "path"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"parameterOrder": [
|
||||||
|
"project",
|
||||||
|
"resource"
|
||||||
|
],
|
||||||
|
"request": {
|
||||||
|
"$ref": "TestPermissionsRequest"
|
||||||
|
},
|
||||||
|
"response": {
|
||||||
|
"$ref": "TestPermissionsResponse"
|
||||||
|
},
|
||||||
|
"scopes": [
|
||||||
|
"https://www.googleapis.com/auth/cloud-platform",
|
||||||
|
"https://www.googleapis.com/auth/ndev.cloudman"
|
||||||
|
]
|
||||||
|
},
|
||||||
"update": {
|
"update": {
|
||||||
"id": "deploymentmanager.deployments.update",
|
"id": "deploymentmanager.deployments.update",
|
||||||
"path": "{project}/global/deployments/{deployment}",
|
"path": "{project}/global/deployments/{deployment}",
|
||||||
@@ -1177,6 +1559,11 @@
|
|||||||
"maximum": "500",
|
"maximum": "500",
|
||||||
"location": "query"
|
"location": "query"
|
||||||
},
|
},
|
||||||
|
"orderBy": {
|
||||||
|
"type": "string",
|
||||||
|
"description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation timestamp using orderBy=\"creationTimestamp desc\". This sorts results based on the creationTimestamp field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by name or creationTimestamp desc is supported.",
|
||||||
|
"location": "query"
|
||||||
|
},
|
||||||
"pageToken": {
|
"pageToken": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list request to get the next page of results.",
|
"description": "Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list request to get the next page of results.",
|
||||||
@@ -1262,6 +1649,11 @@
|
|||||||
"maximum": "500",
|
"maximum": "500",
|
||||||
"location": "query"
|
"location": "query"
|
||||||
},
|
},
|
||||||
|
"orderBy": {
|
||||||
|
"type": "string",
|
||||||
|
"description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation timestamp using orderBy=\"creationTimestamp desc\". This sorts results based on the creationTimestamp field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by name or creationTimestamp desc is supported.",
|
||||||
|
"location": "query"
|
||||||
|
},
|
||||||
"pageToken": {
|
"pageToken": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list request to get the next page of results.",
|
"description": "Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list request to get the next page of results.",
|
||||||
@@ -1361,6 +1753,11 @@
|
|||||||
"maximum": "500",
|
"maximum": "500",
|
||||||
"location": "query"
|
"location": "query"
|
||||||
},
|
},
|
||||||
|
"orderBy": {
|
||||||
|
"type": "string",
|
||||||
|
"description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation timestamp using orderBy=\"creationTimestamp desc\". This sorts results based on the creationTimestamp field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by name or creationTimestamp desc is supported.",
|
||||||
|
"location": "query"
|
||||||
|
},
|
||||||
"pageToken": {
|
"pageToken": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list request to get the next page of results.",
|
"description": "Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list request to get the next page of results.",
|
||||||
@@ -1412,6 +1809,11 @@
|
|||||||
"maximum": "500",
|
"maximum": "500",
|
||||||
"location": "query"
|
"location": "query"
|
||||||
},
|
},
|
||||||
|
"orderBy": {
|
||||||
|
"type": "string",
|
||||||
|
"description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation timestamp using orderBy=\"creationTimestamp desc\". This sorts results based on the creationTimestamp field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by name or creationTimestamp desc is supported.",
|
||||||
|
"location": "query"
|
||||||
|
},
|
||||||
"pageToken": {
|
"pageToken": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list request to get the next page of results.",
|
"description": "Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list request to get the next page of results.",
|
||||||
|
|||||||
@@ -1,11 +1,11 @@
|
|||||||
{
|
{
|
||||||
"kind": "discovery#restDescription",
|
"kind": "discovery#restDescription",
|
||||||
"etag": "\"C5oy1hgQsABtYOYIOXWcR3BgYqU/y2LzemS0ncSGPB8Wy8sQ08tzru8\"",
|
"etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/NjTto7z56uIMZ6dXu1KlAZzPglQ\"",
|
||||||
"discoveryVersion": "v1",
|
"discoveryVersion": "v1",
|
||||||
"id": "dfareporting:v2.5",
|
"id": "dfareporting:v2.5",
|
||||||
"name": "dfareporting",
|
"name": "dfareporting",
|
||||||
"version": "v2.5",
|
"version": "v2.5",
|
||||||
"revision": "20160803",
|
"revision": "20161027",
|
||||||
"title": "DCM/DFA Reporting And Trafficking API",
|
"title": "DCM/DFA Reporting And Trafficking API",
|
||||||
"description": "Manages your DoubleClick Campaign Manager ad campaigns and reports.",
|
"description": "Manages your DoubleClick Campaign Manager ad campaigns and reports.",
|
||||||
"ownerDomain": "google.com",
|
"ownerDomain": "google.com",
|
||||||
@@ -120,6 +120,7 @@
|
|||||||
"ACTIVE_ADS_TIER_300K",
|
"ACTIVE_ADS_TIER_300K",
|
||||||
"ACTIVE_ADS_TIER_40K",
|
"ACTIVE_ADS_TIER_40K",
|
||||||
"ACTIVE_ADS_TIER_500K",
|
"ACTIVE_ADS_TIER_500K",
|
||||||
|
"ACTIVE_ADS_TIER_750K",
|
||||||
"ACTIVE_ADS_TIER_75K"
|
"ACTIVE_ADS_TIER_75K"
|
||||||
],
|
],
|
||||||
"enumDescriptions": [
|
"enumDescriptions": [
|
||||||
@@ -128,6 +129,7 @@
|
|||||||
"",
|
"",
|
||||||
"",
|
"",
|
||||||
"",
|
"",
|
||||||
|
"",
|
||||||
""
|
""
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
@@ -228,6 +230,7 @@
|
|||||||
"ACTIVE_ADS_TIER_300K",
|
"ACTIVE_ADS_TIER_300K",
|
||||||
"ACTIVE_ADS_TIER_40K",
|
"ACTIVE_ADS_TIER_40K",
|
||||||
"ACTIVE_ADS_TIER_500K",
|
"ACTIVE_ADS_TIER_500K",
|
||||||
|
"ACTIVE_ADS_TIER_750K",
|
||||||
"ACTIVE_ADS_TIER_75K"
|
"ACTIVE_ADS_TIER_75K"
|
||||||
],
|
],
|
||||||
"enumDescriptions": [
|
"enumDescriptions": [
|
||||||
@@ -236,6 +239,7 @@
|
|||||||
"",
|
"",
|
||||||
"",
|
"",
|
||||||
"",
|
"",
|
||||||
|
"",
|
||||||
""
|
""
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
@@ -545,7 +549,7 @@
|
|||||||
},
|
},
|
||||||
"active": {
|
"active": {
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
"description": "Whether this ad is active."
|
"description": "Whether this ad is active. When true, archived must be false."
|
||||||
},
|
},
|
||||||
"advertiserId": {
|
"advertiserId": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
@@ -558,7 +562,7 @@
|
|||||||
},
|
},
|
||||||
"archived": {
|
"archived": {
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
"description": "Whether this ad is archived."
|
"description": "Whether this ad is archived. When true, active must be false."
|
||||||
},
|
},
|
||||||
"audienceSegmentId": {
|
"audienceSegmentId": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
@@ -1670,7 +1674,7 @@
|
|||||||
},
|
},
|
||||||
"limitAdTracking": {
|
"limitAdTracking": {
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
"description": "Whether the user has Limit Ad Tracking set."
|
"description": "Whether Limit Ad Tracking is enabled. When set to true, the conversion will be used for reporting but not targeting. This will prevent remarketing."
|
||||||
},
|
},
|
||||||
"mobileDeviceId": {
|
"mobileDeviceId": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
@@ -10029,7 +10033,7 @@
|
|||||||
"id": "dfareporting.accountUserProfiles.list",
|
"id": "dfareporting.accountUserProfiles.list",
|
||||||
"path": "userprofiles/{profileId}/accountUserProfiles",
|
"path": "userprofiles/{profileId}/accountUserProfiles",
|
||||||
"httpMethod": "GET",
|
"httpMethod": "GET",
|
||||||
"description": "Retrieves a list of account user profiles, possibly filtered.",
|
"description": "Retrieves a list of account user profiles, possibly filtered. This method supports paging.",
|
||||||
"parameters": {
|
"parameters": {
|
||||||
"active": {
|
"active": {
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
@@ -10217,7 +10221,7 @@
|
|||||||
"id": "dfareporting.accounts.list",
|
"id": "dfareporting.accounts.list",
|
||||||
"path": "userprofiles/{profileId}/accounts",
|
"path": "userprofiles/{profileId}/accounts",
|
||||||
"httpMethod": "GET",
|
"httpMethod": "GET",
|
||||||
"description": "Retrieves the list of accounts, possibly filtered.",
|
"description": "Retrieves the list of accounts, possibly filtered. This method supports paging.",
|
||||||
"parameters": {
|
"parameters": {
|
||||||
"active": {
|
"active": {
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
@@ -10420,7 +10424,7 @@
|
|||||||
"id": "dfareporting.ads.list",
|
"id": "dfareporting.ads.list",
|
||||||
"path": "userprofiles/{profileId}/ads",
|
"path": "userprofiles/{profileId}/ads",
|
||||||
"httpMethod": "GET",
|
"httpMethod": "GET",
|
||||||
"description": "Retrieves a list of ads, possibly filtered.",
|
"description": "Retrieves a list of ads, possibly filtered. This method supports paging.",
|
||||||
"parameters": {
|
"parameters": {
|
||||||
"active": {
|
"active": {
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
@@ -10834,7 +10838,7 @@
|
|||||||
"id": "dfareporting.advertiserGroups.list",
|
"id": "dfareporting.advertiserGroups.list",
|
||||||
"path": "userprofiles/{profileId}/advertiserGroups",
|
"path": "userprofiles/{profileId}/advertiserGroups",
|
||||||
"httpMethod": "GET",
|
"httpMethod": "GET",
|
||||||
"description": "Retrieves a list of advertiser groups, possibly filtered.",
|
"description": "Retrieves a list of advertiser groups, possibly filtered. This method supports paging.",
|
||||||
"parameters": {
|
"parameters": {
|
||||||
"ids": {
|
"ids": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
@@ -11032,7 +11036,7 @@
|
|||||||
"id": "dfareporting.advertisers.list",
|
"id": "dfareporting.advertisers.list",
|
||||||
"path": "userprofiles/{profileId}/advertisers",
|
"path": "userprofiles/{profileId}/advertisers",
|
||||||
"httpMethod": "GET",
|
"httpMethod": "GET",
|
||||||
"description": "Retrieves a list of advertisers, possibly filtered.",
|
"description": "Retrieves a list of advertisers, possibly filtered. This method supports paging.",
|
||||||
"parameters": {
|
"parameters": {
|
||||||
"advertiserGroupIds": {
|
"advertiserGroupIds": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
@@ -11277,7 +11281,7 @@
|
|||||||
"id": "dfareporting.campaignCreativeAssociations.list",
|
"id": "dfareporting.campaignCreativeAssociations.list",
|
||||||
"path": "userprofiles/{profileId}/campaigns/{campaignId}/campaignCreativeAssociations",
|
"path": "userprofiles/{profileId}/campaigns/{campaignId}/campaignCreativeAssociations",
|
||||||
"httpMethod": "GET",
|
"httpMethod": "GET",
|
||||||
"description": "Retrieves the list of creative IDs associated with the specified campaign.",
|
"description": "Retrieves the list of creative IDs associated with the specified campaign. This method supports paging.",
|
||||||
"parameters": {
|
"parameters": {
|
||||||
"campaignId": {
|
"campaignId": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
@@ -11410,7 +11414,7 @@
|
|||||||
"id": "dfareporting.campaigns.list",
|
"id": "dfareporting.campaigns.list",
|
||||||
"path": "userprofiles/{profileId}/campaigns",
|
"path": "userprofiles/{profileId}/campaigns",
|
||||||
"httpMethod": "GET",
|
"httpMethod": "GET",
|
||||||
"description": "Retrieves a list of campaigns, possibly filtered.",
|
"description": "Retrieves a list of campaigns, possibly filtered. This method supports paging.",
|
||||||
"parameters": {
|
"parameters": {
|
||||||
"advertiserGroupIds": {
|
"advertiserGroupIds": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
@@ -11624,7 +11628,7 @@
|
|||||||
"id": "dfareporting.changeLogs.list",
|
"id": "dfareporting.changeLogs.list",
|
||||||
"path": "userprofiles/{profileId}/changeLogs",
|
"path": "userprofiles/{profileId}/changeLogs",
|
||||||
"httpMethod": "GET",
|
"httpMethod": "GET",
|
||||||
"description": "Retrieves a list of change logs.",
|
"description": "Retrieves a list of change logs. This method supports paging.",
|
||||||
"parameters": {
|
"parameters": {
|
||||||
"action": {
|
"action": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
@@ -11735,6 +11739,7 @@
|
|||||||
"OBJECT_REMARKETING_LIST",
|
"OBJECT_REMARKETING_LIST",
|
||||||
"OBJECT_RICHMEDIA_CREATIVE",
|
"OBJECT_RICHMEDIA_CREATIVE",
|
||||||
"OBJECT_SD_SITE",
|
"OBJECT_SD_SITE",
|
||||||
|
"OBJECT_SEARCH_LIFT_STUDY",
|
||||||
"OBJECT_SIZE",
|
"OBJECT_SIZE",
|
||||||
"OBJECT_SUBACCOUNT",
|
"OBJECT_SUBACCOUNT",
|
||||||
"OBJECT_TARGETING_TEMPLATE",
|
"OBJECT_TARGETING_TEMPLATE",
|
||||||
@@ -11780,6 +11785,7 @@
|
|||||||
"",
|
"",
|
||||||
"",
|
"",
|
||||||
"",
|
"",
|
||||||
|
"",
|
||||||
""
|
""
|
||||||
],
|
],
|
||||||
"location": "query"
|
"location": "query"
|
||||||
@@ -12029,7 +12035,7 @@
|
|||||||
"id": "dfareporting.contentCategories.list",
|
"id": "dfareporting.contentCategories.list",
|
||||||
"path": "userprofiles/{profileId}/contentCategories",
|
"path": "userprofiles/{profileId}/contentCategories",
|
||||||
"httpMethod": "GET",
|
"httpMethod": "GET",
|
||||||
"description": "Retrieves a list of content categories, possibly filtered.",
|
"description": "Retrieves a list of content categories, possibly filtered. This method supports paging.",
|
||||||
"parameters": {
|
"parameters": {
|
||||||
"ids": {
|
"ids": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
@@ -12427,7 +12433,7 @@
|
|||||||
"id": "dfareporting.creativeFieldValues.list",
|
"id": "dfareporting.creativeFieldValues.list",
|
||||||
"path": "userprofiles/{profileId}/creativeFields/{creativeFieldId}/creativeFieldValues",
|
"path": "userprofiles/{profileId}/creativeFields/{creativeFieldId}/creativeFieldValues",
|
||||||
"httpMethod": "GET",
|
"httpMethod": "GET",
|
||||||
"description": "Retrieves a list of creative field values, possibly filtered.",
|
"description": "Retrieves a list of creative field values, possibly filtered. This method supports paging.",
|
||||||
"parameters": {
|
"parameters": {
|
||||||
"creativeFieldId": {
|
"creativeFieldId": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
@@ -12678,7 +12684,7 @@
|
|||||||
"id": "dfareporting.creativeFields.list",
|
"id": "dfareporting.creativeFields.list",
|
||||||
"path": "userprofiles/{profileId}/creativeFields",
|
"path": "userprofiles/{profileId}/creativeFields",
|
||||||
"httpMethod": "GET",
|
"httpMethod": "GET",
|
||||||
"description": "Retrieves a list of creative fields, possibly filtered.",
|
"description": "Retrieves a list of creative fields, possibly filtered. This method supports paging.",
|
||||||
"parameters": {
|
"parameters": {
|
||||||
"advertiserIds": {
|
"advertiserIds": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
@@ -12883,7 +12889,7 @@
|
|||||||
"id": "dfareporting.creativeGroups.list",
|
"id": "dfareporting.creativeGroups.list",
|
||||||
"path": "userprofiles/{profileId}/creativeGroups",
|
"path": "userprofiles/{profileId}/creativeGroups",
|
||||||
"httpMethod": "GET",
|
"httpMethod": "GET",
|
||||||
"description": "Retrieves a list of creative groups, possibly filtered.",
|
"description": "Retrieves a list of creative groups, possibly filtered. This method supports paging.",
|
||||||
"parameters": {
|
"parameters": {
|
||||||
"advertiserIds": {
|
"advertiserIds": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
@@ -13094,7 +13100,7 @@
|
|||||||
"id": "dfareporting.creatives.list",
|
"id": "dfareporting.creatives.list",
|
||||||
"path": "userprofiles/{profileId}/creatives",
|
"path": "userprofiles/{profileId}/creatives",
|
||||||
"httpMethod": "GET",
|
"httpMethod": "GET",
|
||||||
"description": "Retrieves a list of creatives, possibly filtered.",
|
"description": "Retrieves a list of creatives, possibly filtered. This method supports paging.",
|
||||||
"parameters": {
|
"parameters": {
|
||||||
"active": {
|
"active": {
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
@@ -13423,7 +13429,7 @@
|
|||||||
"id": "dfareporting.directorySiteContacts.list",
|
"id": "dfareporting.directorySiteContacts.list",
|
||||||
"path": "userprofiles/{profileId}/directorySiteContacts",
|
"path": "userprofiles/{profileId}/directorySiteContacts",
|
||||||
"httpMethod": "GET",
|
"httpMethod": "GET",
|
||||||
"description": "Retrieves a list of directory site contacts, possibly filtered.",
|
"description": "Retrieves a list of directory site contacts, possibly filtered. This method supports paging.",
|
||||||
"parameters": {
|
"parameters": {
|
||||||
"directorySiteIds": {
|
"directorySiteIds": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
@@ -13566,7 +13572,7 @@
|
|||||||
"id": "dfareporting.directorySites.list",
|
"id": "dfareporting.directorySites.list",
|
||||||
"path": "userprofiles/{profileId}/directorySites",
|
"path": "userprofiles/{profileId}/directorySites",
|
||||||
"httpMethod": "GET",
|
"httpMethod": "GET",
|
||||||
"description": "Retrieves a list of directory sites, possibly filtered.",
|
"description": "Retrieves a list of directory sites, possibly filtered. This method supports paging.",
|
||||||
"parameters": {
|
"parameters": {
|
||||||
"acceptsInStreamVideoPlacements": {
|
"acceptsInStreamVideoPlacements": {
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
@@ -14321,7 +14327,7 @@
|
|||||||
"id": "dfareporting.floodlightActivities.list",
|
"id": "dfareporting.floodlightActivities.list",
|
||||||
"path": "userprofiles/{profileId}/floodlightActivities",
|
"path": "userprofiles/{profileId}/floodlightActivities",
|
||||||
"httpMethod": "GET",
|
"httpMethod": "GET",
|
||||||
"description": "Retrieves a list of floodlight activities, possibly filtered.",
|
"description": "Retrieves a list of floodlight activities, possibly filtered. This method supports paging.",
|
||||||
"parameters": {
|
"parameters": {
|
||||||
"advertiserId": {
|
"advertiserId": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
@@ -14566,7 +14572,7 @@
|
|||||||
"id": "dfareporting.floodlightActivityGroups.list",
|
"id": "dfareporting.floodlightActivityGroups.list",
|
||||||
"path": "userprofiles/{profileId}/floodlightActivityGroups",
|
"path": "userprofiles/{profileId}/floodlightActivityGroups",
|
||||||
"httpMethod": "GET",
|
"httpMethod": "GET",
|
||||||
"description": "Retrieves a list of floodlight activity groups, possibly filtered.",
|
"description": "Retrieves a list of floodlight activity groups, possibly filtered. This method supports paging.",
|
||||||
"parameters": {
|
"parameters": {
|
||||||
"advertiserId": {
|
"advertiserId": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
@@ -14899,7 +14905,7 @@
|
|||||||
"id": "dfareporting.inventoryItems.list",
|
"id": "dfareporting.inventoryItems.list",
|
||||||
"path": "userprofiles/{profileId}/projects/{projectId}/inventoryItems",
|
"path": "userprofiles/{profileId}/projects/{projectId}/inventoryItems",
|
||||||
"httpMethod": "GET",
|
"httpMethod": "GET",
|
||||||
"description": "Retrieves a list of inventory items, possibly filtered.",
|
"description": "Retrieves a list of inventory items, possibly filtered. This method supports paging.",
|
||||||
"parameters": {
|
"parameters": {
|
||||||
"ids": {
|
"ids": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
@@ -15485,7 +15491,7 @@
|
|||||||
"id": "dfareporting.orderDocuments.list",
|
"id": "dfareporting.orderDocuments.list",
|
||||||
"path": "userprofiles/{profileId}/projects/{projectId}/orderDocuments",
|
"path": "userprofiles/{profileId}/projects/{projectId}/orderDocuments",
|
||||||
"httpMethod": "GET",
|
"httpMethod": "GET",
|
||||||
"description": "Retrieves a list of order documents, possibly filtered.",
|
"description": "Retrieves a list of order documents, possibly filtered. This method supports paging.",
|
||||||
"parameters": {
|
"parameters": {
|
||||||
"approved": {
|
"approved": {
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
@@ -15629,7 +15635,7 @@
|
|||||||
"id": "dfareporting.orders.list",
|
"id": "dfareporting.orders.list",
|
||||||
"path": "userprofiles/{profileId}/projects/{projectId}/orders",
|
"path": "userprofiles/{profileId}/projects/{projectId}/orders",
|
||||||
"httpMethod": "GET",
|
"httpMethod": "GET",
|
||||||
"description": "Retrieves a list of orders, possibly filtered.",
|
"description": "Retrieves a list of orders, possibly filtered. This method supports paging.",
|
||||||
"parameters": {
|
"parameters": {
|
||||||
"ids": {
|
"ids": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
@@ -15780,7 +15786,7 @@
|
|||||||
"id": "dfareporting.placementGroups.list",
|
"id": "dfareporting.placementGroups.list",
|
||||||
"path": "userprofiles/{profileId}/placementGroups",
|
"path": "userprofiles/{profileId}/placementGroups",
|
||||||
"httpMethod": "GET",
|
"httpMethod": "GET",
|
||||||
"description": "Retrieves a list of placement groups, possibly filtered.",
|
"description": "Retrieves a list of placement groups, possibly filtered. This method supports paging.",
|
||||||
"parameters": {
|
"parameters": {
|
||||||
"advertiserIds": {
|
"advertiserIds": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
@@ -16109,7 +16115,7 @@
|
|||||||
"id": "dfareporting.placementStrategies.list",
|
"id": "dfareporting.placementStrategies.list",
|
||||||
"path": "userprofiles/{profileId}/placementStrategies",
|
"path": "userprofiles/{profileId}/placementStrategies",
|
||||||
"httpMethod": "GET",
|
"httpMethod": "GET",
|
||||||
"description": "Retrieves a list of placement strategies, possibly filtered.",
|
"description": "Retrieves a list of placement strategies, possibly filtered. This method supports paging.",
|
||||||
"parameters": {
|
"parameters": {
|
||||||
"ids": {
|
"ids": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
@@ -16390,7 +16396,7 @@
|
|||||||
"id": "dfareporting.placements.list",
|
"id": "dfareporting.placements.list",
|
||||||
"path": "userprofiles/{profileId}/placements",
|
"path": "userprofiles/{profileId}/placements",
|
||||||
"httpMethod": "GET",
|
"httpMethod": "GET",
|
||||||
"description": "Retrieves a list of placements, possibly filtered.",
|
"description": "Retrieves a list of placements, possibly filtered. This method supports paging.",
|
||||||
"parameters": {
|
"parameters": {
|
||||||
"advertiserIds": {
|
"advertiserIds": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
@@ -16816,7 +16822,7 @@
|
|||||||
"id": "dfareporting.projects.list",
|
"id": "dfareporting.projects.list",
|
||||||
"path": "userprofiles/{profileId}/projects",
|
"path": "userprofiles/{profileId}/projects",
|
||||||
"httpMethod": "GET",
|
"httpMethod": "GET",
|
||||||
"description": "Retrieves a list of projects, possibly filtered.",
|
"description": "Retrieves a list of projects, possibly filtered. This method supports paging.",
|
||||||
"parameters": {
|
"parameters": {
|
||||||
"advertiserIds": {
|
"advertiserIds": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
@@ -17085,7 +17091,7 @@
|
|||||||
"id": "dfareporting.remarketingLists.list",
|
"id": "dfareporting.remarketingLists.list",
|
||||||
"path": "userprofiles/{profileId}/remarketingLists",
|
"path": "userprofiles/{profileId}/remarketingLists",
|
||||||
"httpMethod": "GET",
|
"httpMethod": "GET",
|
||||||
"description": "Retrieves a list of remarketing lists, possibly filtered.",
|
"description": "Retrieves a list of remarketing lists, possibly filtered. This method supports paging.",
|
||||||
"parameters": {
|
"parameters": {
|
||||||
"active": {
|
"active": {
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
@@ -17726,7 +17732,7 @@
|
|||||||
"id": "dfareporting.sites.list",
|
"id": "dfareporting.sites.list",
|
||||||
"path": "userprofiles/{profileId}/sites",
|
"path": "userprofiles/{profileId}/sites",
|
||||||
"httpMethod": "GET",
|
"httpMethod": "GET",
|
||||||
"description": "Retrieves a list of sites, possibly filtered.",
|
"description": "Retrieves a list of sites, possibly filtered. This method supports paging.",
|
||||||
"parameters": {
|
"parameters": {
|
||||||
"acceptsInStreamVideoPlacements": {
|
"acceptsInStreamVideoPlacements": {
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
@@ -18085,7 +18091,7 @@
|
|||||||
"id": "dfareporting.subaccounts.list",
|
"id": "dfareporting.subaccounts.list",
|
||||||
"path": "userprofiles/{profileId}/subaccounts",
|
"path": "userprofiles/{profileId}/subaccounts",
|
||||||
"httpMethod": "GET",
|
"httpMethod": "GET",
|
||||||
"description": "Gets a list of subaccounts, possibly filtered.",
|
"description": "Gets a list of subaccounts, possibly filtered. This method supports paging.",
|
||||||
"parameters": {
|
"parameters": {
|
||||||
"ids": {
|
"ids": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
@@ -18256,7 +18262,7 @@
|
|||||||
"id": "dfareporting.targetableRemarketingLists.list",
|
"id": "dfareporting.targetableRemarketingLists.list",
|
||||||
"path": "userprofiles/{profileId}/targetableRemarketingLists",
|
"path": "userprofiles/{profileId}/targetableRemarketingLists",
|
||||||
"httpMethod": "GET",
|
"httpMethod": "GET",
|
||||||
"description": "Retrieves a list of targetable remarketing lists, possibly filtered.",
|
"description": "Retrieves a list of targetable remarketing lists, possibly filtered. This method supports paging.",
|
||||||
"parameters": {
|
"parameters": {
|
||||||
"active": {
|
"active": {
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
@@ -18596,7 +18602,7 @@
|
|||||||
"id": "dfareporting.userRoles.list",
|
"id": "dfareporting.userRoles.list",
|
||||||
"path": "userprofiles/{profileId}/userRoles",
|
"path": "userprofiles/{profileId}/userRoles",
|
||||||
"httpMethod": "GET",
|
"httpMethod": "GET",
|
||||||
"description": "Retrieves a list of user roles, possibly filtered.",
|
"description": "Retrieves a list of user roles, possibly filtered. This method supports paging.",
|
||||||
"parameters": {
|
"parameters": {
|
||||||
"accountUserRoleOnly": {
|
"accountUserRoleOnly": {
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
|
|||||||
@@ -1,11 +1,11 @@
|
|||||||
{
|
{
|
||||||
"kind": "discovery#restDescription",
|
"kind": "discovery#restDescription",
|
||||||
"etag": "\"C5oy1hgQsABtYOYIOXWcR3BgYqU/z0eZUaqOcxxITNN1hSlIwZVa79Y\"",
|
"etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/IuF-UJwb7L5VgOXQMERaZkF35jI\"",
|
||||||
"discoveryVersion": "v1",
|
"discoveryVersion": "v1",
|
||||||
"id": "dfareporting:v2.5beta1",
|
"id": "dfareporting:v2.5beta1",
|
||||||
"name": "dfareporting",
|
"name": "dfareporting",
|
||||||
"version": "v2.5beta1",
|
"version": "v2.5beta1",
|
||||||
"revision": "20160803",
|
"revision": "20161027",
|
||||||
"title": "DCM/DFA Reporting And Trafficking API",
|
"title": "DCM/DFA Reporting And Trafficking API",
|
||||||
"description": "Manages your DoubleClick Campaign Manager ad campaigns and reports.",
|
"description": "Manages your DoubleClick Campaign Manager ad campaigns and reports.",
|
||||||
"ownerDomain": "google.com",
|
"ownerDomain": "google.com",
|
||||||
@@ -120,6 +120,7 @@
|
|||||||
"ACTIVE_ADS_TIER_300K",
|
"ACTIVE_ADS_TIER_300K",
|
||||||
"ACTIVE_ADS_TIER_40K",
|
"ACTIVE_ADS_TIER_40K",
|
||||||
"ACTIVE_ADS_TIER_500K",
|
"ACTIVE_ADS_TIER_500K",
|
||||||
|
"ACTIVE_ADS_TIER_750K",
|
||||||
"ACTIVE_ADS_TIER_75K"
|
"ACTIVE_ADS_TIER_75K"
|
||||||
],
|
],
|
||||||
"enumDescriptions": [
|
"enumDescriptions": [
|
||||||
@@ -128,6 +129,7 @@
|
|||||||
"",
|
"",
|
||||||
"",
|
"",
|
||||||
"",
|
"",
|
||||||
|
"",
|
||||||
""
|
""
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
@@ -228,6 +230,7 @@
|
|||||||
"ACTIVE_ADS_TIER_300K",
|
"ACTIVE_ADS_TIER_300K",
|
||||||
"ACTIVE_ADS_TIER_40K",
|
"ACTIVE_ADS_TIER_40K",
|
||||||
"ACTIVE_ADS_TIER_500K",
|
"ACTIVE_ADS_TIER_500K",
|
||||||
|
"ACTIVE_ADS_TIER_750K",
|
||||||
"ACTIVE_ADS_TIER_75K"
|
"ACTIVE_ADS_TIER_75K"
|
||||||
],
|
],
|
||||||
"enumDescriptions": [
|
"enumDescriptions": [
|
||||||
@@ -236,6 +239,7 @@
|
|||||||
"",
|
"",
|
||||||
"",
|
"",
|
||||||
"",
|
"",
|
||||||
|
"",
|
||||||
""
|
""
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
@@ -545,7 +549,7 @@
|
|||||||
},
|
},
|
||||||
"active": {
|
"active": {
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
"description": "Whether this ad is active."
|
"description": "Whether this ad is active. When true, archived must be false."
|
||||||
},
|
},
|
||||||
"advertiserId": {
|
"advertiserId": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
@@ -558,7 +562,7 @@
|
|||||||
},
|
},
|
||||||
"archived": {
|
"archived": {
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
"description": "Whether this ad is archived."
|
"description": "Whether this ad is archived. When true, active must be false."
|
||||||
},
|
},
|
||||||
"audienceSegmentId": {
|
"audienceSegmentId": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
@@ -1670,7 +1674,7 @@
|
|||||||
},
|
},
|
||||||
"limitAdTracking": {
|
"limitAdTracking": {
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
"description": "Whether the user has Limit Ad Tracking set."
|
"description": "Whether Limit Ad Tracking is enabled. When set to true, the conversion will be used for reporting but not targeting. This will prevent remarketing."
|
||||||
},
|
},
|
||||||
"mobileDeviceId": {
|
"mobileDeviceId": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
@@ -10029,7 +10033,7 @@
|
|||||||
"id": "dfareporting.accountUserProfiles.list",
|
"id": "dfareporting.accountUserProfiles.list",
|
||||||
"path": "userprofiles/{profileId}/accountUserProfiles",
|
"path": "userprofiles/{profileId}/accountUserProfiles",
|
||||||
"httpMethod": "GET",
|
"httpMethod": "GET",
|
||||||
"description": "Retrieves a list of account user profiles, possibly filtered.",
|
"description": "Retrieves a list of account user profiles, possibly filtered. This method supports paging.",
|
||||||
"parameters": {
|
"parameters": {
|
||||||
"active": {
|
"active": {
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
@@ -10217,7 +10221,7 @@
|
|||||||
"id": "dfareporting.accounts.list",
|
"id": "dfareporting.accounts.list",
|
||||||
"path": "userprofiles/{profileId}/accounts",
|
"path": "userprofiles/{profileId}/accounts",
|
||||||
"httpMethod": "GET",
|
"httpMethod": "GET",
|
||||||
"description": "Retrieves the list of accounts, possibly filtered.",
|
"description": "Retrieves the list of accounts, possibly filtered. This method supports paging.",
|
||||||
"parameters": {
|
"parameters": {
|
||||||
"active": {
|
"active": {
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
@@ -10420,7 +10424,7 @@
|
|||||||
"id": "dfareporting.ads.list",
|
"id": "dfareporting.ads.list",
|
||||||
"path": "userprofiles/{profileId}/ads",
|
"path": "userprofiles/{profileId}/ads",
|
||||||
"httpMethod": "GET",
|
"httpMethod": "GET",
|
||||||
"description": "Retrieves a list of ads, possibly filtered.",
|
"description": "Retrieves a list of ads, possibly filtered. This method supports paging.",
|
||||||
"parameters": {
|
"parameters": {
|
||||||
"active": {
|
"active": {
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
@@ -10834,7 +10838,7 @@
|
|||||||
"id": "dfareporting.advertiserGroups.list",
|
"id": "dfareporting.advertiserGroups.list",
|
||||||
"path": "userprofiles/{profileId}/advertiserGroups",
|
"path": "userprofiles/{profileId}/advertiserGroups",
|
||||||
"httpMethod": "GET",
|
"httpMethod": "GET",
|
||||||
"description": "Retrieves a list of advertiser groups, possibly filtered.",
|
"description": "Retrieves a list of advertiser groups, possibly filtered. This method supports paging.",
|
||||||
"parameters": {
|
"parameters": {
|
||||||
"ids": {
|
"ids": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
@@ -11032,7 +11036,7 @@
|
|||||||
"id": "dfareporting.advertisers.list",
|
"id": "dfareporting.advertisers.list",
|
||||||
"path": "userprofiles/{profileId}/advertisers",
|
"path": "userprofiles/{profileId}/advertisers",
|
||||||
"httpMethod": "GET",
|
"httpMethod": "GET",
|
||||||
"description": "Retrieves a list of advertisers, possibly filtered.",
|
"description": "Retrieves a list of advertisers, possibly filtered. This method supports paging.",
|
||||||
"parameters": {
|
"parameters": {
|
||||||
"advertiserGroupIds": {
|
"advertiserGroupIds": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
@@ -11277,7 +11281,7 @@
|
|||||||
"id": "dfareporting.campaignCreativeAssociations.list",
|
"id": "dfareporting.campaignCreativeAssociations.list",
|
||||||
"path": "userprofiles/{profileId}/campaigns/{campaignId}/campaignCreativeAssociations",
|
"path": "userprofiles/{profileId}/campaigns/{campaignId}/campaignCreativeAssociations",
|
||||||
"httpMethod": "GET",
|
"httpMethod": "GET",
|
||||||
"description": "Retrieves the list of creative IDs associated with the specified campaign.",
|
"description": "Retrieves the list of creative IDs associated with the specified campaign. This method supports paging.",
|
||||||
"parameters": {
|
"parameters": {
|
||||||
"campaignId": {
|
"campaignId": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
@@ -11410,7 +11414,7 @@
|
|||||||
"id": "dfareporting.campaigns.list",
|
"id": "dfareporting.campaigns.list",
|
||||||
"path": "userprofiles/{profileId}/campaigns",
|
"path": "userprofiles/{profileId}/campaigns",
|
||||||
"httpMethod": "GET",
|
"httpMethod": "GET",
|
||||||
"description": "Retrieves a list of campaigns, possibly filtered.",
|
"description": "Retrieves a list of campaigns, possibly filtered. This method supports paging.",
|
||||||
"parameters": {
|
"parameters": {
|
||||||
"advertiserGroupIds": {
|
"advertiserGroupIds": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
@@ -11624,7 +11628,7 @@
|
|||||||
"id": "dfareporting.changeLogs.list",
|
"id": "dfareporting.changeLogs.list",
|
||||||
"path": "userprofiles/{profileId}/changeLogs",
|
"path": "userprofiles/{profileId}/changeLogs",
|
||||||
"httpMethod": "GET",
|
"httpMethod": "GET",
|
||||||
"description": "Retrieves a list of change logs.",
|
"description": "Retrieves a list of change logs. This method supports paging.",
|
||||||
"parameters": {
|
"parameters": {
|
||||||
"action": {
|
"action": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
@@ -11735,6 +11739,7 @@
|
|||||||
"OBJECT_REMARKETING_LIST",
|
"OBJECT_REMARKETING_LIST",
|
||||||
"OBJECT_RICHMEDIA_CREATIVE",
|
"OBJECT_RICHMEDIA_CREATIVE",
|
||||||
"OBJECT_SD_SITE",
|
"OBJECT_SD_SITE",
|
||||||
|
"OBJECT_SEARCH_LIFT_STUDY",
|
||||||
"OBJECT_SIZE",
|
"OBJECT_SIZE",
|
||||||
"OBJECT_SUBACCOUNT",
|
"OBJECT_SUBACCOUNT",
|
||||||
"OBJECT_TARGETING_TEMPLATE",
|
"OBJECT_TARGETING_TEMPLATE",
|
||||||
@@ -11780,6 +11785,7 @@
|
|||||||
"",
|
"",
|
||||||
"",
|
"",
|
||||||
"",
|
"",
|
||||||
|
"",
|
||||||
""
|
""
|
||||||
],
|
],
|
||||||
"location": "query"
|
"location": "query"
|
||||||
@@ -12029,7 +12035,7 @@
|
|||||||
"id": "dfareporting.contentCategories.list",
|
"id": "dfareporting.contentCategories.list",
|
||||||
"path": "userprofiles/{profileId}/contentCategories",
|
"path": "userprofiles/{profileId}/contentCategories",
|
||||||
"httpMethod": "GET",
|
"httpMethod": "GET",
|
||||||
"description": "Retrieves a list of content categories, possibly filtered.",
|
"description": "Retrieves a list of content categories, possibly filtered. This method supports paging.",
|
||||||
"parameters": {
|
"parameters": {
|
||||||
"ids": {
|
"ids": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
@@ -12427,7 +12433,7 @@
|
|||||||
"id": "dfareporting.creativeFieldValues.list",
|
"id": "dfareporting.creativeFieldValues.list",
|
||||||
"path": "userprofiles/{profileId}/creativeFields/{creativeFieldId}/creativeFieldValues",
|
"path": "userprofiles/{profileId}/creativeFields/{creativeFieldId}/creativeFieldValues",
|
||||||
"httpMethod": "GET",
|
"httpMethod": "GET",
|
||||||
"description": "Retrieves a list of creative field values, possibly filtered.",
|
"description": "Retrieves a list of creative field values, possibly filtered. This method supports paging.",
|
||||||
"parameters": {
|
"parameters": {
|
||||||
"creativeFieldId": {
|
"creativeFieldId": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
@@ -12678,7 +12684,7 @@
|
|||||||
"id": "dfareporting.creativeFields.list",
|
"id": "dfareporting.creativeFields.list",
|
||||||
"path": "userprofiles/{profileId}/creativeFields",
|
"path": "userprofiles/{profileId}/creativeFields",
|
||||||
"httpMethod": "GET",
|
"httpMethod": "GET",
|
||||||
"description": "Retrieves a list of creative fields, possibly filtered.",
|
"description": "Retrieves a list of creative fields, possibly filtered. This method supports paging.",
|
||||||
"parameters": {
|
"parameters": {
|
||||||
"advertiserIds": {
|
"advertiserIds": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
@@ -12883,7 +12889,7 @@
|
|||||||
"id": "dfareporting.creativeGroups.list",
|
"id": "dfareporting.creativeGroups.list",
|
||||||
"path": "userprofiles/{profileId}/creativeGroups",
|
"path": "userprofiles/{profileId}/creativeGroups",
|
||||||
"httpMethod": "GET",
|
"httpMethod": "GET",
|
||||||
"description": "Retrieves a list of creative groups, possibly filtered.",
|
"description": "Retrieves a list of creative groups, possibly filtered. This method supports paging.",
|
||||||
"parameters": {
|
"parameters": {
|
||||||
"advertiserIds": {
|
"advertiserIds": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
@@ -13094,7 +13100,7 @@
|
|||||||
"id": "dfareporting.creatives.list",
|
"id": "dfareporting.creatives.list",
|
||||||
"path": "userprofiles/{profileId}/creatives",
|
"path": "userprofiles/{profileId}/creatives",
|
||||||
"httpMethod": "GET",
|
"httpMethod": "GET",
|
||||||
"description": "Retrieves a list of creatives, possibly filtered.",
|
"description": "Retrieves a list of creatives, possibly filtered. This method supports paging.",
|
||||||
"parameters": {
|
"parameters": {
|
||||||
"active": {
|
"active": {
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
@@ -13423,7 +13429,7 @@
|
|||||||
"id": "dfareporting.directorySiteContacts.list",
|
"id": "dfareporting.directorySiteContacts.list",
|
||||||
"path": "userprofiles/{profileId}/directorySiteContacts",
|
"path": "userprofiles/{profileId}/directorySiteContacts",
|
||||||
"httpMethod": "GET",
|
"httpMethod": "GET",
|
||||||
"description": "Retrieves a list of directory site contacts, possibly filtered.",
|
"description": "Retrieves a list of directory site contacts, possibly filtered. This method supports paging.",
|
||||||
"parameters": {
|
"parameters": {
|
||||||
"directorySiteIds": {
|
"directorySiteIds": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
@@ -13566,7 +13572,7 @@
|
|||||||
"id": "dfareporting.directorySites.list",
|
"id": "dfareporting.directorySites.list",
|
||||||
"path": "userprofiles/{profileId}/directorySites",
|
"path": "userprofiles/{profileId}/directorySites",
|
||||||
"httpMethod": "GET",
|
"httpMethod": "GET",
|
||||||
"description": "Retrieves a list of directory sites, possibly filtered.",
|
"description": "Retrieves a list of directory sites, possibly filtered. This method supports paging.",
|
||||||
"parameters": {
|
"parameters": {
|
||||||
"acceptsInStreamVideoPlacements": {
|
"acceptsInStreamVideoPlacements": {
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
@@ -14321,7 +14327,7 @@
|
|||||||
"id": "dfareporting.floodlightActivities.list",
|
"id": "dfareporting.floodlightActivities.list",
|
||||||
"path": "userprofiles/{profileId}/floodlightActivities",
|
"path": "userprofiles/{profileId}/floodlightActivities",
|
||||||
"httpMethod": "GET",
|
"httpMethod": "GET",
|
||||||
"description": "Retrieves a list of floodlight activities, possibly filtered.",
|
"description": "Retrieves a list of floodlight activities, possibly filtered. This method supports paging.",
|
||||||
"parameters": {
|
"parameters": {
|
||||||
"advertiserId": {
|
"advertiserId": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
@@ -14566,7 +14572,7 @@
|
|||||||
"id": "dfareporting.floodlightActivityGroups.list",
|
"id": "dfareporting.floodlightActivityGroups.list",
|
||||||
"path": "userprofiles/{profileId}/floodlightActivityGroups",
|
"path": "userprofiles/{profileId}/floodlightActivityGroups",
|
||||||
"httpMethod": "GET",
|
"httpMethod": "GET",
|
||||||
"description": "Retrieves a list of floodlight activity groups, possibly filtered.",
|
"description": "Retrieves a list of floodlight activity groups, possibly filtered. This method supports paging.",
|
||||||
"parameters": {
|
"parameters": {
|
||||||
"advertiserId": {
|
"advertiserId": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
@@ -14899,7 +14905,7 @@
|
|||||||
"id": "dfareporting.inventoryItems.list",
|
"id": "dfareporting.inventoryItems.list",
|
||||||
"path": "userprofiles/{profileId}/projects/{projectId}/inventoryItems",
|
"path": "userprofiles/{profileId}/projects/{projectId}/inventoryItems",
|
||||||
"httpMethod": "GET",
|
"httpMethod": "GET",
|
||||||
"description": "Retrieves a list of inventory items, possibly filtered.",
|
"description": "Retrieves a list of inventory items, possibly filtered. This method supports paging.",
|
||||||
"parameters": {
|
"parameters": {
|
||||||
"ids": {
|
"ids": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
@@ -15485,7 +15491,7 @@
|
|||||||
"id": "dfareporting.orderDocuments.list",
|
"id": "dfareporting.orderDocuments.list",
|
||||||
"path": "userprofiles/{profileId}/projects/{projectId}/orderDocuments",
|
"path": "userprofiles/{profileId}/projects/{projectId}/orderDocuments",
|
||||||
"httpMethod": "GET",
|
"httpMethod": "GET",
|
||||||
"description": "Retrieves a list of order documents, possibly filtered.",
|
"description": "Retrieves a list of order documents, possibly filtered. This method supports paging.",
|
||||||
"parameters": {
|
"parameters": {
|
||||||
"approved": {
|
"approved": {
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
@@ -15629,7 +15635,7 @@
|
|||||||
"id": "dfareporting.orders.list",
|
"id": "dfareporting.orders.list",
|
||||||
"path": "userprofiles/{profileId}/projects/{projectId}/orders",
|
"path": "userprofiles/{profileId}/projects/{projectId}/orders",
|
||||||
"httpMethod": "GET",
|
"httpMethod": "GET",
|
||||||
"description": "Retrieves a list of orders, possibly filtered.",
|
"description": "Retrieves a list of orders, possibly filtered. This method supports paging.",
|
||||||
"parameters": {
|
"parameters": {
|
||||||
"ids": {
|
"ids": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
@@ -15780,7 +15786,7 @@
|
|||||||
"id": "dfareporting.placementGroups.list",
|
"id": "dfareporting.placementGroups.list",
|
||||||
"path": "userprofiles/{profileId}/placementGroups",
|
"path": "userprofiles/{profileId}/placementGroups",
|
||||||
"httpMethod": "GET",
|
"httpMethod": "GET",
|
||||||
"description": "Retrieves a list of placement groups, possibly filtered.",
|
"description": "Retrieves a list of placement groups, possibly filtered. This method supports paging.",
|
||||||
"parameters": {
|
"parameters": {
|
||||||
"advertiserIds": {
|
"advertiserIds": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
@@ -16109,7 +16115,7 @@
|
|||||||
"id": "dfareporting.placementStrategies.list",
|
"id": "dfareporting.placementStrategies.list",
|
||||||
"path": "userprofiles/{profileId}/placementStrategies",
|
"path": "userprofiles/{profileId}/placementStrategies",
|
||||||
"httpMethod": "GET",
|
"httpMethod": "GET",
|
||||||
"description": "Retrieves a list of placement strategies, possibly filtered.",
|
"description": "Retrieves a list of placement strategies, possibly filtered. This method supports paging.",
|
||||||
"parameters": {
|
"parameters": {
|
||||||
"ids": {
|
"ids": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
@@ -16390,7 +16396,7 @@
|
|||||||
"id": "dfareporting.placements.list",
|
"id": "dfareporting.placements.list",
|
||||||
"path": "userprofiles/{profileId}/placements",
|
"path": "userprofiles/{profileId}/placements",
|
||||||
"httpMethod": "GET",
|
"httpMethod": "GET",
|
||||||
"description": "Retrieves a list of placements, possibly filtered.",
|
"description": "Retrieves a list of placements, possibly filtered. This method supports paging.",
|
||||||
"parameters": {
|
"parameters": {
|
||||||
"advertiserIds": {
|
"advertiserIds": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
@@ -16816,7 +16822,7 @@
|
|||||||
"id": "dfareporting.projects.list",
|
"id": "dfareporting.projects.list",
|
||||||
"path": "userprofiles/{profileId}/projects",
|
"path": "userprofiles/{profileId}/projects",
|
||||||
"httpMethod": "GET",
|
"httpMethod": "GET",
|
||||||
"description": "Retrieves a list of projects, possibly filtered.",
|
"description": "Retrieves a list of projects, possibly filtered. This method supports paging.",
|
||||||
"parameters": {
|
"parameters": {
|
||||||
"advertiserIds": {
|
"advertiserIds": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
@@ -17085,7 +17091,7 @@
|
|||||||
"id": "dfareporting.remarketingLists.list",
|
"id": "dfareporting.remarketingLists.list",
|
||||||
"path": "userprofiles/{profileId}/remarketingLists",
|
"path": "userprofiles/{profileId}/remarketingLists",
|
||||||
"httpMethod": "GET",
|
"httpMethod": "GET",
|
||||||
"description": "Retrieves a list of remarketing lists, possibly filtered.",
|
"description": "Retrieves a list of remarketing lists, possibly filtered. This method supports paging.",
|
||||||
"parameters": {
|
"parameters": {
|
||||||
"active": {
|
"active": {
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
@@ -17726,7 +17732,7 @@
|
|||||||
"id": "dfareporting.sites.list",
|
"id": "dfareporting.sites.list",
|
||||||
"path": "userprofiles/{profileId}/sites",
|
"path": "userprofiles/{profileId}/sites",
|
||||||
"httpMethod": "GET",
|
"httpMethod": "GET",
|
||||||
"description": "Retrieves a list of sites, possibly filtered.",
|
"description": "Retrieves a list of sites, possibly filtered. This method supports paging.",
|
||||||
"parameters": {
|
"parameters": {
|
||||||
"acceptsInStreamVideoPlacements": {
|
"acceptsInStreamVideoPlacements": {
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
@@ -18085,7 +18091,7 @@
|
|||||||
"id": "dfareporting.subaccounts.list",
|
"id": "dfareporting.subaccounts.list",
|
||||||
"path": "userprofiles/{profileId}/subaccounts",
|
"path": "userprofiles/{profileId}/subaccounts",
|
||||||
"httpMethod": "GET",
|
"httpMethod": "GET",
|
||||||
"description": "Gets a list of subaccounts, possibly filtered.",
|
"description": "Gets a list of subaccounts, possibly filtered. This method supports paging.",
|
||||||
"parameters": {
|
"parameters": {
|
||||||
"ids": {
|
"ids": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
@@ -18256,7 +18262,7 @@
|
|||||||
"id": "dfareporting.targetableRemarketingLists.list",
|
"id": "dfareporting.targetableRemarketingLists.list",
|
||||||
"path": "userprofiles/{profileId}/targetableRemarketingLists",
|
"path": "userprofiles/{profileId}/targetableRemarketingLists",
|
||||||
"httpMethod": "GET",
|
"httpMethod": "GET",
|
||||||
"description": "Retrieves a list of targetable remarketing lists, possibly filtered.",
|
"description": "Retrieves a list of targetable remarketing lists, possibly filtered. This method supports paging.",
|
||||||
"parameters": {
|
"parameters": {
|
||||||
"active": {
|
"active": {
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
@@ -18596,7 +18602,7 @@
|
|||||||
"id": "dfareporting.userRoles.list",
|
"id": "dfareporting.userRoles.list",
|
||||||
"path": "userprofiles/{profileId}/userRoles",
|
"path": "userprofiles/{profileId}/userRoles",
|
||||||
"httpMethod": "GET",
|
"httpMethod": "GET",
|
||||||
"description": "Retrieves a list of user roles, possibly filtered.",
|
"description": "Retrieves a list of user roles, possibly filtered. This method supports paging.",
|
||||||
"parameters": {
|
"parameters": {
|
||||||
"accountUserRoleOnly": {
|
"accountUserRoleOnly": {
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
|
|||||||
@@ -1,11 +1,11 @@
|
|||||||
{
|
{
|
||||||
"kind": "discovery#restDescription",
|
"kind": "discovery#restDescription",
|
||||||
"etag": "\"C5oy1hgQsABtYOYIOXWcR3BgYqU/kUzYRmhKcAnpiKF3q0AnOrMQGIA\"",
|
"etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/IUIpYIH18PV9NykwTxBMEWqSYmE\"",
|
||||||
"discoveryVersion": "v1",
|
"discoveryVersion": "v1",
|
||||||
"id": "dfareporting:v2.6",
|
"id": "dfareporting:v2.6",
|
||||||
"name": "dfareporting",
|
"name": "dfareporting",
|
||||||
"version": "v2.6",
|
"version": "v2.6",
|
||||||
"revision": "20160803",
|
"revision": "20161027",
|
||||||
"title": "DCM/DFA Reporting And Trafficking API",
|
"title": "DCM/DFA Reporting And Trafficking API",
|
||||||
"description": "Manages your DoubleClick Campaign Manager ad campaigns and reports.",
|
"description": "Manages your DoubleClick Campaign Manager ad campaigns and reports.",
|
||||||
"ownerDomain": "google.com",
|
"ownerDomain": "google.com",
|
||||||
@@ -120,6 +120,7 @@
|
|||||||
"ACTIVE_ADS_TIER_300K",
|
"ACTIVE_ADS_TIER_300K",
|
||||||
"ACTIVE_ADS_TIER_40K",
|
"ACTIVE_ADS_TIER_40K",
|
||||||
"ACTIVE_ADS_TIER_500K",
|
"ACTIVE_ADS_TIER_500K",
|
||||||
|
"ACTIVE_ADS_TIER_750K",
|
||||||
"ACTIVE_ADS_TIER_75K"
|
"ACTIVE_ADS_TIER_75K"
|
||||||
],
|
],
|
||||||
"enumDescriptions": [
|
"enumDescriptions": [
|
||||||
@@ -128,6 +129,7 @@
|
|||||||
"",
|
"",
|
||||||
"",
|
"",
|
||||||
"",
|
"",
|
||||||
|
"",
|
||||||
""
|
""
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
@@ -228,6 +230,7 @@
|
|||||||
"ACTIVE_ADS_TIER_300K",
|
"ACTIVE_ADS_TIER_300K",
|
||||||
"ACTIVE_ADS_TIER_40K",
|
"ACTIVE_ADS_TIER_40K",
|
||||||
"ACTIVE_ADS_TIER_500K",
|
"ACTIVE_ADS_TIER_500K",
|
||||||
|
"ACTIVE_ADS_TIER_750K",
|
||||||
"ACTIVE_ADS_TIER_75K"
|
"ACTIVE_ADS_TIER_75K"
|
||||||
],
|
],
|
||||||
"enumDescriptions": [
|
"enumDescriptions": [
|
||||||
@@ -236,6 +239,7 @@
|
|||||||
"",
|
"",
|
||||||
"",
|
"",
|
||||||
"",
|
"",
|
||||||
|
"",
|
||||||
""
|
""
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
@@ -545,7 +549,7 @@
|
|||||||
},
|
},
|
||||||
"active": {
|
"active": {
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
"description": "Whether this ad is active."
|
"description": "Whether this ad is active. When true, archived must be false."
|
||||||
},
|
},
|
||||||
"advertiserId": {
|
"advertiserId": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
@@ -558,7 +562,7 @@
|
|||||||
},
|
},
|
||||||
"archived": {
|
"archived": {
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
"description": "Whether this ad is archived."
|
"description": "Whether this ad is archived. When true, active must be false."
|
||||||
},
|
},
|
||||||
"audienceSegmentId": {
|
"audienceSegmentId": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
@@ -1682,7 +1686,7 @@
|
|||||||
},
|
},
|
||||||
"limitAdTracking": {
|
"limitAdTracking": {
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
"description": "Whether the user has Limit Ad Tracking set."
|
"description": "Whether Limit Ad Tracking is enabled. When set to true, the conversion will be used for reporting but not targeting. This will prevent remarketing."
|
||||||
},
|
},
|
||||||
"mobileDeviceId": {
|
"mobileDeviceId": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
@@ -10260,7 +10264,7 @@
|
|||||||
"id": "dfareporting.accountUserProfiles.list",
|
"id": "dfareporting.accountUserProfiles.list",
|
||||||
"path": "userprofiles/{profileId}/accountUserProfiles",
|
"path": "userprofiles/{profileId}/accountUserProfiles",
|
||||||
"httpMethod": "GET",
|
"httpMethod": "GET",
|
||||||
"description": "Retrieves a list of account user profiles, possibly filtered.",
|
"description": "Retrieves a list of account user profiles, possibly filtered. This method supports paging.",
|
||||||
"parameters": {
|
"parameters": {
|
||||||
"active": {
|
"active": {
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
@@ -10448,7 +10452,7 @@
|
|||||||
"id": "dfareporting.accounts.list",
|
"id": "dfareporting.accounts.list",
|
||||||
"path": "userprofiles/{profileId}/accounts",
|
"path": "userprofiles/{profileId}/accounts",
|
||||||
"httpMethod": "GET",
|
"httpMethod": "GET",
|
||||||
"description": "Retrieves the list of accounts, possibly filtered.",
|
"description": "Retrieves the list of accounts, possibly filtered. This method supports paging.",
|
||||||
"parameters": {
|
"parameters": {
|
||||||
"active": {
|
"active": {
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
@@ -10651,7 +10655,7 @@
|
|||||||
"id": "dfareporting.ads.list",
|
"id": "dfareporting.ads.list",
|
||||||
"path": "userprofiles/{profileId}/ads",
|
"path": "userprofiles/{profileId}/ads",
|
||||||
"httpMethod": "GET",
|
"httpMethod": "GET",
|
||||||
"description": "Retrieves a list of ads, possibly filtered.",
|
"description": "Retrieves a list of ads, possibly filtered. This method supports paging.",
|
||||||
"parameters": {
|
"parameters": {
|
||||||
"active": {
|
"active": {
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
@@ -11065,7 +11069,7 @@
|
|||||||
"id": "dfareporting.advertiserGroups.list",
|
"id": "dfareporting.advertiserGroups.list",
|
||||||
"path": "userprofiles/{profileId}/advertiserGroups",
|
"path": "userprofiles/{profileId}/advertiserGroups",
|
||||||
"httpMethod": "GET",
|
"httpMethod": "GET",
|
||||||
"description": "Retrieves a list of advertiser groups, possibly filtered.",
|
"description": "Retrieves a list of advertiser groups, possibly filtered. This method supports paging.",
|
||||||
"parameters": {
|
"parameters": {
|
||||||
"ids": {
|
"ids": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
@@ -11263,7 +11267,7 @@
|
|||||||
"id": "dfareporting.advertisers.list",
|
"id": "dfareporting.advertisers.list",
|
||||||
"path": "userprofiles/{profileId}/advertisers",
|
"path": "userprofiles/{profileId}/advertisers",
|
||||||
"httpMethod": "GET",
|
"httpMethod": "GET",
|
||||||
"description": "Retrieves a list of advertisers, possibly filtered.",
|
"description": "Retrieves a list of advertisers, possibly filtered. This method supports paging.",
|
||||||
"parameters": {
|
"parameters": {
|
||||||
"advertiserGroupIds": {
|
"advertiserGroupIds": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
@@ -11508,7 +11512,7 @@
|
|||||||
"id": "dfareporting.campaignCreativeAssociations.list",
|
"id": "dfareporting.campaignCreativeAssociations.list",
|
||||||
"path": "userprofiles/{profileId}/campaigns/{campaignId}/campaignCreativeAssociations",
|
"path": "userprofiles/{profileId}/campaigns/{campaignId}/campaignCreativeAssociations",
|
||||||
"httpMethod": "GET",
|
"httpMethod": "GET",
|
||||||
"description": "Retrieves the list of creative IDs associated with the specified campaign.",
|
"description": "Retrieves the list of creative IDs associated with the specified campaign. This method supports paging.",
|
||||||
"parameters": {
|
"parameters": {
|
||||||
"campaignId": {
|
"campaignId": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
@@ -11641,7 +11645,7 @@
|
|||||||
"id": "dfareporting.campaigns.list",
|
"id": "dfareporting.campaigns.list",
|
||||||
"path": "userprofiles/{profileId}/campaigns",
|
"path": "userprofiles/{profileId}/campaigns",
|
||||||
"httpMethod": "GET",
|
"httpMethod": "GET",
|
||||||
"description": "Retrieves a list of campaigns, possibly filtered.",
|
"description": "Retrieves a list of campaigns, possibly filtered. This method supports paging.",
|
||||||
"parameters": {
|
"parameters": {
|
||||||
"advertiserGroupIds": {
|
"advertiserGroupIds": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
@@ -11855,7 +11859,7 @@
|
|||||||
"id": "dfareporting.changeLogs.list",
|
"id": "dfareporting.changeLogs.list",
|
||||||
"path": "userprofiles/{profileId}/changeLogs",
|
"path": "userprofiles/{profileId}/changeLogs",
|
||||||
"httpMethod": "GET",
|
"httpMethod": "GET",
|
||||||
"description": "Retrieves a list of change logs.",
|
"description": "Retrieves a list of change logs. This method supports paging.",
|
||||||
"parameters": {
|
"parameters": {
|
||||||
"action": {
|
"action": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
@@ -11966,6 +11970,7 @@
|
|||||||
"OBJECT_REMARKETING_LIST",
|
"OBJECT_REMARKETING_LIST",
|
||||||
"OBJECT_RICHMEDIA_CREATIVE",
|
"OBJECT_RICHMEDIA_CREATIVE",
|
||||||
"OBJECT_SD_SITE",
|
"OBJECT_SD_SITE",
|
||||||
|
"OBJECT_SEARCH_LIFT_STUDY",
|
||||||
"OBJECT_SIZE",
|
"OBJECT_SIZE",
|
||||||
"OBJECT_SUBACCOUNT",
|
"OBJECT_SUBACCOUNT",
|
||||||
"OBJECT_TARGETING_TEMPLATE",
|
"OBJECT_TARGETING_TEMPLATE",
|
||||||
@@ -12011,6 +12016,7 @@
|
|||||||
"",
|
"",
|
||||||
"",
|
"",
|
||||||
"",
|
"",
|
||||||
|
"",
|
||||||
""
|
""
|
||||||
],
|
],
|
||||||
"location": "query"
|
"location": "query"
|
||||||
@@ -12260,7 +12266,7 @@
|
|||||||
"id": "dfareporting.contentCategories.list",
|
"id": "dfareporting.contentCategories.list",
|
||||||
"path": "userprofiles/{profileId}/contentCategories",
|
"path": "userprofiles/{profileId}/contentCategories",
|
||||||
"httpMethod": "GET",
|
"httpMethod": "GET",
|
||||||
"description": "Retrieves a list of content categories, possibly filtered.",
|
"description": "Retrieves a list of content categories, possibly filtered. This method supports paging.",
|
||||||
"parameters": {
|
"parameters": {
|
||||||
"ids": {
|
"ids": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
@@ -12658,7 +12664,7 @@
|
|||||||
"id": "dfareporting.creativeFieldValues.list",
|
"id": "dfareporting.creativeFieldValues.list",
|
||||||
"path": "userprofiles/{profileId}/creativeFields/{creativeFieldId}/creativeFieldValues",
|
"path": "userprofiles/{profileId}/creativeFields/{creativeFieldId}/creativeFieldValues",
|
||||||
"httpMethod": "GET",
|
"httpMethod": "GET",
|
||||||
"description": "Retrieves a list of creative field values, possibly filtered.",
|
"description": "Retrieves a list of creative field values, possibly filtered. This method supports paging.",
|
||||||
"parameters": {
|
"parameters": {
|
||||||
"creativeFieldId": {
|
"creativeFieldId": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
@@ -12909,7 +12915,7 @@
|
|||||||
"id": "dfareporting.creativeFields.list",
|
"id": "dfareporting.creativeFields.list",
|
||||||
"path": "userprofiles/{profileId}/creativeFields",
|
"path": "userprofiles/{profileId}/creativeFields",
|
||||||
"httpMethod": "GET",
|
"httpMethod": "GET",
|
||||||
"description": "Retrieves a list of creative fields, possibly filtered.",
|
"description": "Retrieves a list of creative fields, possibly filtered. This method supports paging.",
|
||||||
"parameters": {
|
"parameters": {
|
||||||
"advertiserIds": {
|
"advertiserIds": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
@@ -13114,7 +13120,7 @@
|
|||||||
"id": "dfareporting.creativeGroups.list",
|
"id": "dfareporting.creativeGroups.list",
|
||||||
"path": "userprofiles/{profileId}/creativeGroups",
|
"path": "userprofiles/{profileId}/creativeGroups",
|
||||||
"httpMethod": "GET",
|
"httpMethod": "GET",
|
||||||
"description": "Retrieves a list of creative groups, possibly filtered.",
|
"description": "Retrieves a list of creative groups, possibly filtered. This method supports paging.",
|
||||||
"parameters": {
|
"parameters": {
|
||||||
"advertiserIds": {
|
"advertiserIds": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
@@ -13325,7 +13331,7 @@
|
|||||||
"id": "dfareporting.creatives.list",
|
"id": "dfareporting.creatives.list",
|
||||||
"path": "userprofiles/{profileId}/creatives",
|
"path": "userprofiles/{profileId}/creatives",
|
||||||
"httpMethod": "GET",
|
"httpMethod": "GET",
|
||||||
"description": "Retrieves a list of creatives, possibly filtered.",
|
"description": "Retrieves a list of creatives, possibly filtered. This method supports paging.",
|
||||||
"parameters": {
|
"parameters": {
|
||||||
"active": {
|
"active": {
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
@@ -13654,7 +13660,7 @@
|
|||||||
"id": "dfareporting.directorySiteContacts.list",
|
"id": "dfareporting.directorySiteContacts.list",
|
||||||
"path": "userprofiles/{profileId}/directorySiteContacts",
|
"path": "userprofiles/{profileId}/directorySiteContacts",
|
||||||
"httpMethod": "GET",
|
"httpMethod": "GET",
|
||||||
"description": "Retrieves a list of directory site contacts, possibly filtered.",
|
"description": "Retrieves a list of directory site contacts, possibly filtered. This method supports paging.",
|
||||||
"parameters": {
|
"parameters": {
|
||||||
"directorySiteIds": {
|
"directorySiteIds": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
@@ -13797,7 +13803,7 @@
|
|||||||
"id": "dfareporting.directorySites.list",
|
"id": "dfareporting.directorySites.list",
|
||||||
"path": "userprofiles/{profileId}/directorySites",
|
"path": "userprofiles/{profileId}/directorySites",
|
||||||
"httpMethod": "GET",
|
"httpMethod": "GET",
|
||||||
"description": "Retrieves a list of directory sites, possibly filtered.",
|
"description": "Retrieves a list of directory sites, possibly filtered. This method supports paging.",
|
||||||
"parameters": {
|
"parameters": {
|
||||||
"acceptsInStreamVideoPlacements": {
|
"acceptsInStreamVideoPlacements": {
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
@@ -14552,7 +14558,7 @@
|
|||||||
"id": "dfareporting.floodlightActivities.list",
|
"id": "dfareporting.floodlightActivities.list",
|
||||||
"path": "userprofiles/{profileId}/floodlightActivities",
|
"path": "userprofiles/{profileId}/floodlightActivities",
|
||||||
"httpMethod": "GET",
|
"httpMethod": "GET",
|
||||||
"description": "Retrieves a list of floodlight activities, possibly filtered.",
|
"description": "Retrieves a list of floodlight activities, possibly filtered. This method supports paging.",
|
||||||
"parameters": {
|
"parameters": {
|
||||||
"advertiserId": {
|
"advertiserId": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
@@ -14797,7 +14803,7 @@
|
|||||||
"id": "dfareporting.floodlightActivityGroups.list",
|
"id": "dfareporting.floodlightActivityGroups.list",
|
||||||
"path": "userprofiles/{profileId}/floodlightActivityGroups",
|
"path": "userprofiles/{profileId}/floodlightActivityGroups",
|
||||||
"httpMethod": "GET",
|
"httpMethod": "GET",
|
||||||
"description": "Retrieves a list of floodlight activity groups, possibly filtered.",
|
"description": "Retrieves a list of floodlight activity groups, possibly filtered. This method supports paging.",
|
||||||
"parameters": {
|
"parameters": {
|
||||||
"advertiserId": {
|
"advertiserId": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
@@ -15130,7 +15136,7 @@
|
|||||||
"id": "dfareporting.inventoryItems.list",
|
"id": "dfareporting.inventoryItems.list",
|
||||||
"path": "userprofiles/{profileId}/projects/{projectId}/inventoryItems",
|
"path": "userprofiles/{profileId}/projects/{projectId}/inventoryItems",
|
||||||
"httpMethod": "GET",
|
"httpMethod": "GET",
|
||||||
"description": "Retrieves a list of inventory items, possibly filtered.",
|
"description": "Retrieves a list of inventory items, possibly filtered. This method supports paging.",
|
||||||
"parameters": {
|
"parameters": {
|
||||||
"ids": {
|
"ids": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
@@ -15744,7 +15750,7 @@
|
|||||||
"id": "dfareporting.orderDocuments.list",
|
"id": "dfareporting.orderDocuments.list",
|
||||||
"path": "userprofiles/{profileId}/projects/{projectId}/orderDocuments",
|
"path": "userprofiles/{profileId}/projects/{projectId}/orderDocuments",
|
||||||
"httpMethod": "GET",
|
"httpMethod": "GET",
|
||||||
"description": "Retrieves a list of order documents, possibly filtered.",
|
"description": "Retrieves a list of order documents, possibly filtered. This method supports paging.",
|
||||||
"parameters": {
|
"parameters": {
|
||||||
"approved": {
|
"approved": {
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
@@ -15888,7 +15894,7 @@
|
|||||||
"id": "dfareporting.orders.list",
|
"id": "dfareporting.orders.list",
|
||||||
"path": "userprofiles/{profileId}/projects/{projectId}/orders",
|
"path": "userprofiles/{profileId}/projects/{projectId}/orders",
|
||||||
"httpMethod": "GET",
|
"httpMethod": "GET",
|
||||||
"description": "Retrieves a list of orders, possibly filtered.",
|
"description": "Retrieves a list of orders, possibly filtered. This method supports paging.",
|
||||||
"parameters": {
|
"parameters": {
|
||||||
"ids": {
|
"ids": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
@@ -16039,7 +16045,7 @@
|
|||||||
"id": "dfareporting.placementGroups.list",
|
"id": "dfareporting.placementGroups.list",
|
||||||
"path": "userprofiles/{profileId}/placementGroups",
|
"path": "userprofiles/{profileId}/placementGroups",
|
||||||
"httpMethod": "GET",
|
"httpMethod": "GET",
|
||||||
"description": "Retrieves a list of placement groups, possibly filtered.",
|
"description": "Retrieves a list of placement groups, possibly filtered. This method supports paging.",
|
||||||
"parameters": {
|
"parameters": {
|
||||||
"advertiserIds": {
|
"advertiserIds": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
@@ -16368,7 +16374,7 @@
|
|||||||
"id": "dfareporting.placementStrategies.list",
|
"id": "dfareporting.placementStrategies.list",
|
||||||
"path": "userprofiles/{profileId}/placementStrategies",
|
"path": "userprofiles/{profileId}/placementStrategies",
|
||||||
"httpMethod": "GET",
|
"httpMethod": "GET",
|
||||||
"description": "Retrieves a list of placement strategies, possibly filtered.",
|
"description": "Retrieves a list of placement strategies, possibly filtered. This method supports paging.",
|
||||||
"parameters": {
|
"parameters": {
|
||||||
"ids": {
|
"ids": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
@@ -16649,7 +16655,7 @@
|
|||||||
"id": "dfareporting.placements.list",
|
"id": "dfareporting.placements.list",
|
||||||
"path": "userprofiles/{profileId}/placements",
|
"path": "userprofiles/{profileId}/placements",
|
||||||
"httpMethod": "GET",
|
"httpMethod": "GET",
|
||||||
"description": "Retrieves a list of placements, possibly filtered.",
|
"description": "Retrieves a list of placements, possibly filtered. This method supports paging.",
|
||||||
"parameters": {
|
"parameters": {
|
||||||
"advertiserIds": {
|
"advertiserIds": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
@@ -17075,7 +17081,7 @@
|
|||||||
"id": "dfareporting.projects.list",
|
"id": "dfareporting.projects.list",
|
||||||
"path": "userprofiles/{profileId}/projects",
|
"path": "userprofiles/{profileId}/projects",
|
||||||
"httpMethod": "GET",
|
"httpMethod": "GET",
|
||||||
"description": "Retrieves a list of projects, possibly filtered.",
|
"description": "Retrieves a list of projects, possibly filtered. This method supports paging.",
|
||||||
"parameters": {
|
"parameters": {
|
||||||
"advertiserIds": {
|
"advertiserIds": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
@@ -17344,7 +17350,7 @@
|
|||||||
"id": "dfareporting.remarketingLists.list",
|
"id": "dfareporting.remarketingLists.list",
|
||||||
"path": "userprofiles/{profileId}/remarketingLists",
|
"path": "userprofiles/{profileId}/remarketingLists",
|
||||||
"httpMethod": "GET",
|
"httpMethod": "GET",
|
||||||
"description": "Retrieves a list of remarketing lists, possibly filtered.",
|
"description": "Retrieves a list of remarketing lists, possibly filtered. This method supports paging.",
|
||||||
"parameters": {
|
"parameters": {
|
||||||
"active": {
|
"active": {
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
@@ -17985,7 +17991,7 @@
|
|||||||
"id": "dfareporting.sites.list",
|
"id": "dfareporting.sites.list",
|
||||||
"path": "userprofiles/{profileId}/sites",
|
"path": "userprofiles/{profileId}/sites",
|
||||||
"httpMethod": "GET",
|
"httpMethod": "GET",
|
||||||
"description": "Retrieves a list of sites, possibly filtered.",
|
"description": "Retrieves a list of sites, possibly filtered. This method supports paging.",
|
||||||
"parameters": {
|
"parameters": {
|
||||||
"acceptsInStreamVideoPlacements": {
|
"acceptsInStreamVideoPlacements": {
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
@@ -18344,7 +18350,7 @@
|
|||||||
"id": "dfareporting.subaccounts.list",
|
"id": "dfareporting.subaccounts.list",
|
||||||
"path": "userprofiles/{profileId}/subaccounts",
|
"path": "userprofiles/{profileId}/subaccounts",
|
||||||
"httpMethod": "GET",
|
"httpMethod": "GET",
|
||||||
"description": "Gets a list of subaccounts, possibly filtered.",
|
"description": "Gets a list of subaccounts, possibly filtered. This method supports paging.",
|
||||||
"parameters": {
|
"parameters": {
|
||||||
"ids": {
|
"ids": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
@@ -18515,7 +18521,7 @@
|
|||||||
"id": "dfareporting.targetableRemarketingLists.list",
|
"id": "dfareporting.targetableRemarketingLists.list",
|
||||||
"path": "userprofiles/{profileId}/targetableRemarketingLists",
|
"path": "userprofiles/{profileId}/targetableRemarketingLists",
|
||||||
"httpMethod": "GET",
|
"httpMethod": "GET",
|
||||||
"description": "Retrieves a list of targetable remarketing lists, possibly filtered.",
|
"description": "Retrieves a list of targetable remarketing lists, possibly filtered. This method supports paging.",
|
||||||
"parameters": {
|
"parameters": {
|
||||||
"active": {
|
"active": {
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
@@ -18657,7 +18663,7 @@
|
|||||||
"id": "dfareporting.targetingTemplates.list",
|
"id": "dfareporting.targetingTemplates.list",
|
||||||
"path": "userprofiles/{profileId}/targetingTemplates",
|
"path": "userprofiles/{profileId}/targetingTemplates",
|
||||||
"httpMethod": "GET",
|
"httpMethod": "GET",
|
||||||
"description": "Retrieves a list of targeting templates, optionally filtered.",
|
"description": "Retrieves a list of targeting templates, optionally filtered. This method supports paging.",
|
||||||
"parameters": {
|
"parameters": {
|
||||||
"advertiserId": {
|
"advertiserId": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
@@ -19059,7 +19065,7 @@
|
|||||||
"id": "dfareporting.userRoles.list",
|
"id": "dfareporting.userRoles.list",
|
||||||
"path": "userprofiles/{profileId}/userRoles",
|
"path": "userprofiles/{profileId}/userRoles",
|
||||||
"httpMethod": "GET",
|
"httpMethod": "GET",
|
||||||
"description": "Retrieves a list of user roles, possibly filtered.",
|
"description": "Retrieves a list of user roles, possibly filtered. This method supports paging.",
|
||||||
"parameters": {
|
"parameters": {
|
||||||
"accountUserRoleOnly": {
|
"accountUserRoleOnly": {
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
|
|||||||
19439
etc/api/dfareporting/v2.7/dfareporting-api.json
Normal file
19439
etc/api/dfareporting/v2.7/dfareporting-api.json
Normal file
File diff suppressed because it is too large
Load Diff
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"kind": "discovery#restDescription",
|
"kind": "discovery#restDescription",
|
||||||
"etag": "\"C5oy1hgQsABtYOYIOXWcR3BgYqU/Pyg0A4J33Dq212hoe9BYpSm0dl4\"",
|
"etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/Pyg0A4J33Dq212hoe9BYpSm0dl4\"",
|
||||||
"discoveryVersion": "v1",
|
"discoveryVersion": "v1",
|
||||||
"id": "discovery:v1",
|
"id": "discovery:v1",
|
||||||
"name": "discovery",
|
"name": "discovery",
|
||||||
|
|||||||
@@ -1,18 +1,18 @@
|
|||||||
{
|
{
|
||||||
"kind": "discovery#restDescription",
|
"kind": "discovery#restDescription",
|
||||||
"etag": "\"C5oy1hgQsABtYOYIOXWcR3BgYqU/NTmeGmyi7CpprG1xT8MLokjrTP8\"",
|
"etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/kZhVBEml6IgIs86-wixFuVP5H9c\"",
|
||||||
"discoveryVersion": "v1",
|
"discoveryVersion": "v1",
|
||||||
"id": "dns:v1",
|
"id": "dns:v1",
|
||||||
"name": "dns",
|
"name": "dns",
|
||||||
"version": "v1",
|
"version": "v1",
|
||||||
"revision": "20160825",
|
"revision": "20161130",
|
||||||
"title": "Google Cloud DNS API",
|
"title": "Google Cloud DNS API",
|
||||||
"description": "Configures and serves authoritative DNS records.",
|
"description": "Configures and serves authoritative DNS records.",
|
||||||
"ownerDomain": "google.com",
|
"ownerDomain": "google.com",
|
||||||
"ownerName": "Google",
|
"ownerName": "Google",
|
||||||
"icons": {
|
"icons": {
|
||||||
"x16": "http://www.google.com/images/icons/product/search-16.gif",
|
"x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png",
|
||||||
"x32": "http://www.google.com/images/icons/product/search-32.gif"
|
"x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png"
|
||||||
},
|
},
|
||||||
"documentationLink": "https://developers.google.com/cloud-dns",
|
"documentationLink": "https://developers.google.com/cloud-dns",
|
||||||
"protocol": "rest",
|
"protocol": "rest",
|
||||||
|
|||||||
@@ -1,18 +1,18 @@
|
|||||||
{
|
{
|
||||||
"kind": "discovery#restDescription",
|
"kind": "discovery#restDescription",
|
||||||
"etag": "\"C5oy1hgQsABtYOYIOXWcR3BgYqU/PQ71CNC0zbDU3bik-BkiSGiNtVU\"",
|
"etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/VNWoCHk2DTUctXjZhpj19vf2iTM\"",
|
||||||
"discoveryVersion": "v1",
|
"discoveryVersion": "v1",
|
||||||
"id": "dns:v2beta1",
|
"id": "dns:v2beta1",
|
||||||
"name": "dns",
|
"name": "dns",
|
||||||
"version": "v2beta1",
|
"version": "v2beta1",
|
||||||
"revision": "20160825",
|
"revision": "20161130",
|
||||||
"title": "Google Cloud DNS API",
|
"title": "Google Cloud DNS API",
|
||||||
"description": "Configures and serves authoritative DNS records.",
|
"description": "Configures and serves authoritative DNS records.",
|
||||||
"ownerDomain": "google.com",
|
"ownerDomain": "google.com",
|
||||||
"ownerName": "Google",
|
"ownerName": "Google",
|
||||||
"icons": {
|
"icons": {
|
||||||
"x16": "http://www.google.com/images/icons/product/search-16.gif",
|
"x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png",
|
||||||
"x32": "http://www.google.com/images/icons/product/search-32.gif"
|
"x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png"
|
||||||
},
|
},
|
||||||
"documentationLink": "https://developers.google.com/cloud-dns",
|
"documentationLink": "https://developers.google.com/cloud-dns",
|
||||||
"protocol": "rest",
|
"protocol": "rest",
|
||||||
@@ -869,10 +869,10 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"dnskeys": {
|
"dnsKeys": {
|
||||||
"methods": {
|
"methods": {
|
||||||
"get": {
|
"get": {
|
||||||
"id": "dns.dnskeys.get",
|
"id": "dns.dnsKeys.get",
|
||||||
"path": "{project}/managedZones/{managedZone}/dnsKeys/{dnsKeyId}",
|
"path": "{project}/managedZones/{managedZone}/dnsKeys/{dnsKeyId}",
|
||||||
"httpMethod": "GET",
|
"httpMethod": "GET",
|
||||||
"description": "Fetch the representation of an existing DnsKey.",
|
"description": "Fetch the representation of an existing DnsKey.",
|
||||||
@@ -922,7 +922,7 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"list": {
|
"list": {
|
||||||
"id": "dns.dnskeys.list",
|
"id": "dns.dnsKeys.list",
|
||||||
"path": "{project}/managedZones/{managedZone}/dnsKeys",
|
"path": "{project}/managedZones/{managedZone}/dnsKeys",
|
||||||
"httpMethod": "GET",
|
"httpMethod": "GET",
|
||||||
"description": "Enumerate DnsKeys to a ResourceRecordSet collection.",
|
"description": "Enumerate DnsKeys to a ResourceRecordSet collection.",
|
||||||
|
|||||||
@@ -1,19 +1,19 @@
|
|||||||
{
|
{
|
||||||
"kind": "discovery#restDescription",
|
"kind": "discovery#restDescription",
|
||||||
"etag": "\"C5oy1hgQsABtYOYIOXWcR3BgYqU/APNHThgbF23N6qKTgbCZClI5UfQ\"",
|
"etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/xZhMuyiLnKVSMmQ3sSqyBn6nxs0\"",
|
||||||
"discoveryVersion": "v1",
|
"discoveryVersion": "v1",
|
||||||
"id": "doubleclickbidmanager:v1",
|
"id": "doubleclickbidmanager:v1",
|
||||||
"name": "doubleclickbidmanager",
|
"name": "doubleclickbidmanager",
|
||||||
"canonicalName": "DoubleClick Bid Manager",
|
"canonicalName": "DoubleClick Bid Manager",
|
||||||
"version": "v1",
|
"version": "v1",
|
||||||
"revision": "20160608",
|
"revision": "20161010",
|
||||||
"title": "DoubleClick Bid Manager API",
|
"title": "DoubleClick Bid Manager API",
|
||||||
"description": "API for viewing and managing your reports in DoubleClick Bid Manager.",
|
"description": "API for viewing and managing your reports in DoubleClick Bid Manager.",
|
||||||
"ownerDomain": "google.com",
|
"ownerDomain": "google.com",
|
||||||
"ownerName": "Google",
|
"ownerName": "Google",
|
||||||
"icons": {
|
"icons": {
|
||||||
"x16": "http://www.google.com/images/icons/product/search-16.gif",
|
"x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png",
|
||||||
"x32": "http://www.google.com/images/icons/product/search-32.gif"
|
"x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png"
|
||||||
},
|
},
|
||||||
"documentationLink": "https://developers.google.com/bid-manager/",
|
"documentationLink": "https://developers.google.com/bid-manager/",
|
||||||
"labels": [
|
"labels": [
|
||||||
@@ -133,6 +133,81 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"DownloadRequest": {
|
||||||
|
"id": "DownloadRequest",
|
||||||
|
"type": "object",
|
||||||
|
"description": "Request to fetch stored insertion orders, line items, TrueView ad groups and ads.",
|
||||||
|
"properties": {
|
||||||
|
"fileTypes": {
|
||||||
|
"type": "array",
|
||||||
|
"description": "File types that will be returned.",
|
||||||
|
"items": {
|
||||||
|
"type": "string",
|
||||||
|
"enum": [
|
||||||
|
"AD",
|
||||||
|
"AD_GROUP",
|
||||||
|
"INSERTION_ORDER",
|
||||||
|
"LINE_ITEM"
|
||||||
|
],
|
||||||
|
"enumDescriptions": [
|
||||||
|
"",
|
||||||
|
"",
|
||||||
|
"",
|
||||||
|
""
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"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.",
|
||||||
|
"items": {
|
||||||
|
"type": "string",
|
||||||
|
"format": "int64"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"filterType": {
|
||||||
|
"type": "string",
|
||||||
|
"description": "Filter type used to filter line items to fetch.",
|
||||||
|
"enum": [
|
||||||
|
"ADVERTISER_ID",
|
||||||
|
"INSERTION_ORDER_ID",
|
||||||
|
"LINE_ITEM_ID"
|
||||||
|
],
|
||||||
|
"enumDescriptions": [
|
||||||
|
"",
|
||||||
|
"",
|
||||||
|
""
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"version": {
|
||||||
|
"type": "string",
|
||||||
|
"description": "SDF Version (column names, types, order) in which the entities will be returned. Default to 3."
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"DownloadResponse": {
|
||||||
|
"id": "DownloadResponse",
|
||||||
|
"type": "object",
|
||||||
|
"description": "Download response.",
|
||||||
|
"properties": {
|
||||||
|
"adGroups": {
|
||||||
|
"type": "string",
|
||||||
|
"description": "Retrieved ad groups in SDF format."
|
||||||
|
},
|
||||||
|
"ads": {
|
||||||
|
"type": "string",
|
||||||
|
"description": "Retrieved ads in SDF format."
|
||||||
|
},
|
||||||
|
"insertionOrders": {
|
||||||
|
"type": "string",
|
||||||
|
"description": "Retrieved insertion orders in SDF format."
|
||||||
|
},
|
||||||
|
"lineItems": {
|
||||||
|
"type": "string",
|
||||||
|
"description": "Retrieved line items in SDF format."
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
"FilterPair": {
|
"FilterPair": {
|
||||||
"id": "FilterPair",
|
"id": "FilterPair",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
@@ -179,6 +254,7 @@
|
|||||||
"FILTER_LINE_ITEM_DAILY_FREQUENCY",
|
"FILTER_LINE_ITEM_DAILY_FREQUENCY",
|
||||||
"FILTER_LINE_ITEM_LIFETIME_FREQUENCY",
|
"FILTER_LINE_ITEM_LIFETIME_FREQUENCY",
|
||||||
"FILTER_LINE_ITEM_TYPE",
|
"FILTER_LINE_ITEM_TYPE",
|
||||||
|
"FILTER_MEDIA_PLAN",
|
||||||
"FILTER_MOBILE_DEVICE_MAKE",
|
"FILTER_MOBILE_DEVICE_MAKE",
|
||||||
"FILTER_MOBILE_DEVICE_MAKE_MODEL",
|
"FILTER_MOBILE_DEVICE_MAKE_MODEL",
|
||||||
"FILTER_MOBILE_DEVICE_TYPE",
|
"FILTER_MOBILE_DEVICE_TYPE",
|
||||||
@@ -189,6 +265,7 @@
|
|||||||
"FILTER_NIELSEN_COUNTRY_CODE",
|
"FILTER_NIELSEN_COUNTRY_CODE",
|
||||||
"FILTER_NIELSEN_DEVICE_ID",
|
"FILTER_NIELSEN_DEVICE_ID",
|
||||||
"FILTER_NIELSEN_GENDER",
|
"FILTER_NIELSEN_GENDER",
|
||||||
|
"FILTER_NOT_SUPPORTED",
|
||||||
"FILTER_ORDER_ID",
|
"FILTER_ORDER_ID",
|
||||||
"FILTER_OS",
|
"FILTER_OS",
|
||||||
"FILTER_PAGE_CATEGORY",
|
"FILTER_PAGE_CATEGORY",
|
||||||
@@ -224,6 +301,8 @@
|
|||||||
"FILTER_TRUEVIEW_IAR_REGION",
|
"FILTER_TRUEVIEW_IAR_REGION",
|
||||||
"FILTER_TRUEVIEW_IAR_REMARKETING_LIST",
|
"FILTER_TRUEVIEW_IAR_REMARKETING_LIST",
|
||||||
"FILTER_TRUEVIEW_IAR_TIME_OF_DAY",
|
"FILTER_TRUEVIEW_IAR_TIME_OF_DAY",
|
||||||
|
"FILTER_TRUEVIEW_IAR_YOUTUBE_CHANNEL",
|
||||||
|
"FILTER_TRUEVIEW_IAR_YOUTUBE_VIDEO",
|
||||||
"FILTER_TRUEVIEW_IAR_ZIPCODE",
|
"FILTER_TRUEVIEW_IAR_ZIPCODE",
|
||||||
"FILTER_TRUEVIEW_INTEREST",
|
"FILTER_TRUEVIEW_INTEREST",
|
||||||
"FILTER_TRUEVIEW_KEYWORD",
|
"FILTER_TRUEVIEW_KEYWORD",
|
||||||
@@ -365,6 +444,10 @@
|
|||||||
"",
|
"",
|
||||||
"",
|
"",
|
||||||
"",
|
"",
|
||||||
|
"",
|
||||||
|
"",
|
||||||
|
"",
|
||||||
|
"",
|
||||||
""
|
""
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
@@ -412,65 +495,6 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"Note": {
|
|
||||||
"id": "Note",
|
|
||||||
"type": "object",
|
|
||||||
"description": "Publisher comment from Rubicon.",
|
|
||||||
"properties": {
|
|
||||||
"id": {
|
|
||||||
"type": "string",
|
|
||||||
"description": "Note id.",
|
|
||||||
"format": "int64"
|
|
||||||
},
|
|
||||||
"message": {
|
|
||||||
"type": "string",
|
|
||||||
"description": "Message from publisher."
|
|
||||||
},
|
|
||||||
"source": {
|
|
||||||
"type": "string",
|
|
||||||
"description": "Equals \"publisher\" for notification from Rubicon."
|
|
||||||
},
|
|
||||||
"timestamp": {
|
|
||||||
"type": "string",
|
|
||||||
"description": "Time when the note was added, e.g. \"2015-12-16T17:25:35.000-08:00\"."
|
|
||||||
},
|
|
||||||
"username": {
|
|
||||||
"type": "string",
|
|
||||||
"description": "Publisher user name."
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"NotifyProposalChangeRequest": {
|
|
||||||
"id": "NotifyProposalChangeRequest",
|
|
||||||
"type": "object",
|
|
||||||
"description": "NotifyProposalChange request.",
|
|
||||||
"properties": {
|
|
||||||
"action": {
|
|
||||||
"type": "string",
|
|
||||||
"description": "Action taken by publisher. One of: Accept, Decline, Append"
|
|
||||||
},
|
|
||||||
"href": {
|
|
||||||
"type": "string",
|
|
||||||
"description": "URL to access proposal detail."
|
|
||||||
},
|
|
||||||
"id": {
|
|
||||||
"type": "string",
|
|
||||||
"description": "Below are contents of notification from Rubicon. Proposal id.",
|
|
||||||
"format": "int64"
|
|
||||||
},
|
|
||||||
"notes": {
|
|
||||||
"type": "array",
|
|
||||||
"description": "Notes from publisher",
|
|
||||||
"items": {
|
|
||||||
"$ref": "Note"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"token": {
|
|
||||||
"type": "string",
|
|
||||||
"description": "Deal token, available when proposal is accepted by publisher."
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"Parameters": {
|
"Parameters": {
|
||||||
"id": "Parameters",
|
"id": "Parameters",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
@@ -526,6 +550,7 @@
|
|||||||
"FILTER_LINE_ITEM_DAILY_FREQUENCY",
|
"FILTER_LINE_ITEM_DAILY_FREQUENCY",
|
||||||
"FILTER_LINE_ITEM_LIFETIME_FREQUENCY",
|
"FILTER_LINE_ITEM_LIFETIME_FREQUENCY",
|
||||||
"FILTER_LINE_ITEM_TYPE",
|
"FILTER_LINE_ITEM_TYPE",
|
||||||
|
"FILTER_MEDIA_PLAN",
|
||||||
"FILTER_MOBILE_DEVICE_MAKE",
|
"FILTER_MOBILE_DEVICE_MAKE",
|
||||||
"FILTER_MOBILE_DEVICE_MAKE_MODEL",
|
"FILTER_MOBILE_DEVICE_MAKE_MODEL",
|
||||||
"FILTER_MOBILE_DEVICE_TYPE",
|
"FILTER_MOBILE_DEVICE_TYPE",
|
||||||
@@ -536,6 +561,7 @@
|
|||||||
"FILTER_NIELSEN_COUNTRY_CODE",
|
"FILTER_NIELSEN_COUNTRY_CODE",
|
||||||
"FILTER_NIELSEN_DEVICE_ID",
|
"FILTER_NIELSEN_DEVICE_ID",
|
||||||
"FILTER_NIELSEN_GENDER",
|
"FILTER_NIELSEN_GENDER",
|
||||||
|
"FILTER_NOT_SUPPORTED",
|
||||||
"FILTER_ORDER_ID",
|
"FILTER_ORDER_ID",
|
||||||
"FILTER_OS",
|
"FILTER_OS",
|
||||||
"FILTER_PAGE_CATEGORY",
|
"FILTER_PAGE_CATEGORY",
|
||||||
@@ -571,6 +597,8 @@
|
|||||||
"FILTER_TRUEVIEW_IAR_REGION",
|
"FILTER_TRUEVIEW_IAR_REGION",
|
||||||
"FILTER_TRUEVIEW_IAR_REMARKETING_LIST",
|
"FILTER_TRUEVIEW_IAR_REMARKETING_LIST",
|
||||||
"FILTER_TRUEVIEW_IAR_TIME_OF_DAY",
|
"FILTER_TRUEVIEW_IAR_TIME_OF_DAY",
|
||||||
|
"FILTER_TRUEVIEW_IAR_YOUTUBE_CHANNEL",
|
||||||
|
"FILTER_TRUEVIEW_IAR_YOUTUBE_VIDEO",
|
||||||
"FILTER_TRUEVIEW_IAR_ZIPCODE",
|
"FILTER_TRUEVIEW_IAR_ZIPCODE",
|
||||||
"FILTER_TRUEVIEW_INTEREST",
|
"FILTER_TRUEVIEW_INTEREST",
|
||||||
"FILTER_TRUEVIEW_KEYWORD",
|
"FILTER_TRUEVIEW_KEYWORD",
|
||||||
@@ -712,6 +740,10 @@
|
|||||||
"",
|
"",
|
||||||
"",
|
"",
|
||||||
"",
|
"",
|
||||||
|
"",
|
||||||
|
"",
|
||||||
|
"",
|
||||||
|
"",
|
||||||
""
|
""
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
@@ -726,6 +758,17 @@
|
|||||||
"items": {
|
"items": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"enum": [
|
"enum": [
|
||||||
|
"METRIC_ACTIVE_VIEW_AVERAGE_VIEWABLE_TIME",
|
||||||
|
"METRIC_ACTIVE_VIEW_DISTRIBUTION_UNMEASURABLE",
|
||||||
|
"METRIC_ACTIVE_VIEW_DISTRIBUTION_UNVIEWABLE",
|
||||||
|
"METRIC_ACTIVE_VIEW_DISTRIBUTION_VIEWABLE",
|
||||||
|
"METRIC_ACTIVE_VIEW_ELIGIBLE_IMPRESSIONS",
|
||||||
|
"METRIC_ACTIVE_VIEW_MEASURABLE_IMPRESSIONS",
|
||||||
|
"METRIC_ACTIVE_VIEW_PCT_MEASURABLE_IMPRESSIONS",
|
||||||
|
"METRIC_ACTIVE_VIEW_PCT_VIEWABLE_IMPRESSIONS",
|
||||||
|
"METRIC_ACTIVE_VIEW_UNMEASURABLE_IMPRESSIONS",
|
||||||
|
"METRIC_ACTIVE_VIEW_UNVIEWABLE_IMPRESSIONS",
|
||||||
|
"METRIC_ACTIVE_VIEW_VIEWABLE_IMPRESSIONS",
|
||||||
"METRIC_BID_REQUESTS",
|
"METRIC_BID_REQUESTS",
|
||||||
"METRIC_BILLABLE_COST_ADVERTISER",
|
"METRIC_BILLABLE_COST_ADVERTISER",
|
||||||
"METRIC_BILLABLE_COST_PARTNER",
|
"METRIC_BILLABLE_COST_PARTNER",
|
||||||
@@ -1283,6 +1326,17 @@
|
|||||||
"",
|
"",
|
||||||
"",
|
"",
|
||||||
"",
|
"",
|
||||||
|
"",
|
||||||
|
"",
|
||||||
|
"",
|
||||||
|
"",
|
||||||
|
"",
|
||||||
|
"",
|
||||||
|
"",
|
||||||
|
"",
|
||||||
|
"",
|
||||||
|
"",
|
||||||
|
"",
|
||||||
""
|
""
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
@@ -2005,15 +2059,18 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"rubicon": {
|
"sdf": {
|
||||||
"methods": {
|
"methods": {
|
||||||
"notifyproposalchange": {
|
"download": {
|
||||||
"id": "doubleclickbidmanager.rubicon.notifyproposalchange",
|
"id": "doubleclickbidmanager.sdf.download",
|
||||||
"path": "rubicon/notifyproposalchange",
|
"path": "sdf/download",
|
||||||
"httpMethod": "POST",
|
"httpMethod": "POST",
|
||||||
"description": "Update proposal upon actions of Rubicon publisher.",
|
"description": "Retrieves entities in SDF format.",
|
||||||
"request": {
|
"request": {
|
||||||
"$ref": "NotifyProposalChangeRequest"
|
"$ref": "DownloadRequest"
|
||||||
|
},
|
||||||
|
"response": {
|
||||||
|
"$ref": "DownloadResponse"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,18 +1,18 @@
|
|||||||
{
|
{
|
||||||
"kind": "discovery#restDescription",
|
"kind": "discovery#restDescription",
|
||||||
"etag": "\"C5oy1hgQsABtYOYIOXWcR3BgYqU/3EpE7K-TIr-3D232nGx3ph-P87g\"",
|
"etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/HRuJCCIlMtHocq2WCX0lbnhTmso\"",
|
||||||
"discoveryVersion": "v1",
|
"discoveryVersion": "v1",
|
||||||
"id": "doubleclicksearch:v2",
|
"id": "doubleclicksearch:v2",
|
||||||
"name": "doubleclicksearch",
|
"name": "doubleclicksearch",
|
||||||
"version": "v2",
|
"version": "v2",
|
||||||
"revision": "20160831",
|
"revision": "20161108",
|
||||||
"title": "DoubleClick Search API",
|
"title": "DoubleClick Search API",
|
||||||
"description": "Reports and modifies your advertising data in DoubleClick Search (for example, campaigns, ad groups, keywords, and conversions).",
|
"description": "Reports and modifies your advertising data in DoubleClick Search (for example, campaigns, ad groups, keywords, and conversions).",
|
||||||
"ownerDomain": "google.com",
|
"ownerDomain": "google.com",
|
||||||
"ownerName": "Google",
|
"ownerName": "Google",
|
||||||
"icons": {
|
"icons": {
|
||||||
"x16": "http://www.google.com/images/icons/product/search-16.gif",
|
"x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png",
|
||||||
"x32": "http://www.google.com/images/icons/product/search-32.gif"
|
"x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png"
|
||||||
},
|
},
|
||||||
"documentationLink": "https://developers.google.com/doubleclick-search/",
|
"documentationLink": "https://developers.google.com/doubleclick-search/",
|
||||||
"protocol": "rest",
|
"protocol": "rest",
|
||||||
|
|||||||
@@ -1,11 +1,11 @@
|
|||||||
{
|
{
|
||||||
"kind": "discovery#restDescription",
|
"kind": "discovery#restDescription",
|
||||||
"etag": "\"C5oy1hgQsABtYOYIOXWcR3BgYqU/PDe69Eq2j9-xpzST6tMQ5MRPx_I\"",
|
"etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/W9mfjzQR1RkzHwNqZlCoG9HjWHE\"",
|
||||||
"discoveryVersion": "v1",
|
"discoveryVersion": "v1",
|
||||||
"id": "drive:v2",
|
"id": "drive:v2",
|
||||||
"name": "drive",
|
"name": "drive",
|
||||||
"version": "v2",
|
"version": "v2",
|
||||||
"revision": "20160901",
|
"revision": "20161212",
|
||||||
"title": "Drive API",
|
"title": "Drive API",
|
||||||
"description": "Manages files in Drive including uploading, downloading, searching, detecting changes, and updating sharing permissions.",
|
"description": "Manages files in Drive including uploading, downloading, searching, detecting changes, and updating sharing permissions.",
|
||||||
"ownerDomain": "google.com",
|
"ownerDomain": "google.com",
|
||||||
@@ -963,6 +963,10 @@
|
|||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "The full file extension; extracted from the title. May contain multiple concatenated extensions, such as \"tar.gz\". Removing an extension from the title does not clear this field; however, changing the extension on the title does update this field. This field is only populated for files with content stored in Drive; it is not populated for Google Docs or shortcut files."
|
"description": "The full file extension; extracted from the title. May contain multiple concatenated extensions, such as \"tar.gz\". Removing an extension from the title does not clear this field; however, changing the extension on the title does update this field. This field is only populated for files with content stored in Drive; it is not populated for Google Docs or shortcut files."
|
||||||
},
|
},
|
||||||
|
"hasThumbnail": {
|
||||||
|
"type": "boolean",
|
||||||
|
"description": "Whether this file has a thumbnail."
|
||||||
|
},
|
||||||
"headRevisionId": {
|
"headRevisionId": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "The ID of the file's head revision. This field is only populated for files with content stored in Drive; it is not populated for Google Docs or shortcut files."
|
"description": "The ID of the file's head revision. This field is only populated for files with content stored in Drive; it is not populated for Google Docs or shortcut files."
|
||||||
@@ -1119,6 +1123,10 @@
|
|||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
"description": "Deprecated."
|
"description": "Deprecated."
|
||||||
},
|
},
|
||||||
|
"modified": {
|
||||||
|
"type": "boolean",
|
||||||
|
"description": "Whether the file has been modified by this user."
|
||||||
|
},
|
||||||
"restricted": {
|
"restricted": {
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
"description": "Whether viewers and commenters are prevented from downloading, printing, and copying this file."
|
"description": "Whether viewers and commenters are prevented from downloading, printing, and copying this file."
|
||||||
@@ -1258,7 +1266,7 @@
|
|||||||
},
|
},
|
||||||
"thumbnail": {
|
"thumbnail": {
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"description": "Thumbnail for the file. Only accepted on upload and for files that are not already thumbnailed by Google.",
|
"description": "A thumbnail for the file. This will only be used if Drive cannot generate a standard thumbnail.",
|
||||||
"properties": {
|
"properties": {
|
||||||
"image": {
|
"image": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
@@ -1273,7 +1281,12 @@
|
|||||||
},
|
},
|
||||||
"thumbnailLink": {
|
"thumbnailLink": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "A short-lived link to the file's thumbnail. Typically lasts on the order of hours."
|
"description": "A short-lived link to the file's thumbnail. Typically lasts on the order of hours. Only populated when the requesting app can access the file's content."
|
||||||
|
},
|
||||||
|
"thumbnailVersion": {
|
||||||
|
"type": "string",
|
||||||
|
"description": "The thumbnail version for use in client-contructable thumbnail URLs or thumbnail cache invalidation.",
|
||||||
|
"format": "int64"
|
||||||
},
|
},
|
||||||
"title": {
|
"title": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
@@ -1476,7 +1489,7 @@
|
|||||||
},
|
},
|
||||||
"id": {
|
"id": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "The ID of the user this permission refers to, and identical to the permissionId in the About and Files resources. When making a drive.permissions.insert request, exactly one of the id or value fields must be specified unless the permission type anyone, in which case both id and value are ignored."
|
"description": "The ID of the user this permission refers to, and identical to the permissionId in the About and Files resources. When making a drive.permissions.insert request, exactly one of the id or value fields must be specified unless the permission type is anyone, in which case both id and value are ignored."
|
||||||
},
|
},
|
||||||
"kind": {
|
"kind": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
@@ -1515,7 +1528,7 @@
|
|||||||
},
|
},
|
||||||
"value": {
|
"value": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "The email address or domain name for the entity. This is used during inserts and is not populated in responses. When making a drive.permissions.insert request, exactly one of the id or value fields must be specified unless the permission type anyone, in which case both id and value are ignored."
|
"description": "The email address or domain name for the entity. This is used during inserts and is not populated in responses. When making a drive.permissions.insert request, exactly one of the id or value fields must be specified unless the permission type is anyone, in which case both id and value are ignored."
|
||||||
},
|
},
|
||||||
"withLink": {
|
"withLink": {
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
@@ -1732,6 +1745,10 @@
|
|||||||
"description": "This is always drive#revisionList.",
|
"description": "This is always drive#revisionList.",
|
||||||
"default": "drive#revisionList"
|
"default": "drive#revisionList"
|
||||||
},
|
},
|
||||||
|
"nextPageToken": {
|
||||||
|
"type": "string",
|
||||||
|
"description": "The page token for the next page of revisions. This field will be absent if the end of the revisions list has been reached. If the token is rejected for any reason, it should be discarded and pagination should be restarted from the first page of results."
|
||||||
|
},
|
||||||
"selfLink": {
|
"selfLink": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "A link back to this list."
|
"description": "A link back to this list."
|
||||||
@@ -4238,6 +4255,20 @@
|
|||||||
"description": "The ID of the file.",
|
"description": "The ID of the file.",
|
||||||
"required": true,
|
"required": true,
|
||||||
"location": "path"
|
"location": "path"
|
||||||
|
},
|
||||||
|
"maxResults": {
|
||||||
|
"type": "integer",
|
||||||
|
"description": "Maximum number of revisions to return.",
|
||||||
|
"default": "200",
|
||||||
|
"format": "int32",
|
||||||
|
"minimum": "1",
|
||||||
|
"maximum": "1000",
|
||||||
|
"location": "query"
|
||||||
|
},
|
||||||
|
"pageToken": {
|
||||||
|
"type": "string",
|
||||||
|
"description": "Page token for revisions. To get the next page of results, set this parameter to the value of \"nextPageToken\" from the previous response.",
|
||||||
|
"location": "query"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"parameterOrder": [
|
"parameterOrder": [
|
||||||
|
|||||||
@@ -1,11 +1,11 @@
|
|||||||
{
|
{
|
||||||
"kind": "discovery#restDescription",
|
"kind": "discovery#restDescription",
|
||||||
"etag": "\"C5oy1hgQsABtYOYIOXWcR3BgYqU/b4mg2dvgTW9WKWXzE5c-R5m9Ggc\"",
|
"etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/4kaUogU191OXLH6MjJOHkd-Z-o8\"",
|
||||||
"discoveryVersion": "v1",
|
"discoveryVersion": "v1",
|
||||||
"id": "drive:v3",
|
"id": "drive:v3",
|
||||||
"name": "drive",
|
"name": "drive",
|
||||||
"version": "v3",
|
"version": "v3",
|
||||||
"revision": "20160901",
|
"revision": "20161212",
|
||||||
"title": "Drive API",
|
"title": "Drive API",
|
||||||
"description": "Manages files in Drive including uploading, downloading, searching, detecting changes, and updating sharing permissions.",
|
"description": "Manages files in Drive including uploading, downloading, searching, detecting changes, and updating sharing permissions.",
|
||||||
"ownerDomain": "google.com",
|
"ownerDomain": "google.com",
|
||||||
@@ -480,6 +480,10 @@
|
|||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "The full file extension extracted from the name field. May contain multiple concatenated extensions, such as \"tar.gz\". This is only available for files with binary content in Drive.\nThis is automatically updated when the name field changes, however it is not cleared if the new name does not contain a valid extension."
|
"description": "The full file extension extracted from the name field. May contain multiple concatenated extensions, such as \"tar.gz\". This is only available for files with binary content in Drive.\nThis is automatically updated when the name field changes, however it is not cleared if the new name does not contain a valid extension."
|
||||||
},
|
},
|
||||||
|
"hasThumbnail": {
|
||||||
|
"type": "boolean",
|
||||||
|
"description": "Whether this file has a thumbnail."
|
||||||
|
},
|
||||||
"headRevisionId": {
|
"headRevisionId": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "The ID of the file's head revision. This is currently only available for files with binary content in Drive."
|
"description": "The ID of the file's head revision. This is currently only available for files with binary content in Drive."
|
||||||
@@ -630,6 +634,10 @@
|
|||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "The MIME type of the file.\nDrive will attempt to automatically detect an appropriate value from uploaded content if no value is provided. The value cannot be changed unless a new revision is uploaded.\nIf a file is created with a Google Doc MIME type, the uploaded content will be imported if possible. The supported import formats are published in the About resource."
|
"description": "The MIME type of the file.\nDrive will attempt to automatically detect an appropriate value from uploaded content if no value is provided. The value cannot be changed unless a new revision is uploaded.\nIf a file is created with a Google Doc MIME type, the uploaded content will be imported if possible. The supported import formats are published in the About resource."
|
||||||
},
|
},
|
||||||
|
"modifiedByMe": {
|
||||||
|
"type": "boolean",
|
||||||
|
"description": "Whether the file has been modified by this user."
|
||||||
|
},
|
||||||
"modifiedByMeTime": {
|
"modifiedByMeTime": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "The last time the file was modified by the user (RFC 3339 date-time).",
|
"description": "The last time the file was modified by the user (RFC 3339 date-time).",
|
||||||
@@ -716,7 +724,12 @@
|
|||||||
},
|
},
|
||||||
"thumbnailLink": {
|
"thumbnailLink": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "A short-lived link to the file's thumbnail, if available. Typically lasts on the order of hours."
|
"description": "A short-lived link to the file's thumbnail, if available. Typically lasts on the order of hours. Only populated when the requesting app can access the file's content."
|
||||||
|
},
|
||||||
|
"thumbnailVersion": {
|
||||||
|
"type": "string",
|
||||||
|
"description": "The thumbnail version for use in client-contructable thumbnail URLs or thumbnail cache invalidation.",
|
||||||
|
"format": "int64"
|
||||||
},
|
},
|
||||||
"trashed": {
|
"trashed": {
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
@@ -1041,6 +1054,10 @@
|
|||||||
"description": "Identifies what kind of resource this is. Value: the fixed string \"drive#revisionList\".",
|
"description": "Identifies what kind of resource this is. Value: the fixed string \"drive#revisionList\".",
|
||||||
"default": "drive#revisionList"
|
"default": "drive#revisionList"
|
||||||
},
|
},
|
||||||
|
"nextPageToken": {
|
||||||
|
"type": "string",
|
||||||
|
"description": "The page token for the next page of revisions. This will be absent if the end of the revisions list has been reached."
|
||||||
|
},
|
||||||
"revisions": {
|
"revisions": {
|
||||||
"type": "array",
|
"type": "array",
|
||||||
"description": "The full list of revisions.",
|
"description": "The full list of revisions.",
|
||||||
@@ -2366,6 +2383,20 @@
|
|||||||
"description": "The ID of the file.",
|
"description": "The ID of the file.",
|
||||||
"required": true,
|
"required": true,
|
||||||
"location": "path"
|
"location": "path"
|
||||||
|
},
|
||||||
|
"pageSize": {
|
||||||
|
"type": "integer",
|
||||||
|
"description": "The maximum number of revisions to return per page.",
|
||||||
|
"default": "200",
|
||||||
|
"format": "int32",
|
||||||
|
"minimum": "1",
|
||||||
|
"maximum": "1000",
|
||||||
|
"location": "query"
|
||||||
|
},
|
||||||
|
"pageToken": {
|
||||||
|
"type": "string",
|
||||||
|
"description": "The token for continuing a previous list request on the next page. This should be set to the value of 'nextPageToken' from the previous response.",
|
||||||
|
"location": "query"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"parameterOrder": [
|
"parameterOrder": [
|
||||||
|
|||||||
460
etc/api/firebasedynamiclinks/v1/firebasedynamiclinks-api.json
Normal file
460
etc/api/firebasedynamiclinks/v1/firebasedynamiclinks-api.json
Normal file
@@ -0,0 +1,460 @@
|
|||||||
|
{
|
||||||
|
"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",
|
||||||
|
"title": "Firebase Dynamic Links API",
|
||||||
|
"resources": {
|
||||||
|
"shortLinks": {
|
||||||
|
"methods": {
|
||||||
|
"create": {
|
||||||
|
"id": "firebasedynamiclinks.shortLinks.create",
|
||||||
|
"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.",
|
||||||
|
"request": {
|
||||||
|
"$ref": "CreateShortDynamicLinkRequest"
|
||||||
|
},
|
||||||
|
"flatPath": "v1/shortLinks",
|
||||||
|
"httpMethod": "POST",
|
||||||
|
"parameters": {},
|
||||||
|
"path": "v1/shortLinks",
|
||||||
|
"scopes": [
|
||||||
|
"https://www.googleapis.com/auth/firebase"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"schemas": {
|
||||||
|
"DynamicLinkInfo": {
|
||||||
|
"description": "Information about a Dynamic Link.",
|
||||||
|
"type": "object",
|
||||||
|
"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.",
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
"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.",
|
||||||
|
"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).",
|
||||||
|
"$ref": "IosInfo"
|
||||||
|
},
|
||||||
|
"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).",
|
||||||
|
"$ref": "AndroidInfo"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"id": "DynamicLinkInfo"
|
||||||
|
},
|
||||||
|
"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"
|
||||||
|
},
|
||||||
|
"ct": {
|
||||||
|
"description": "Campaign text that developers can optionally add to any link in order to\ntrack sales from a specific marketing campaign.",
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
"pt": {
|
||||||
|
"description": "Provider token that enables analytics for Dynamic Links from within iTunes\nConnect.",
|
||||||
|
"type": "string"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"id": "ITunesConnectAnalytics"
|
||||||
|
},
|
||||||
|
"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.",
|
||||||
|
"The Android minimum version code has to be a valid integer.",
|
||||||
|
"Android package min version param is not needed, e.g. when\n'apn' is missing.",
|
||||||
|
"Android link is not a valid URI.",
|
||||||
|
"Android link param is not needed, e.g. when param 'al' and 'link' have\nthe same value..",
|
||||||
|
"Android fallback link is not a valid URI.",
|
||||||
|
"Android fallback link has an invalid (non http/https) URI scheme.",
|
||||||
|
"The iOS bundle ID does not match any in developer's DevConsole project.",
|
||||||
|
"The iPad bundle ID does not match any in developer's DevConsole project.",
|
||||||
|
"iOS URL scheme is not needed, e.g. when 'ibi' are 'ipbi' are all missing.",
|
||||||
|
"iOS app store ID format is incorrect, e.g. not numeric.",
|
||||||
|
"iOS app store ID is not needed.",
|
||||||
|
"iOS fallback link is not a valid URI.",
|
||||||
|
"iOS fallback link has an invalid (non http/https) URI scheme.",
|
||||||
|
"iPad fallback link is not a valid URI.",
|
||||||
|
"iPad fallback link has an invalid (non http/https) URI scheme.",
|
||||||
|
"Debug param format is incorrect.",
|
||||||
|
"isAd param format is incorrect.",
|
||||||
|
"Indicates a certain param is deprecated.",
|
||||||
|
"Indicates certain paramater is not recognized.",
|
||||||
|
"Indicates certain paramater is too long.",
|
||||||
|
"Social meta tag image link is not a valid URI.",
|
||||||
|
"Social meta tag image link has an invalid (non http/https) URI scheme.",
|
||||||
|
"",
|
||||||
|
"",
|
||||||
|
"Dynamic Link URL length is too long.",
|
||||||
|
"Dynamic Link URL contains fragments.",
|
||||||
|
"The iOS bundle ID does not match with the given iOS store ID."
|
||||||
|
],
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
"warningMessage": {
|
||||||
|
"description": "The warning message to help developers improve their requests.",
|
||||||
|
"type": "string"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"id": "DynamicLinkWarning"
|
||||||
|
},
|
||||||
|
"CreateShortDynamicLinkRequest": {
|
||||||
|
"description": "Request to create a short Dynamic Link.",
|
||||||
|
"type": "object",
|
||||||
|
"properties": {
|
||||||
|
"dynamicLinkInfo": {
|
||||||
|
"description": "Information about the Dynamic Link to be shortened.\n[Learn more](https://firebase.google.com/docs/dynamic-links/android#create-a-dynamic-link-programmatically).",
|
||||||
|
"$ref": "DynamicLinkInfo"
|
||||||
|
},
|
||||||
|
"longDynamicLink": {
|
||||||
|
"description": "Full long Dynamic Link URL with desired query parameters specified.\nFor example,\n\"https://sample.app.goo.gl/?link=http://www.google.com&apn=com.sample\",\n[Learn more](https://firebase.google.com/docs/dynamic-links/android#create-a-dynamic-link-programmatically).",
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
"suffix": {
|
||||||
|
"description": "Short Dynamic Link suffix. Optional.",
|
||||||
|
"$ref": "Suffix"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"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"
|
||||||
|
},
|
||||||
|
"version_module": "True",
|
||||||
|
"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"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"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"
|
||||||
|
}
|
||||||
@@ -0,0 +1,648 @@
|
|||||||
|
{
|
||||||
|
"id": "firebaserules:v1",
|
||||||
|
"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/firebase": {
|
||||||
|
"description": "View and administer all your Firebase data and settings"
|
||||||
|
},
|
||||||
|
"https://www.googleapis.com/auth/firebase.readonly": {
|
||||||
|
"description": "View all your Firebase data and settings"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"description": "Creates and manages rules that determine when a Firebase Rules-enabled service should permit a request.\n",
|
||||||
|
"protocol": "rest",
|
||||||
|
"title": "Firebase Rules API",
|
||||||
|
"resources": {
|
||||||
|
"projects": {
|
||||||
|
"resources": {
|
||||||
|
"rulesets": {
|
||||||
|
"methods": {
|
||||||
|
"create": {
|
||||||
|
"id": "firebaserules.projects.rulesets.create",
|
||||||
|
"response": {
|
||||||
|
"$ref": "Ruleset"
|
||||||
|
},
|
||||||
|
"parameterOrder": [
|
||||||
|
"name"
|
||||||
|
],
|
||||||
|
"description": "Create a `Ruleset` from `Source`.\n\nThe `Ruleset` is given a unique generated name which is returned to the\ncaller. `Source` containing syntactic or semantics errors will result in an\nerror response indicating the first error encountered. For a detailed view\nof `Source` issues, use TestRuleset.",
|
||||||
|
"request": {
|
||||||
|
"$ref": "Ruleset"
|
||||||
|
},
|
||||||
|
"flatPath": "v1/projects/{projectsId}/rulesets",
|
||||||
|
"httpMethod": "POST",
|
||||||
|
"parameters": {
|
||||||
|
"name": {
|
||||||
|
"description": "Resource name for Project which owns this `Ruleset`.\n\nFormat: `projects/{project_id}`",
|
||||||
|
"required": true,
|
||||||
|
"pattern": "^projects/[^/]+$",
|
||||||
|
"location": "path",
|
||||||
|
"type": "string"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"path": "v1/{+name}/rulesets",
|
||||||
|
"scopes": [
|
||||||
|
"https://www.googleapis.com/auth/cloud-platform",
|
||||||
|
"https://www.googleapis.com/auth/firebase"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"get": {
|
||||||
|
"id": "firebaserules.projects.rulesets.get",
|
||||||
|
"response": {
|
||||||
|
"$ref": "Ruleset"
|
||||||
|
},
|
||||||
|
"parameterOrder": [
|
||||||
|
"name"
|
||||||
|
],
|
||||||
|
"description": "Get a `Ruleset` by name including the full `Source` contents.",
|
||||||
|
"flatPath": "v1/projects/{projectsId}/rulesets/{rulesetsId}",
|
||||||
|
"httpMethod": "GET",
|
||||||
|
"parameters": {
|
||||||
|
"name": {
|
||||||
|
"description": "Resource name for the ruleset to get.\n\nFormat: `projects/{project_id}/rulesets/{ruleset_id}`",
|
||||||
|
"required": true,
|
||||||
|
"pattern": "^projects/[^/]+/rulesets/[^/]+$",
|
||||||
|
"location": "path",
|
||||||
|
"type": "string"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"path": "v1/{+name}",
|
||||||
|
"scopes": [
|
||||||
|
"https://www.googleapis.com/auth/cloud-platform",
|
||||||
|
"https://www.googleapis.com/auth/firebase",
|
||||||
|
"https://www.googleapis.com/auth/firebase.readonly"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"list": {
|
||||||
|
"id": "firebaserules.projects.rulesets.list",
|
||||||
|
"response": {
|
||||||
|
"$ref": "ListRulesetsResponse"
|
||||||
|
},
|
||||||
|
"parameterOrder": [
|
||||||
|
"name"
|
||||||
|
],
|
||||||
|
"description": "List `Ruleset` metadata only and optionally filter the results by Ruleset\nname.\n\nThe full `Source` contents of a `Ruleset` may be retrieved with\nGetRuleset.",
|
||||||
|
"flatPath": "v1/projects/{projectsId}/rulesets",
|
||||||
|
"httpMethod": "GET",
|
||||||
|
"parameters": {
|
||||||
|
"pageSize": {
|
||||||
|
"description": "Page size to load. Maximum of 100. Defaults to 10.\nNote: `page_size` is just a hint and the service may choose to load less\nthan `page_size` due to the size of the output. To traverse all of the\nreleases, caller should iterate until the `page_token` is empty.",
|
||||||
|
"location": "query",
|
||||||
|
"type": "integer",
|
||||||
|
"format": "int32"
|
||||||
|
},
|
||||||
|
"name": {
|
||||||
|
"description": "Resource name for the project.\n\nFormat: `projects/{project_id}`",
|
||||||
|
"required": true,
|
||||||
|
"pattern": "^projects/[^/]+$",
|
||||||
|
"location": "path",
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
"pageToken": {
|
||||||
|
"description": "Next page token for loading the next batch of `Ruleset` instances.",
|
||||||
|
"location": "query",
|
||||||
|
"type": "string"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"path": "v1/{+name}/rulesets",
|
||||||
|
"scopes": [
|
||||||
|
"https://www.googleapis.com/auth/cloud-platform",
|
||||||
|
"https://www.googleapis.com/auth/firebase",
|
||||||
|
"https://www.googleapis.com/auth/firebase.readonly"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"delete": {
|
||||||
|
"id": "firebaserules.projects.rulesets.delete",
|
||||||
|
"response": {
|
||||||
|
"$ref": "Empty"
|
||||||
|
},
|
||||||
|
"parameterOrder": [
|
||||||
|
"name"
|
||||||
|
],
|
||||||
|
"description": "Delete a `Ruleset` by resource name.\n\nIf the `Ruleset` is referenced by a `Release` the operation will fail.",
|
||||||
|
"flatPath": "v1/projects/{projectsId}/rulesets/{rulesetsId}",
|
||||||
|
"httpMethod": "DELETE",
|
||||||
|
"parameters": {
|
||||||
|
"name": {
|
||||||
|
"description": "Resource name for the ruleset to delete.\n\nFormat: `projects/{project_id}/rulesets/{ruleset_id}`",
|
||||||
|
"required": true,
|
||||||
|
"pattern": "^projects/[^/]+/rulesets/[^/]+$",
|
||||||
|
"location": "path",
|
||||||
|
"type": "string"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"path": "v1/{+name}",
|
||||||
|
"scopes": [
|
||||||
|
"https://www.googleapis.com/auth/cloud-platform",
|
||||||
|
"https://www.googleapis.com/auth/firebase"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"releases": {
|
||||||
|
"methods": {
|
||||||
|
"update": {
|
||||||
|
"id": "firebaserules.projects.releases.update",
|
||||||
|
"response": {
|
||||||
|
"$ref": "Release"
|
||||||
|
},
|
||||||
|
"parameterOrder": [
|
||||||
|
"name"
|
||||||
|
],
|
||||||
|
"description": "Update a `Release`.\n\nOnly updates to the `ruleset_name` field will be honored. `Release` rename\nis not supported. To create a `Release` use the CreateRelease method\ninstead.",
|
||||||
|
"request": {
|
||||||
|
"$ref": "Release"
|
||||||
|
},
|
||||||
|
"flatPath": "v1/projects/{projectsId}/releases/{releasesId}",
|
||||||
|
"httpMethod": "PUT",
|
||||||
|
"parameters": {
|
||||||
|
"name": {
|
||||||
|
"description": "Resource name for the `Release`.\n\n`Release` names may be structured `app1/prod/v2` or flat `app1_prod_v2`\nwhich affords developers a great deal of flexibility in mapping the name\nto the style that best fits their existing development practices. For\nexample, a name could refer to an environment, an app, a version, or some\ncombination of three.\n\nIn the table below, for the project name `projects/foo`, the following\nrelative release paths show how flat and structured names might be chosen\nto match a desired development / deployment strategy.\n\nUse Case | Flat Name | Structured Name\n-------------|---------------------|----------------\nEnvironments | releases/qa | releases/qa\nApps | releases/app1_qa | releases/app1/qa\nVersions | releases/app1_v2_qa | releases/app1/v2/qa\n\nThe delimiter between the release name path elements can be almost anything\nand it should work equally well with the release name list filter, but in\nmany ways the structured paths provide a clearer picture of the\nrelationship between `Release` instances.\n\nFormat: `projects/{project_id}/releases/{release_id}`",
|
||||||
|
"required": true,
|
||||||
|
"pattern": "^projects/[^/]+/releases/.+$",
|
||||||
|
"location": "path",
|
||||||
|
"type": "string"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"path": "v1/{+name}",
|
||||||
|
"scopes": [
|
||||||
|
"https://www.googleapis.com/auth/cloud-platform",
|
||||||
|
"https://www.googleapis.com/auth/firebase"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"create": {
|
||||||
|
"id": "firebaserules.projects.releases.create",
|
||||||
|
"response": {
|
||||||
|
"$ref": "Release"
|
||||||
|
},
|
||||||
|
"parameterOrder": [
|
||||||
|
"name"
|
||||||
|
],
|
||||||
|
"description": "Create a `Release`.\n\nRelease names should reflect the developer's deployment practices. For\nexample, the release name may include the environment name, application\nname, application version, or any other name meaningful to the developer.\nOnce a `Release` refers to a `Ruleset`, the rules can be enforced by\nFirebase Rules-enabled services.\n\nMore than one `Release` may be 'live' concurrently. Consider the following\nthree `Release` names for `projects/foo` and the `Ruleset` to which they\nrefer.\n\nRelease Name | Ruleset Name\n--------------------------------|-------------\nprojects/foo/releases/prod | projects/foo/rulesets/uuid123\nprojects/foo/releases/prod/beta | projects/foo/rulesets/uuid123\nprojects/foo/releases/prod/v23 | projects/foo/rulesets/uuid456\n\nThe table reflects the `Ruleset` rollout in progress. The `prod` and\n`prod/beta` releases refer to the same `Ruleset`. However, `prod/v23`\nrefers to a new `Ruleset`. The `Ruleset` reference for a `Release` may be\nupdated using the UpdateRelease method, and the custom `Release` name\nmay be referenced by specifying the `X-Firebase-Rules-Release-Name` header.",
|
||||||
|
"request": {
|
||||||
|
"$ref": "Release"
|
||||||
|
},
|
||||||
|
"flatPath": "v1/projects/{projectsId}/releases",
|
||||||
|
"httpMethod": "POST",
|
||||||
|
"parameters": {
|
||||||
|
"name": {
|
||||||
|
"description": "Resource name for the project which owns this `Release`.\n\nFormat: `projects/{project_id}`",
|
||||||
|
"required": true,
|
||||||
|
"pattern": "^projects/[^/]+$",
|
||||||
|
"location": "path",
|
||||||
|
"type": "string"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"path": "v1/{+name}/releases",
|
||||||
|
"scopes": [
|
||||||
|
"https://www.googleapis.com/auth/cloud-platform",
|
||||||
|
"https://www.googleapis.com/auth/firebase"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"get": {
|
||||||
|
"id": "firebaserules.projects.releases.get",
|
||||||
|
"response": {
|
||||||
|
"$ref": "Release"
|
||||||
|
},
|
||||||
|
"parameterOrder": [
|
||||||
|
"name"
|
||||||
|
],
|
||||||
|
"description": "Get a `Release` by name.",
|
||||||
|
"flatPath": "v1/projects/{projectsId}/releases/{releasesId}",
|
||||||
|
"httpMethod": "GET",
|
||||||
|
"parameters": {
|
||||||
|
"name": {
|
||||||
|
"description": "Resource name of the `Release`.\n\n\nFormat: `projects/{project_id}/releases/{release_id}`",
|
||||||
|
"required": true,
|
||||||
|
"pattern": "^projects/[^/]+/releases/.+$",
|
||||||
|
"location": "path",
|
||||||
|
"type": "string"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"path": "v1/{+name}",
|
||||||
|
"scopes": [
|
||||||
|
"https://www.googleapis.com/auth/cloud-platform",
|
||||||
|
"https://www.googleapis.com/auth/firebase",
|
||||||
|
"https://www.googleapis.com/auth/firebase.readonly"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"list": {
|
||||||
|
"id": "firebaserules.projects.releases.list",
|
||||||
|
"response": {
|
||||||
|
"$ref": "ListReleasesResponse"
|
||||||
|
},
|
||||||
|
"parameterOrder": [
|
||||||
|
"name"
|
||||||
|
],
|
||||||
|
"description": "List the `Release` values for a project. This list may optionally be\nfiltered by `Release` name or `Ruleset` id or both.",
|
||||||
|
"flatPath": "v1/projects/{projectsId}/releases",
|
||||||
|
"httpMethod": "GET",
|
||||||
|
"parameters": {
|
||||||
|
"pageSize": {
|
||||||
|
"description": "Page size to load. Maximum of 100. Defaults to 10.\nNote: `page_size` is just a hint and the service may choose to load less\nthan `page_size` due to the size of the output. To traverse all of the\nreleases, caller should iterate until the `page_token` is empty.",
|
||||||
|
"location": "query",
|
||||||
|
"type": "integer",
|
||||||
|
"format": "int32"
|
||||||
|
},
|
||||||
|
"filter": {
|
||||||
|
"description": "`Release` filter. The list method supports filters with restrictions on the\n`Release` `name` and also on the `Ruleset` `ruleset_name`.\n\nExample 1) A filter of 'name=prod*' might return `Release`s with names\nwithin 'projects/foo' prefixed with 'prod':\n\nName | Ruleset Name\n------------------------------|-------------\nprojects/foo/releases/prod | projects/foo/rulesets/uuid1234\nprojects/foo/releases/prod/v1 | projects/foo/rulesets/uuid1234\nprojects/foo/releases/prod/v2 | projects/foo/rulesets/uuid8888\n\nExample 2) A filter of `name=prod* ruleset_name=uuid1234` would return only\n`Release` instances for 'projects/foo' with names prefixed with 'prod'\nreferring to the same `Ruleset` name of 'uuid1234':\n\nName | Ruleset Name\n------------------------------|-------------\nprojects/foo/releases/prod | projects/foo/rulesets/1234\nprojects/foo/releases/prod/v1 | projects/foo/rulesets/1234\n\nIn the examples, the filter parameters refer to the search filters for\nrelease and ruleset names are relative to the project releases and rulesets\ncollections. Fully qualified prefixed may also be used. e.g.\n`name=projects/foo/releases/prod* ruleset_name=projects/foo/rulesets/uuid1`",
|
||||||
|
"location": "query",
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
"name": {
|
||||||
|
"description": "Resource name for the project.\n\nFormat: `projects/{project_id}`",
|
||||||
|
"required": true,
|
||||||
|
"pattern": "^projects/[^/]+$",
|
||||||
|
"location": "path",
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
"pageToken": {
|
||||||
|
"description": "Next page token for the next batch of `Release` instances.",
|
||||||
|
"location": "query",
|
||||||
|
"type": "string"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"path": "v1/{+name}/releases",
|
||||||
|
"scopes": [
|
||||||
|
"https://www.googleapis.com/auth/cloud-platform",
|
||||||
|
"https://www.googleapis.com/auth/firebase",
|
||||||
|
"https://www.googleapis.com/auth/firebase.readonly"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"delete": {
|
||||||
|
"id": "firebaserules.projects.releases.delete",
|
||||||
|
"response": {
|
||||||
|
"$ref": "Empty"
|
||||||
|
},
|
||||||
|
"parameterOrder": [
|
||||||
|
"name"
|
||||||
|
],
|
||||||
|
"description": "Delete a `Release` by resource name.",
|
||||||
|
"flatPath": "v1/projects/{projectsId}/releases/{releasesId}",
|
||||||
|
"httpMethod": "DELETE",
|
||||||
|
"parameters": {
|
||||||
|
"name": {
|
||||||
|
"description": "Resource name for the `Release` to delete.\n\nFormat: `projects/{project_id}/releases/{release_id}`",
|
||||||
|
"required": true,
|
||||||
|
"pattern": "^projects/[^/]+/releases/.+$",
|
||||||
|
"location": "path",
|
||||||
|
"type": "string"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"path": "v1/{+name}",
|
||||||
|
"scopes": [
|
||||||
|
"https://www.googleapis.com/auth/cloud-platform",
|
||||||
|
"https://www.googleapis.com/auth/firebase"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"methods": {
|
||||||
|
"test": {
|
||||||
|
"id": "firebaserules.projects.test",
|
||||||
|
"response": {
|
||||||
|
"$ref": "TestRulesetResponse"
|
||||||
|
},
|
||||||
|
"parameterOrder": [
|
||||||
|
"name"
|
||||||
|
],
|
||||||
|
"description": "Test `Source` for syntactic and semantic correctness. Issues present in the\nrules, if any, will be returned to the caller with a description, severity,\nand source location.\n\nThe test method will typically be executed with a developer provided\n`Source`, but if regression testing is desired, this method may be\nexecuted against a `Ruleset` resource name and the `Source` will be\nretrieved from the persisted `Ruleset`.\n\nThe following is an example of `Source` that permits users to upload images\nto a bucket bearing their user id and matching the correct metadata:\n\n_*Example*_\n\n // Users are allowed to subscribe and unsubscribe to the blog.\n service firebase.storage {\n match /users/{userId}/images/{imageName} {\n allow write: if userId == request.userId\n && (imageName.endsWith('.png') || imageName.endsWith('.jpg'))\n && resource.mimeType.startsWith('image/')\n }\n }",
|
||||||
|
"request": {
|
||||||
|
"$ref": "TestRulesetRequest"
|
||||||
|
},
|
||||||
|
"flatPath": "v1/projects/{projectsId}:test",
|
||||||
|
"httpMethod": "POST",
|
||||||
|
"parameters": {
|
||||||
|
"name": {
|
||||||
|
"description": "Name of the project.\n\nFormat: `projects/{project_id}`",
|
||||||
|
"required": true,
|
||||||
|
"pattern": "^projects/.+$",
|
||||||
|
"location": "path",
|
||||||
|
"type": "string"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"path": "v1/{+name}:test",
|
||||||
|
"scopes": [
|
||||||
|
"https://www.googleapis.com/auth/cloud-platform",
|
||||||
|
"https://www.googleapis.com/auth/firebase",
|
||||||
|
"https://www.googleapis.com/auth/firebase.readonly"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"schemas": {
|
||||||
|
"Release": {
|
||||||
|
"description": "`Release` is a named reference to a `Ruleset`. Once a `Release` refers to a\n`Ruleset`, rules-enabled services will be able to enforce the `Ruleset`.",
|
||||||
|
"type": "object",
|
||||||
|
"properties": {
|
||||||
|
"updateTime": {
|
||||||
|
"description": "Time the release was updated.\n@OutputOnly",
|
||||||
|
"type": "string",
|
||||||
|
"format": "google-datetime"
|
||||||
|
},
|
||||||
|
"createTime": {
|
||||||
|
"description": "Time the release was created.\n@OutputOnly",
|
||||||
|
"type": "string",
|
||||||
|
"format": "google-datetime"
|
||||||
|
},
|
||||||
|
"name": {
|
||||||
|
"description": "Resource name for the `Release`.\n\n`Release` names may be structured `app1/prod/v2` or flat `app1_prod_v2`\nwhich affords developers a great deal of flexibility in mapping the name\nto the style that best fits their existing development practices. For\nexample, a name could refer to an environment, an app, a version, or some\ncombination of three.\n\nIn the table below, for the project name `projects/foo`, the following\nrelative release paths show how flat and structured names might be chosen\nto match a desired development / deployment strategy.\n\nUse Case | Flat Name | Structured Name\n-------------|---------------------|----------------\nEnvironments | releases/qa | releases/qa\nApps | releases/app1_qa | releases/app1/qa\nVersions | releases/app1_v2_qa | releases/app1/v2/qa\n\nThe delimiter between the release name path elements can be almost anything\nand it should work equally well with the release name list filter, but in\nmany ways the structured paths provide a clearer picture of the\nrelationship between `Release` instances.\n\nFormat: `projects/{project_id}/releases/{release_id}`",
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
"rulesetName": {
|
||||||
|
"description": "Name of the `Ruleset` referred to by this `Release`. The `Ruleset` must\nexist the `Release` to be created.",
|
||||||
|
"type": "string"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"id": "Release"
|
||||||
|
},
|
||||||
|
"Source": {
|
||||||
|
"description": "`Source` is one or more `File` messages comprising a logical set of rules.",
|
||||||
|
"type": "object",
|
||||||
|
"properties": {
|
||||||
|
"files": {
|
||||||
|
"description": "`File` set constituting the `Source` bundle.",
|
||||||
|
"type": "array",
|
||||||
|
"items": {
|
||||||
|
"$ref": "File"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"id": "Source"
|
||||||
|
},
|
||||||
|
"SourcePosition": {
|
||||||
|
"description": "Position in the `Source` content including its line, column number, and an\nindex of the `File` in the `Source` message. Used for debug purposes.",
|
||||||
|
"type": "object",
|
||||||
|
"properties": {
|
||||||
|
"fileName": {
|
||||||
|
"description": "Name of the `File`.",
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
"column": {
|
||||||
|
"description": "First column on the source line associated with the source fragment.",
|
||||||
|
"type": "integer",
|
||||||
|
"format": "int32"
|
||||||
|
},
|
||||||
|
"line": {
|
||||||
|
"description": "Line number of the source fragment. 1-based.",
|
||||||
|
"type": "integer",
|
||||||
|
"format": "int32"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"id": "SourcePosition"
|
||||||
|
},
|
||||||
|
"TestRulesetResponse": {
|
||||||
|
"description": "The response for FirebaseRulesService.TestRuleset.",
|
||||||
|
"type": "object",
|
||||||
|
"properties": {
|
||||||
|
"issues": {
|
||||||
|
"description": "Syntactic and semantic `Source` issues of varying severity. Issues of\n`ERROR` severity will prevent tests from executing.",
|
||||||
|
"type": "array",
|
||||||
|
"items": {
|
||||||
|
"$ref": "Issue"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"id": "TestRulesetResponse"
|
||||||
|
},
|
||||||
|
"Ruleset": {
|
||||||
|
"description": "`Ruleset` is an immutable copy of `Source` with a globally unique identifier\nand a creation time.",
|
||||||
|
"type": "object",
|
||||||
|
"properties": {
|
||||||
|
"source": {
|
||||||
|
"description": "`Source` for the `Ruleset`.",
|
||||||
|
"$ref": "Source"
|
||||||
|
},
|
||||||
|
"createTime": {
|
||||||
|
"description": "Time the `Ruleset` was created.\n@OutputOnly",
|
||||||
|
"type": "string",
|
||||||
|
"format": "google-datetime"
|
||||||
|
},
|
||||||
|
"name": {
|
||||||
|
"description": "Name of the `Ruleset`. The ruleset_id is auto generated by the service.\nFormat: `projects/{project_id}/rulesets/{ruleset_id}`\n@OutputOnly",
|
||||||
|
"type": "string"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"id": "Ruleset"
|
||||||
|
},
|
||||||
|
"ListReleasesResponse": {
|
||||||
|
"description": "The response for FirebaseRulesService.ListReleases.",
|
||||||
|
"type": "object",
|
||||||
|
"properties": {
|
||||||
|
"nextPageToken": {
|
||||||
|
"description": "The pagination token to retrieve the next page of results. If the value is\nempty, no further results remain.",
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
"releases": {
|
||||||
|
"description": "List of `Release` instances.",
|
||||||
|
"type": "array",
|
||||||
|
"items": {
|
||||||
|
"$ref": "Release"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"id": "ListReleasesResponse"
|
||||||
|
},
|
||||||
|
"ListRulesetsResponse": {
|
||||||
|
"description": "The response for FirebaseRulesService.ListRulesets",
|
||||||
|
"type": "object",
|
||||||
|
"properties": {
|
||||||
|
"rulesets": {
|
||||||
|
"description": "List of `Ruleset` instances.",
|
||||||
|
"type": "array",
|
||||||
|
"items": {
|
||||||
|
"$ref": "Ruleset"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"nextPageToken": {
|
||||||
|
"description": "The pagination token to retrieve the next page of results. If the value is\nempty, no further results remain.",
|
||||||
|
"type": "string"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"id": "ListRulesetsResponse"
|
||||||
|
},
|
||||||
|
"Empty": {
|
||||||
|
"description": "A generic empty message that you can re-use to avoid defining duplicated\nempty messages in your APIs. A typical example is to use it as the request\nor the response type of an API method. For instance:\n\n service Foo {\n rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);\n }\n\nThe JSON representation for `Empty` is empty JSON object `{}`.",
|
||||||
|
"type": "object",
|
||||||
|
"properties": {},
|
||||||
|
"id": "Empty"
|
||||||
|
},
|
||||||
|
"File": {
|
||||||
|
"description": "`File` containing source content.",
|
||||||
|
"type": "object",
|
||||||
|
"properties": {
|
||||||
|
"content": {
|
||||||
|
"description": "Textual Content.",
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
"name": {
|
||||||
|
"description": "File name.",
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
"fingerprint": {
|
||||||
|
"description": "Fingerprint (e.g. github sha) associated with the `File`.",
|
||||||
|
"type": "string",
|
||||||
|
"format": "byte"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"id": "File"
|
||||||
|
},
|
||||||
|
"TestRulesetRequest": {
|
||||||
|
"description": "The request for FirebaseRulesService.TestRuleset.",
|
||||||
|
"type": "object",
|
||||||
|
"properties": {
|
||||||
|
"source": {
|
||||||
|
"description": "`Source` to be checked for correctness.",
|
||||||
|
"$ref": "Source"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"id": "TestRulesetRequest"
|
||||||
|
},
|
||||||
|
"Issue": {
|
||||||
|
"description": "Issues include warnings, errors, and deprecation notices.",
|
||||||
|
"type": "object",
|
||||||
|
"properties": {
|
||||||
|
"description": {
|
||||||
|
"description": "Short error description.",
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
"severity": {
|
||||||
|
"description": "The severity of the issue.",
|
||||||
|
"enum": [
|
||||||
|
"SEVERITY_UNSPECIFIED",
|
||||||
|
"DEPRECATION",
|
||||||
|
"WARNING",
|
||||||
|
"ERROR"
|
||||||
|
],
|
||||||
|
"enumDescriptions": [
|
||||||
|
"An unspecified severity.",
|
||||||
|
"Deprecation issue for statements and method that may no longer be\nsupported or maintained.",
|
||||||
|
"Warnings such as: unused variables.",
|
||||||
|
"Errors such as: unmatched curly braces or variable redefinition."
|
||||||
|
],
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
"sourcePosition": {
|
||||||
|
"description": "Position of the issue in the `Source`.",
|
||||||
|
"$ref": "SourcePosition"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"id": "Issue"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"revision": "20161205",
|
||||||
|
"basePath": "",
|
||||||
|
"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",
|
||||||
|
"canonicalName": "Firebase Rules API",
|
||||||
|
"discoveryVersion": "v1",
|
||||||
|
"baseUrl": "https://firebaserules.googleapis.com/",
|
||||||
|
"name": "firebaserules",
|
||||||
|
"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://firebase.google.com/docs/storage/security",
|
||||||
|
"ownerDomain": "google.com",
|
||||||
|
"batchPath": "batch",
|
||||||
|
"servicePath": "",
|
||||||
|
"ownerName": "Google",
|
||||||
|
"version": "v1",
|
||||||
|
"rootUrl": "https://firebaserules.googleapis.com/",
|
||||||
|
"kind": "discovery#restDescription"
|
||||||
|
}
|
||||||
|
|||||||
@@ -1,18 +1,18 @@
|
|||||||
{
|
{
|
||||||
"kind": "discovery#restDescription",
|
"kind": "discovery#restDescription",
|
||||||
"etag": "\"C5oy1hgQsABtYOYIOXWcR3BgYqU/C_efOoRNuMwDVzh1-1r-3k_wkJo\"",
|
"etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/ijeguRXyVpN9uEUSOI4kjLGOD9E\"",
|
||||||
"discoveryVersion": "v1",
|
"discoveryVersion": "v1",
|
||||||
"id": "fitness:v1",
|
"id": "fitness:v1",
|
||||||
"name": "fitness",
|
"name": "fitness",
|
||||||
"version": "v1",
|
"version": "v1",
|
||||||
"revision": "20160801",
|
"revision": "20161128",
|
||||||
"title": "Fitness",
|
"title": "Fitness",
|
||||||
"description": "Stores and accesses user data in the fitness store from apps on any platform.",
|
"description": "Stores and accesses user data in the fitness store from apps on any platform.",
|
||||||
"ownerDomain": "google.com",
|
"ownerDomain": "google.com",
|
||||||
"ownerName": "Google",
|
"ownerName": "Google",
|
||||||
"icons": {
|
"icons": {
|
||||||
"x16": "http://www.google.com/images/icons/product/search-16.gif",
|
"x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png",
|
||||||
"x32": "http://www.google.com/images/icons/product/search-32.gif"
|
"x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png"
|
||||||
},
|
},
|
||||||
"documentationLink": "https://developers.google.com/fit/rest/",
|
"documentationLink": "https://developers.google.com/fit/rest/",
|
||||||
"protocol": "rest",
|
"protocol": "rest",
|
||||||
@@ -75,12 +75,30 @@
|
|||||||
"https://www.googleapis.com/auth/fitness.activity.write": {
|
"https://www.googleapis.com/auth/fitness.activity.write": {
|
||||||
"description": "View and store your activity information in Google Fit"
|
"description": "View and store your activity information in Google Fit"
|
||||||
},
|
},
|
||||||
|
"https://www.googleapis.com/auth/fitness.blood_glucose.read": {
|
||||||
|
"description": "View blood glucose data in Google Fit"
|
||||||
|
},
|
||||||
|
"https://www.googleapis.com/auth/fitness.blood_glucose.write": {
|
||||||
|
"description": "View and store blood glucose data in Google Fit"
|
||||||
|
},
|
||||||
|
"https://www.googleapis.com/auth/fitness.blood_pressure.read": {
|
||||||
|
"description": "View blood pressure data in Google Fit"
|
||||||
|
},
|
||||||
|
"https://www.googleapis.com/auth/fitness.blood_pressure.write": {
|
||||||
|
"description": "View and store blood pressure data in Google Fit"
|
||||||
|
},
|
||||||
"https://www.googleapis.com/auth/fitness.body.read": {
|
"https://www.googleapis.com/auth/fitness.body.read": {
|
||||||
"description": "View body sensor information in Google Fit"
|
"description": "View body sensor information in Google Fit"
|
||||||
},
|
},
|
||||||
"https://www.googleapis.com/auth/fitness.body.write": {
|
"https://www.googleapis.com/auth/fitness.body.write": {
|
||||||
"description": "View and store body sensor data in Google Fit"
|
"description": "View and store body sensor data in Google Fit"
|
||||||
},
|
},
|
||||||
|
"https://www.googleapis.com/auth/fitness.body_temperature.read": {
|
||||||
|
"description": "View body temperature data in Google Fit"
|
||||||
|
},
|
||||||
|
"https://www.googleapis.com/auth/fitness.body_temperature.write": {
|
||||||
|
"description": "View and store body temperature data in Google Fit"
|
||||||
|
},
|
||||||
"https://www.googleapis.com/auth/fitness.location.read": {
|
"https://www.googleapis.com/auth/fitness.location.read": {
|
||||||
"description": "View your stored location data in Google Fit"
|
"description": "View your stored location data in Google Fit"
|
||||||
},
|
},
|
||||||
@@ -92,6 +110,18 @@
|
|||||||
},
|
},
|
||||||
"https://www.googleapis.com/auth/fitness.nutrition.write": {
|
"https://www.googleapis.com/auth/fitness.nutrition.write": {
|
||||||
"description": "View and store nutrition information in Google Fit"
|
"description": "View and store nutrition information in Google Fit"
|
||||||
|
},
|
||||||
|
"https://www.googleapis.com/auth/fitness.oxygen_saturation.read": {
|
||||||
|
"description": "View oxygen saturation data in Google Fit"
|
||||||
|
},
|
||||||
|
"https://www.googleapis.com/auth/fitness.oxygen_saturation.write": {
|
||||||
|
"description": "View and store oxygen saturation data in Google Fit"
|
||||||
|
},
|
||||||
|
"https://www.googleapis.com/auth/fitness.reproductive_health.read": {
|
||||||
|
"description": "View reproductive health data in Google Fit"
|
||||||
|
},
|
||||||
|
"https://www.googleapis.com/auth/fitness.reproductive_health.write": {
|
||||||
|
"description": "View and store reproductive health data in Google Fit"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -165,6 +195,7 @@
|
|||||||
"AggregateRequest": {
|
"AggregateRequest": {
|
||||||
"id": "AggregateRequest",
|
"id": "AggregateRequest",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
|
"description": "Next id: 10",
|
||||||
"properties": {
|
"properties": {
|
||||||
"aggregateBy": {
|
"aggregateBy": {
|
||||||
"type": "array",
|
"type": "array",
|
||||||
@@ -756,6 +787,10 @@
|
|||||||
"$ref": "Session"
|
"$ref": "Session"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"hasMoreData": {
|
||||||
|
"type": "boolean",
|
||||||
|
"description": "Flag to indicate server has more data to transfer"
|
||||||
|
},
|
||||||
"nextPageToken": {
|
"nextPageToken": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "The continuation token, which is used to page through large result sets. Provide this value in a subsequent request to return the next page of results."
|
"description": "The continuation token, which is used to page through large result sets. Provide this value in a subsequent request to return the next page of results."
|
||||||
@@ -862,7 +897,7 @@
|
|||||||
"Value": {
|
"Value": {
|
||||||
"id": "Value",
|
"id": "Value",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"description": "Holder object for the value of a single field in a data point.\n\nA field value has a particular format and is only ever set to one of an integer or a floating point value.",
|
"description": "Holder object for the value of a single field in a data point.\n\nA field value has a particular format and is only ever set to one of an integer or a floating point value. LINT.IfChange",
|
||||||
"properties": {
|
"properties": {
|
||||||
"fpVal": {
|
"fpVal": {
|
||||||
"type": "number",
|
"type": "number",
|
||||||
@@ -929,9 +964,14 @@
|
|||||||
},
|
},
|
||||||
"scopes": [
|
"scopes": [
|
||||||
"https://www.googleapis.com/auth/fitness.activity.write",
|
"https://www.googleapis.com/auth/fitness.activity.write",
|
||||||
|
"https://www.googleapis.com/auth/fitness.blood_glucose.write",
|
||||||
|
"https://www.googleapis.com/auth/fitness.blood_pressure.write",
|
||||||
"https://www.googleapis.com/auth/fitness.body.write",
|
"https://www.googleapis.com/auth/fitness.body.write",
|
||||||
|
"https://www.googleapis.com/auth/fitness.body_temperature.write",
|
||||||
"https://www.googleapis.com/auth/fitness.location.write",
|
"https://www.googleapis.com/auth/fitness.location.write",
|
||||||
"https://www.googleapis.com/auth/fitness.nutrition.write"
|
"https://www.googleapis.com/auth/fitness.nutrition.write",
|
||||||
|
"https://www.googleapis.com/auth/fitness.oxygen_saturation.write",
|
||||||
|
"https://www.googleapis.com/auth/fitness.reproductive_health.write"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"delete": {
|
"delete": {
|
||||||
@@ -962,9 +1002,14 @@
|
|||||||
},
|
},
|
||||||
"scopes": [
|
"scopes": [
|
||||||
"https://www.googleapis.com/auth/fitness.activity.write",
|
"https://www.googleapis.com/auth/fitness.activity.write",
|
||||||
|
"https://www.googleapis.com/auth/fitness.blood_glucose.write",
|
||||||
|
"https://www.googleapis.com/auth/fitness.blood_pressure.write",
|
||||||
"https://www.googleapis.com/auth/fitness.body.write",
|
"https://www.googleapis.com/auth/fitness.body.write",
|
||||||
|
"https://www.googleapis.com/auth/fitness.body_temperature.write",
|
||||||
"https://www.googleapis.com/auth/fitness.location.write",
|
"https://www.googleapis.com/auth/fitness.location.write",
|
||||||
"https://www.googleapis.com/auth/fitness.nutrition.write"
|
"https://www.googleapis.com/auth/fitness.nutrition.write",
|
||||||
|
"https://www.googleapis.com/auth/fitness.oxygen_saturation.write",
|
||||||
|
"https://www.googleapis.com/auth/fitness.reproductive_health.write"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"get": {
|
"get": {
|
||||||
@@ -996,12 +1041,22 @@
|
|||||||
"scopes": [
|
"scopes": [
|
||||||
"https://www.googleapis.com/auth/fitness.activity.read",
|
"https://www.googleapis.com/auth/fitness.activity.read",
|
||||||
"https://www.googleapis.com/auth/fitness.activity.write",
|
"https://www.googleapis.com/auth/fitness.activity.write",
|
||||||
|
"https://www.googleapis.com/auth/fitness.blood_glucose.read",
|
||||||
|
"https://www.googleapis.com/auth/fitness.blood_glucose.write",
|
||||||
|
"https://www.googleapis.com/auth/fitness.blood_pressure.read",
|
||||||
|
"https://www.googleapis.com/auth/fitness.blood_pressure.write",
|
||||||
"https://www.googleapis.com/auth/fitness.body.read",
|
"https://www.googleapis.com/auth/fitness.body.read",
|
||||||
"https://www.googleapis.com/auth/fitness.body.write",
|
"https://www.googleapis.com/auth/fitness.body.write",
|
||||||
|
"https://www.googleapis.com/auth/fitness.body_temperature.read",
|
||||||
|
"https://www.googleapis.com/auth/fitness.body_temperature.write",
|
||||||
"https://www.googleapis.com/auth/fitness.location.read",
|
"https://www.googleapis.com/auth/fitness.location.read",
|
||||||
"https://www.googleapis.com/auth/fitness.location.write",
|
"https://www.googleapis.com/auth/fitness.location.write",
|
||||||
"https://www.googleapis.com/auth/fitness.nutrition.read",
|
"https://www.googleapis.com/auth/fitness.nutrition.read",
|
||||||
"https://www.googleapis.com/auth/fitness.nutrition.write"
|
"https://www.googleapis.com/auth/fitness.nutrition.write",
|
||||||
|
"https://www.googleapis.com/auth/fitness.oxygen_saturation.read",
|
||||||
|
"https://www.googleapis.com/auth/fitness.oxygen_saturation.write",
|
||||||
|
"https://www.googleapis.com/auth/fitness.reproductive_health.read",
|
||||||
|
"https://www.googleapis.com/auth/fitness.reproductive_health.write"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"list": {
|
"list": {
|
||||||
@@ -1032,12 +1087,22 @@
|
|||||||
"scopes": [
|
"scopes": [
|
||||||
"https://www.googleapis.com/auth/fitness.activity.read",
|
"https://www.googleapis.com/auth/fitness.activity.read",
|
||||||
"https://www.googleapis.com/auth/fitness.activity.write",
|
"https://www.googleapis.com/auth/fitness.activity.write",
|
||||||
|
"https://www.googleapis.com/auth/fitness.blood_glucose.read",
|
||||||
|
"https://www.googleapis.com/auth/fitness.blood_glucose.write",
|
||||||
|
"https://www.googleapis.com/auth/fitness.blood_pressure.read",
|
||||||
|
"https://www.googleapis.com/auth/fitness.blood_pressure.write",
|
||||||
"https://www.googleapis.com/auth/fitness.body.read",
|
"https://www.googleapis.com/auth/fitness.body.read",
|
||||||
"https://www.googleapis.com/auth/fitness.body.write",
|
"https://www.googleapis.com/auth/fitness.body.write",
|
||||||
|
"https://www.googleapis.com/auth/fitness.body_temperature.read",
|
||||||
|
"https://www.googleapis.com/auth/fitness.body_temperature.write",
|
||||||
"https://www.googleapis.com/auth/fitness.location.read",
|
"https://www.googleapis.com/auth/fitness.location.read",
|
||||||
"https://www.googleapis.com/auth/fitness.location.write",
|
"https://www.googleapis.com/auth/fitness.location.write",
|
||||||
"https://www.googleapis.com/auth/fitness.nutrition.read",
|
"https://www.googleapis.com/auth/fitness.nutrition.read",
|
||||||
"https://www.googleapis.com/auth/fitness.nutrition.write"
|
"https://www.googleapis.com/auth/fitness.nutrition.write",
|
||||||
|
"https://www.googleapis.com/auth/fitness.oxygen_saturation.read",
|
||||||
|
"https://www.googleapis.com/auth/fitness.oxygen_saturation.write",
|
||||||
|
"https://www.googleapis.com/auth/fitness.reproductive_health.read",
|
||||||
|
"https://www.googleapis.com/auth/fitness.reproductive_health.write"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"patch": {
|
"patch": {
|
||||||
@@ -1071,9 +1136,14 @@
|
|||||||
},
|
},
|
||||||
"scopes": [
|
"scopes": [
|
||||||
"https://www.googleapis.com/auth/fitness.activity.write",
|
"https://www.googleapis.com/auth/fitness.activity.write",
|
||||||
|
"https://www.googleapis.com/auth/fitness.blood_glucose.write",
|
||||||
|
"https://www.googleapis.com/auth/fitness.blood_pressure.write",
|
||||||
"https://www.googleapis.com/auth/fitness.body.write",
|
"https://www.googleapis.com/auth/fitness.body.write",
|
||||||
|
"https://www.googleapis.com/auth/fitness.body_temperature.write",
|
||||||
"https://www.googleapis.com/auth/fitness.location.write",
|
"https://www.googleapis.com/auth/fitness.location.write",
|
||||||
"https://www.googleapis.com/auth/fitness.nutrition.write"
|
"https://www.googleapis.com/auth/fitness.nutrition.write",
|
||||||
|
"https://www.googleapis.com/auth/fitness.oxygen_saturation.write",
|
||||||
|
"https://www.googleapis.com/auth/fitness.reproductive_health.write"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"update": {
|
"update": {
|
||||||
@@ -1107,9 +1177,14 @@
|
|||||||
},
|
},
|
||||||
"scopes": [
|
"scopes": [
|
||||||
"https://www.googleapis.com/auth/fitness.activity.write",
|
"https://www.googleapis.com/auth/fitness.activity.write",
|
||||||
|
"https://www.googleapis.com/auth/fitness.blood_glucose.write",
|
||||||
|
"https://www.googleapis.com/auth/fitness.blood_pressure.write",
|
||||||
"https://www.googleapis.com/auth/fitness.body.write",
|
"https://www.googleapis.com/auth/fitness.body.write",
|
||||||
|
"https://www.googleapis.com/auth/fitness.body_temperature.write",
|
||||||
"https://www.googleapis.com/auth/fitness.location.write",
|
"https://www.googleapis.com/auth/fitness.location.write",
|
||||||
"https://www.googleapis.com/auth/fitness.nutrition.write"
|
"https://www.googleapis.com/auth/fitness.nutrition.write",
|
||||||
|
"https://www.googleapis.com/auth/fitness.oxygen_saturation.write",
|
||||||
|
"https://www.googleapis.com/auth/fitness.reproductive_health.write"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -1160,9 +1235,14 @@
|
|||||||
],
|
],
|
||||||
"scopes": [
|
"scopes": [
|
||||||
"https://www.googleapis.com/auth/fitness.activity.write",
|
"https://www.googleapis.com/auth/fitness.activity.write",
|
||||||
|
"https://www.googleapis.com/auth/fitness.blood_glucose.write",
|
||||||
|
"https://www.googleapis.com/auth/fitness.blood_pressure.write",
|
||||||
"https://www.googleapis.com/auth/fitness.body.write",
|
"https://www.googleapis.com/auth/fitness.body.write",
|
||||||
|
"https://www.googleapis.com/auth/fitness.body_temperature.write",
|
||||||
"https://www.googleapis.com/auth/fitness.location.write",
|
"https://www.googleapis.com/auth/fitness.location.write",
|
||||||
"https://www.googleapis.com/auth/fitness.nutrition.write"
|
"https://www.googleapis.com/auth/fitness.nutrition.write",
|
||||||
|
"https://www.googleapis.com/auth/fitness.oxygen_saturation.write",
|
||||||
|
"https://www.googleapis.com/auth/fitness.reproductive_health.write"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"get": {
|
"get": {
|
||||||
@@ -1212,12 +1292,22 @@
|
|||||||
"scopes": [
|
"scopes": [
|
||||||
"https://www.googleapis.com/auth/fitness.activity.read",
|
"https://www.googleapis.com/auth/fitness.activity.read",
|
||||||
"https://www.googleapis.com/auth/fitness.activity.write",
|
"https://www.googleapis.com/auth/fitness.activity.write",
|
||||||
|
"https://www.googleapis.com/auth/fitness.blood_glucose.read",
|
||||||
|
"https://www.googleapis.com/auth/fitness.blood_glucose.write",
|
||||||
|
"https://www.googleapis.com/auth/fitness.blood_pressure.read",
|
||||||
|
"https://www.googleapis.com/auth/fitness.blood_pressure.write",
|
||||||
"https://www.googleapis.com/auth/fitness.body.read",
|
"https://www.googleapis.com/auth/fitness.body.read",
|
||||||
"https://www.googleapis.com/auth/fitness.body.write",
|
"https://www.googleapis.com/auth/fitness.body.write",
|
||||||
|
"https://www.googleapis.com/auth/fitness.body_temperature.read",
|
||||||
|
"https://www.googleapis.com/auth/fitness.body_temperature.write",
|
||||||
"https://www.googleapis.com/auth/fitness.location.read",
|
"https://www.googleapis.com/auth/fitness.location.read",
|
||||||
"https://www.googleapis.com/auth/fitness.location.write",
|
"https://www.googleapis.com/auth/fitness.location.write",
|
||||||
"https://www.googleapis.com/auth/fitness.nutrition.read",
|
"https://www.googleapis.com/auth/fitness.nutrition.read",
|
||||||
"https://www.googleapis.com/auth/fitness.nutrition.write"
|
"https://www.googleapis.com/auth/fitness.nutrition.write",
|
||||||
|
"https://www.googleapis.com/auth/fitness.oxygen_saturation.read",
|
||||||
|
"https://www.googleapis.com/auth/fitness.oxygen_saturation.write",
|
||||||
|
"https://www.googleapis.com/auth/fitness.reproductive_health.read",
|
||||||
|
"https://www.googleapis.com/auth/fitness.reproductive_health.write"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"patch": {
|
"patch": {
|
||||||
@@ -1264,9 +1354,14 @@
|
|||||||
},
|
},
|
||||||
"scopes": [
|
"scopes": [
|
||||||
"https://www.googleapis.com/auth/fitness.activity.write",
|
"https://www.googleapis.com/auth/fitness.activity.write",
|
||||||
|
"https://www.googleapis.com/auth/fitness.blood_glucose.write",
|
||||||
|
"https://www.googleapis.com/auth/fitness.blood_pressure.write",
|
||||||
"https://www.googleapis.com/auth/fitness.body.write",
|
"https://www.googleapis.com/auth/fitness.body.write",
|
||||||
|
"https://www.googleapis.com/auth/fitness.body_temperature.write",
|
||||||
"https://www.googleapis.com/auth/fitness.location.write",
|
"https://www.googleapis.com/auth/fitness.location.write",
|
||||||
"https://www.googleapis.com/auth/fitness.nutrition.write"
|
"https://www.googleapis.com/auth/fitness.nutrition.write",
|
||||||
|
"https://www.googleapis.com/auth/fitness.oxygen_saturation.write",
|
||||||
|
"https://www.googleapis.com/auth/fitness.reproductive_health.write"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -1300,12 +1395,22 @@
|
|||||||
"scopes": [
|
"scopes": [
|
||||||
"https://www.googleapis.com/auth/fitness.activity.read",
|
"https://www.googleapis.com/auth/fitness.activity.read",
|
||||||
"https://www.googleapis.com/auth/fitness.activity.write",
|
"https://www.googleapis.com/auth/fitness.activity.write",
|
||||||
|
"https://www.googleapis.com/auth/fitness.blood_glucose.read",
|
||||||
|
"https://www.googleapis.com/auth/fitness.blood_glucose.write",
|
||||||
|
"https://www.googleapis.com/auth/fitness.blood_pressure.read",
|
||||||
|
"https://www.googleapis.com/auth/fitness.blood_pressure.write",
|
||||||
"https://www.googleapis.com/auth/fitness.body.read",
|
"https://www.googleapis.com/auth/fitness.body.read",
|
||||||
"https://www.googleapis.com/auth/fitness.body.write",
|
"https://www.googleapis.com/auth/fitness.body.write",
|
||||||
|
"https://www.googleapis.com/auth/fitness.body_temperature.read",
|
||||||
|
"https://www.googleapis.com/auth/fitness.body_temperature.write",
|
||||||
"https://www.googleapis.com/auth/fitness.location.read",
|
"https://www.googleapis.com/auth/fitness.location.read",
|
||||||
"https://www.googleapis.com/auth/fitness.location.write",
|
"https://www.googleapis.com/auth/fitness.location.write",
|
||||||
"https://www.googleapis.com/auth/fitness.nutrition.read",
|
"https://www.googleapis.com/auth/fitness.nutrition.read",
|
||||||
"https://www.googleapis.com/auth/fitness.nutrition.write"
|
"https://www.googleapis.com/auth/fitness.nutrition.write",
|
||||||
|
"https://www.googleapis.com/auth/fitness.oxygen_saturation.read",
|
||||||
|
"https://www.googleapis.com/auth/fitness.oxygen_saturation.write",
|
||||||
|
"https://www.googleapis.com/auth/fitness.reproductive_health.read",
|
||||||
|
"https://www.googleapis.com/auth/fitness.reproductive_health.write"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -1387,12 +1492,22 @@
|
|||||||
"scopes": [
|
"scopes": [
|
||||||
"https://www.googleapis.com/auth/fitness.activity.read",
|
"https://www.googleapis.com/auth/fitness.activity.read",
|
||||||
"https://www.googleapis.com/auth/fitness.activity.write",
|
"https://www.googleapis.com/auth/fitness.activity.write",
|
||||||
|
"https://www.googleapis.com/auth/fitness.blood_glucose.read",
|
||||||
|
"https://www.googleapis.com/auth/fitness.blood_glucose.write",
|
||||||
|
"https://www.googleapis.com/auth/fitness.blood_pressure.read",
|
||||||
|
"https://www.googleapis.com/auth/fitness.blood_pressure.write",
|
||||||
"https://www.googleapis.com/auth/fitness.body.read",
|
"https://www.googleapis.com/auth/fitness.body.read",
|
||||||
"https://www.googleapis.com/auth/fitness.body.write",
|
"https://www.googleapis.com/auth/fitness.body.write",
|
||||||
|
"https://www.googleapis.com/auth/fitness.body_temperature.read",
|
||||||
|
"https://www.googleapis.com/auth/fitness.body_temperature.write",
|
||||||
"https://www.googleapis.com/auth/fitness.location.read",
|
"https://www.googleapis.com/auth/fitness.location.read",
|
||||||
"https://www.googleapis.com/auth/fitness.location.write",
|
"https://www.googleapis.com/auth/fitness.location.write",
|
||||||
"https://www.googleapis.com/auth/fitness.nutrition.read",
|
"https://www.googleapis.com/auth/fitness.nutrition.read",
|
||||||
"https://www.googleapis.com/auth/fitness.nutrition.write"
|
"https://www.googleapis.com/auth/fitness.nutrition.write",
|
||||||
|
"https://www.googleapis.com/auth/fitness.oxygen_saturation.read",
|
||||||
|
"https://www.googleapis.com/auth/fitness.oxygen_saturation.write",
|
||||||
|
"https://www.googleapis.com/auth/fitness.reproductive_health.read",
|
||||||
|
"https://www.googleapis.com/auth/fitness.reproductive_health.write"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"update": {
|
"update": {
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"kind": "discovery#restDescription",
|
"kind": "discovery#restDescription",
|
||||||
"etag": "\"C5oy1hgQsABtYOYIOXWcR3BgYqU/-xDlQ3Z80n_rfxYaz7dDf-mP00c\"",
|
"etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/0FCdL0BWEx8yMtZQU6marCZhfgI\"",
|
||||||
"discoveryVersion": "v1",
|
"discoveryVersion": "v1",
|
||||||
"id": "fusiontables:v1",
|
"id": "fusiontables:v1",
|
||||||
"name": "fusiontables",
|
"name": "fusiontables",
|
||||||
@@ -11,8 +11,8 @@
|
|||||||
"ownerDomain": "google.com",
|
"ownerDomain": "google.com",
|
||||||
"ownerName": "Google",
|
"ownerName": "Google",
|
||||||
"icons": {
|
"icons": {
|
||||||
"x16": "http://www.google.com/images/icons/product/search-16.gif",
|
"x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png",
|
||||||
"x32": "http://www.google.com/images/icons/product/search-32.gif"
|
"x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png"
|
||||||
},
|
},
|
||||||
"documentationLink": "https://developers.google.com/fusiontables",
|
"documentationLink": "https://developers.google.com/fusiontables",
|
||||||
"protocol": "rest",
|
"protocol": "rest",
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"kind": "discovery#restDescription",
|
"kind": "discovery#restDescription",
|
||||||
"etag": "\"C5oy1hgQsABtYOYIOXWcR3BgYqU/kDVOG_nLeWEXUFYsMAXo19Rc6tI\"",
|
"etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/QkjGIRroDT5nHgu1Wy3bp0C7GqA\"",
|
||||||
"discoveryVersion": "v1",
|
"discoveryVersion": "v1",
|
||||||
"id": "fusiontables:v2",
|
"id": "fusiontables:v2",
|
||||||
"name": "fusiontables",
|
"name": "fusiontables",
|
||||||
@@ -11,8 +11,8 @@
|
|||||||
"ownerDomain": "google.com",
|
"ownerDomain": "google.com",
|
||||||
"ownerName": "Google",
|
"ownerName": "Google",
|
||||||
"icons": {
|
"icons": {
|
||||||
"x16": "http://www.google.com/images/icons/product/search-16.gif",
|
"x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png",
|
||||||
"x32": "http://www.google.com/images/icons/product/search-32.gif"
|
"x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png"
|
||||||
},
|
},
|
||||||
"documentationLink": "https://developers.google.com/fusiontables",
|
"documentationLink": "https://developers.google.com/fusiontables",
|
||||||
"protocol": "rest",
|
"protocol": "rest",
|
||||||
|
|||||||
@@ -1,19 +1,19 @@
|
|||||||
{
|
{
|
||||||
"kind": "discovery#restDescription",
|
"kind": "discovery#restDescription",
|
||||||
"etag": "\"C5oy1hgQsABtYOYIOXWcR3BgYqU/L-Wk4BXhe_pdw7ImRg3HloxNFiA\"",
|
"etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/di4Um_ykilUe3tcpJDyVB0T7e64\"",
|
||||||
"discoveryVersion": "v1",
|
"discoveryVersion": "v1",
|
||||||
"id": "games:v1",
|
"id": "games:v1",
|
||||||
"name": "games",
|
"name": "games",
|
||||||
"canonicalName": "Games",
|
"canonicalName": "Games",
|
||||||
"version": "v1",
|
"version": "v1",
|
||||||
"revision": "20160901",
|
"revision": "20161207",
|
||||||
"title": "Google Play Game Services API",
|
"title": "Google Play Game Services API",
|
||||||
"description": "The API for Google Play Game Services.",
|
"description": "The API for Google Play Game Services.",
|
||||||
"ownerDomain": "google.com",
|
"ownerDomain": "google.com",
|
||||||
"ownerName": "Google",
|
"ownerName": "Google",
|
||||||
"icons": {
|
"icons": {
|
||||||
"x16": "http://www.google.com/images/icons/product/search-16.gif",
|
"x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png",
|
||||||
"x32": "http://www.google.com/images/icons/product/search-32.gif"
|
"x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png"
|
||||||
},
|
},
|
||||||
"documentationLink": "https://developers.google.com/games/services/",
|
"documentationLink": "https://developers.google.com/games/services/",
|
||||||
"protocol": "rest",
|
"protocol": "rest",
|
||||||
|
|||||||
@@ -1,19 +1,19 @@
|
|||||||
{
|
{
|
||||||
"kind": "discovery#restDescription",
|
"kind": "discovery#restDescription",
|
||||||
"etag": "\"C5oy1hgQsABtYOYIOXWcR3BgYqU/o78OyoeLvLsQCM448N-aWjOFcbY\"",
|
"etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/xMP3-t2S3m8oLMTQw_TGyMQw30Y\"",
|
||||||
"discoveryVersion": "v1",
|
"discoveryVersion": "v1",
|
||||||
"id": "gamesConfiguration:v1configuration",
|
"id": "gamesConfiguration:v1configuration",
|
||||||
"name": "gamesConfiguration",
|
"name": "gamesConfiguration",
|
||||||
"canonicalName": "Games Configuration",
|
"canonicalName": "Games Configuration",
|
||||||
"version": "v1configuration",
|
"version": "v1configuration",
|
||||||
"revision": "20160901",
|
"revision": "20161207",
|
||||||
"title": "Google Play Game Services Publishing API",
|
"title": "Google Play Game Services Publishing API",
|
||||||
"description": "The Publishing API for Google Play Game Services.",
|
"description": "The Publishing API for Google Play Game Services.",
|
||||||
"ownerDomain": "google.com",
|
"ownerDomain": "google.com",
|
||||||
"ownerName": "Google",
|
"ownerName": "Google",
|
||||||
"icons": {
|
"icons": {
|
||||||
"x16": "http://www.google.com/images/icons/product/search-16.gif",
|
"x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png",
|
||||||
"x32": "http://www.google.com/images/icons/product/search-32.gif"
|
"x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png"
|
||||||
},
|
},
|
||||||
"documentationLink": "https://developers.google.com/games/services",
|
"documentationLink": "https://developers.google.com/games/services",
|
||||||
"protocol": "rest",
|
"protocol": "rest",
|
||||||
|
|||||||
@@ -1,19 +1,19 @@
|
|||||||
{
|
{
|
||||||
"kind": "discovery#restDescription",
|
"kind": "discovery#restDescription",
|
||||||
"etag": "\"C5oy1hgQsABtYOYIOXWcR3BgYqU/qREjEbusb3dopi2k7gxmwND6yjQ\"",
|
"etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/YwPBC4iYbpIMphCGliTYOBhrujY\"",
|
||||||
"discoveryVersion": "v1",
|
"discoveryVersion": "v1",
|
||||||
"id": "gamesManagement:v1management",
|
"id": "gamesManagement:v1management",
|
||||||
"name": "gamesManagement",
|
"name": "gamesManagement",
|
||||||
"canonicalName": "Games Management",
|
"canonicalName": "Games Management",
|
||||||
"version": "v1management",
|
"version": "v1management",
|
||||||
"revision": "20160901",
|
"revision": "20161207",
|
||||||
"title": "Google Play Game Services Management API",
|
"title": "Google Play Game Services Management API",
|
||||||
"description": "The Management API for Google Play Game Services.",
|
"description": "The Management API for Google Play Game Services.",
|
||||||
"ownerDomain": "google.com",
|
"ownerDomain": "google.com",
|
||||||
"ownerName": "Google",
|
"ownerName": "Google",
|
||||||
"icons": {
|
"icons": {
|
||||||
"x16": "http://www.google.com/images/icons/product/search-16.gif",
|
"x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png",
|
||||||
"x32": "http://www.google.com/images/icons/product/search-32.gif"
|
"x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png"
|
||||||
},
|
},
|
||||||
"documentationLink": "https://developers.google.com/games/services",
|
"documentationLink": "https://developers.google.com/games/services",
|
||||||
"protocol": "rest",
|
"protocol": "rest",
|
||||||
|
|||||||
@@ -1,11 +1,11 @@
|
|||||||
{
|
{
|
||||||
"kind": "discovery#restDescription",
|
"kind": "discovery#restDescription",
|
||||||
"etag": "\"C5oy1hgQsABtYOYIOXWcR3BgYqU/eElt1TJDnW0IokCJ9H0sGXTCyq0\"",
|
"etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/jo14IJ9oMjJmju16_ICU62ty30c\"",
|
||||||
"discoveryVersion": "v1",
|
"discoveryVersion": "v1",
|
||||||
"id": "genomics:v1",
|
"id": "genomics:v1",
|
||||||
"name": "genomics",
|
"name": "genomics",
|
||||||
"version": "v1",
|
"version": "v1",
|
||||||
"revision": "20160905",
|
"revision": "20160928",
|
||||||
"title": "Genomics API",
|
"title": "Genomics API",
|
||||||
"description": "Stores, processes, explores and shares genomic data.",
|
"description": "Stores, processes, explores and shares genomic data.",
|
||||||
"ownerDomain": "google.com",
|
"ownerDomain": "google.com",
|
||||||
@@ -750,6 +750,24 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"ListOperationsResponse": {
|
||||||
|
"id": "ListOperationsResponse",
|
||||||
|
"type": "object",
|
||||||
|
"description": "The response message for Operations.ListOperations.",
|
||||||
|
"properties": {
|
||||||
|
"operations": {
|
||||||
|
"type": "array",
|
||||||
|
"description": "A list of operations that matches the specified filter in the request.",
|
||||||
|
"items": {
|
||||||
|
"$ref": "Operation"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"nextPageToken": {
|
||||||
|
"type": "string",
|
||||||
|
"description": "The standard List next-page token."
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
"Operation": {
|
"Operation": {
|
||||||
"id": "Operation",
|
"id": "Operation",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
@@ -773,7 +791,7 @@
|
|||||||
},
|
},
|
||||||
"error": {
|
"error": {
|
||||||
"$ref": "Status",
|
"$ref": "Status",
|
||||||
"description": "The error result of the operation in case of failure."
|
"description": "The error result of the operation in case of failure or cancellation."
|
||||||
},
|
},
|
||||||
"response": {
|
"response": {
|
||||||
"type": "object",
|
"type": "object",
|
||||||
@@ -785,24 +803,6 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"ListOperationsResponse": {
|
|
||||||
"id": "ListOperationsResponse",
|
|
||||||
"type": "object",
|
|
||||||
"description": "The response message for Operations.ListOperations.",
|
|
||||||
"properties": {
|
|
||||||
"operations": {
|
|
||||||
"type": "array",
|
|
||||||
"description": "A list of operations that matches the specified filter in the request.",
|
|
||||||
"items": {
|
|
||||||
"$ref": "Operation"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"nextPageToken": {
|
|
||||||
"type": "string",
|
|
||||||
"description": "The standard List next-page token."
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"CancelOperationRequest": {
|
"CancelOperationRequest": {
|
||||||
"id": "CancelOperationRequest",
|
"id": "CancelOperationRequest",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
@@ -2244,7 +2244,7 @@
|
|||||||
},
|
},
|
||||||
"clientId": {
|
"clientId": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "Optionally provided by the caller when submitting the request that creates the operation."
|
"description": "This field is deprecated. Use `labels` instead. Optionally provided by the caller when submitting the request that creates the operation."
|
||||||
},
|
},
|
||||||
"runtimeMetadata": {
|
"runtimeMetadata": {
|
||||||
"type": "object",
|
"type": "object",
|
||||||
@@ -2253,6 +2253,13 @@
|
|||||||
"type": "any",
|
"type": "any",
|
||||||
"description": "Properties of the object. Contains field @type with type URL."
|
"description": "Properties of the object. Contains field @type with type URL."
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"labels": {
|
||||||
|
"type": "object",
|
||||||
|
"description": "Optionally provided by the caller when submitting the request that creates the operation.",
|
||||||
|
"additionalProperties": {
|
||||||
|
"type": "string"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -2734,7 +2741,7 @@
|
|||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "REQUIRED: The resource for which policy is being specified. Format is `datasets/`.",
|
"description": "REQUIRED: The resource for which policy is being specified. Format is `datasets/`.",
|
||||||
"required": true,
|
"required": true,
|
||||||
"pattern": "^datasets/[^/]*$",
|
"pattern": "^datasets/[^/]+$",
|
||||||
"location": "path"
|
"location": "path"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -2762,7 +2769,7 @@
|
|||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "REQUIRED: The resource for which policy is being specified. Format is `datasets/`.",
|
"description": "REQUIRED: The resource for which policy is being specified. Format is `datasets/`.",
|
||||||
"required": true,
|
"required": true,
|
||||||
"pattern": "^datasets/[^/]*$",
|
"pattern": "^datasets/[^/]+$",
|
||||||
"location": "path"
|
"location": "path"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -2790,7 +2797,7 @@
|
|||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "REQUIRED: The resource for which policy is being specified. Format is `datasets/`.",
|
"description": "REQUIRED: The resource for which policy is being specified. Format is `datasets/`.",
|
||||||
"required": true,
|
"required": true,
|
||||||
"pattern": "^datasets/[^/]*$",
|
"pattern": "^datasets/[^/]+$",
|
||||||
"location": "path"
|
"location": "path"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -2812,31 +2819,6 @@
|
|||||||
},
|
},
|
||||||
"operations": {
|
"operations": {
|
||||||
"methods": {
|
"methods": {
|
||||||
"get": {
|
|
||||||
"id": "genomics.operations.get",
|
|
||||||
"path": "v1/{+name}",
|
|
||||||
"httpMethod": "GET",
|
|
||||||
"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.",
|
|
||||||
"parameters": {
|
|
||||||
"name": {
|
|
||||||
"type": "string",
|
|
||||||
"description": "The name of the operation resource.",
|
|
||||||
"required": true,
|
|
||||||
"pattern": "^operations/.*$",
|
|
||||||
"location": "path"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"parameterOrder": [
|
|
||||||
"name"
|
|
||||||
],
|
|
||||||
"response": {
|
|
||||||
"$ref": "Operation"
|
|
||||||
},
|
|
||||||
"scopes": [
|
|
||||||
"https://www.googleapis.com/auth/cloud-platform",
|
|
||||||
"https://www.googleapis.com/auth/genomics"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"list": {
|
"list": {
|
||||||
"id": "genomics.operations.list",
|
"id": "genomics.operations.list",
|
||||||
"path": "v1/{+name}",
|
"path": "v1/{+name}",
|
||||||
@@ -2852,7 +2834,7 @@
|
|||||||
},
|
},
|
||||||
"filter": {
|
"filter": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "A string for filtering Operations. The following filter fields are supported: * projectId: Required. Corresponds to OperationMetadata.projectId. * createTime: The time this job was created, in seconds from the [epoch](http://en.wikipedia.org/wiki/Unix_time). Can use `\u003e=` and/or `= 1432140000` * `projectId = my-project AND createTime \u003e= 1432140000 AND createTime \u003c= 1432150000 AND status = RUNNING`",
|
"description": "A string for filtering Operations. The following filter fields are supported: * projectId: Required. Corresponds to OperationMetadata.projectId. * createTime: The time this job was created, in seconds from the [epoch](http://en.wikipedia.org/wiki/Unix_time). Can use `\u003e=` and/or `= 1432140000` * `projectId = my-project AND createTime \u003e= 1432140000 AND createTime \u003c= 1432150000 AND status = RUNNING` * `projectId = my-project AND labels.color = *` * `projectId = my-project AND labels.color = red`",
|
||||||
"location": "query"
|
"location": "query"
|
||||||
},
|
},
|
||||||
"pageSize": {
|
"pageSize": {
|
||||||
@@ -2878,6 +2860,31 @@
|
|||||||
"https://www.googleapis.com/auth/genomics"
|
"https://www.googleapis.com/auth/genomics"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
"get": {
|
||||||
|
"id": "genomics.operations.get",
|
||||||
|
"path": "v1/{+name}",
|
||||||
|
"httpMethod": "GET",
|
||||||
|
"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.",
|
||||||
|
"parameters": {
|
||||||
|
"name": {
|
||||||
|
"type": "string",
|
||||||
|
"description": "The name of the operation resource.",
|
||||||
|
"required": true,
|
||||||
|
"pattern": "^operations/.+$",
|
||||||
|
"location": "path"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"parameterOrder": [
|
||||||
|
"name"
|
||||||
|
],
|
||||||
|
"response": {
|
||||||
|
"$ref": "Operation"
|
||||||
|
},
|
||||||
|
"scopes": [
|
||||||
|
"https://www.googleapis.com/auth/cloud-platform",
|
||||||
|
"https://www.googleapis.com/auth/genomics"
|
||||||
|
]
|
||||||
|
},
|
||||||
"cancel": {
|
"cancel": {
|
||||||
"id": "genomics.operations.cancel",
|
"id": "genomics.operations.cancel",
|
||||||
"path": "v1/{+name}:cancel",
|
"path": "v1/{+name}:cancel",
|
||||||
@@ -2888,7 +2895,7 @@
|
|||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "The name of the operation resource to be cancelled.",
|
"description": "The name of the operation resource to be cancelled.",
|
||||||
"required": true,
|
"required": true,
|
||||||
"pattern": "^operations/.*$",
|
"pattern": "^operations/.+$",
|
||||||
"location": "path"
|
"location": "path"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -1,11 +1,11 @@
|
|||||||
{
|
{
|
||||||
"kind": "discovery#restDescription",
|
"kind": "discovery#restDescription",
|
||||||
"etag": "\"C5oy1hgQsABtYOYIOXWcR3BgYqU/W87lVft6jezJJo2WLSMnHm7oS64\"",
|
"etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/sdWGjK18RRF0Jy_-SVhZDih5U4M\"",
|
||||||
"discoveryVersion": "v1",
|
"discoveryVersion": "v1",
|
||||||
"id": "genomics:v1alpha2",
|
"id": "genomics:v1alpha2",
|
||||||
"name": "genomics",
|
"name": "genomics",
|
||||||
"version": "v1alpha2",
|
"version": "v1alpha2",
|
||||||
"revision": "20160905",
|
"revision": "20160928",
|
||||||
"title": "Genomics API",
|
"title": "Genomics API",
|
||||||
"description": "Stores, processes, explores and shares genomic data.",
|
"description": "Stores, processes, explores and shares genomic data.",
|
||||||
"ownerDomain": "google.com",
|
"ownerDomain": "google.com",
|
||||||
@@ -116,6 +116,24 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"schemas": {
|
"schemas": {
|
||||||
|
"ListOperationsResponse": {
|
||||||
|
"id": "ListOperationsResponse",
|
||||||
|
"type": "object",
|
||||||
|
"description": "The response message for Operations.ListOperations.",
|
||||||
|
"properties": {
|
||||||
|
"operations": {
|
||||||
|
"type": "array",
|
||||||
|
"description": "A list of operations that matches the specified filter in the request.",
|
||||||
|
"items": {
|
||||||
|
"$ref": "Operation"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"nextPageToken": {
|
||||||
|
"type": "string",
|
||||||
|
"description": "The standard List next-page token."
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
"Operation": {
|
"Operation": {
|
||||||
"id": "Operation",
|
"id": "Operation",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
@@ -139,7 +157,7 @@
|
|||||||
},
|
},
|
||||||
"error": {
|
"error": {
|
||||||
"$ref": "Status",
|
"$ref": "Status",
|
||||||
"description": "The error result of the operation in case of failure."
|
"description": "The error result of the operation in case of failure or cancellation."
|
||||||
},
|
},
|
||||||
"response": {
|
"response": {
|
||||||
"type": "object",
|
"type": "object",
|
||||||
@@ -178,24 +196,6 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"ListOperationsResponse": {
|
|
||||||
"id": "ListOperationsResponse",
|
|
||||||
"type": "object",
|
|
||||||
"description": "The response message for Operations.ListOperations.",
|
|
||||||
"properties": {
|
|
||||||
"operations": {
|
|
||||||
"type": "array",
|
|
||||||
"description": "A list of operations that matches the specified filter in the request.",
|
|
||||||
"items": {
|
|
||||||
"$ref": "Operation"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"nextPageToken": {
|
|
||||||
"type": "string",
|
|
||||||
"description": "The standard List next-page token."
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"CancelOperationRequest": {
|
"CancelOperationRequest": {
|
||||||
"id": "CancelOperationRequest",
|
"id": "CancelOperationRequest",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
@@ -296,11 +296,11 @@
|
|||||||
"properties": {
|
"properties": {
|
||||||
"imageName": {
|
"imageName": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "Required. Image name from either Docker Hub or Google Container Repository. Users that run pipelines must have READ access to the image."
|
"description": "Required. Image name from either Docker Hub or Google Container Registry. Users that run pipelines must have READ access to the image."
|
||||||
},
|
},
|
||||||
"cmd": {
|
"cmd": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "Required. The command string to run. Parameters that do not have `localCopy` specified should be used as environment variables, while those that do can be accessed at the defined paths."
|
"description": "Required. The command or newline delimited script to run. The command string will be executed within a bash shell. If the command exits with a non-zero exit code, output parameter de-localization will be skipped and the pipeline operation's `error` field will be populated. Maximum command string length is 16384."
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -344,7 +344,7 @@
|
|||||||
},
|
},
|
||||||
"noAddress": {
|
"noAddress": {
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
"description": "Whether to assign an external IP to the instance. Defaults to false. Corresponds to `--no_address` flag for [gcloud compute instances create] (https://cloud.google.com/sdk/gcloud/reference/compute/instances/create). In order to use this, must be true for both create time and run time. Cannot be true at run time if false at create time. ** Note: To use this option, your project must be in Google Access for Private IPs Early Access Program.**"
|
"description": "Whether to assign an external IP to the instance. This is an experimental feature that may go away. Defaults to false. Corresponds to `--no_address` flag for [gcloud compute instances create] (https://cloud.google.com/sdk/gcloud/reference/compute/instances/create). In order to use this, must be true for both create time and run time. Cannot be true at run time if false at create time. If you need to ssh into a private IP VM for debugging, you can ssh to a public VM and then ssh into the private VM's Internal IP. If noAddress is set, this pipeline run may only load docker images from Google Container Registry and not Docker Hub. ** Note: To use this option, your project must be in Google Access for Private IPs Early Access Program.**"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -438,7 +438,7 @@
|
|||||||
},
|
},
|
||||||
"clientId": {
|
"clientId": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "Client-specified pipeline operation identifier."
|
"description": "This field is deprecated. Use `labels` instead. Client-specified pipeline operation identifier."
|
||||||
},
|
},
|
||||||
"resources": {
|
"resources": {
|
||||||
"$ref": "PipelineResources",
|
"$ref": "PipelineResources",
|
||||||
@@ -451,6 +451,13 @@
|
|||||||
"keepVmAliveOnFailureDuration": {
|
"keepVmAliveOnFailureDuration": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "How long to keep the VM up after a failure (for example docker command failed, copying input or output files failed, etc). While the VM is up, one can ssh into the VM to debug. Default is 0; maximum allowed value is 1 day."
|
"description": "How long to keep the VM up after a failure (for example docker command failed, copying input or output files failed, etc). While the VM is up, one can ssh into the VM to debug. Default is 0; maximum allowed value is 1 day."
|
||||||
|
},
|
||||||
|
"labels": {
|
||||||
|
"type": "object",
|
||||||
|
"description": "Labels to apply to this pipeline run. Labels will also be applied to compute resources (VM, disks) created by this pipeline run. When listing operations, operations can filtered by labels. Label keys may not be empty; label values may be empty. Non-empty labels must be 1-63 characters long, and comply with [RFC1035] (https://www.ietf.org/rfc/rfc1035.txt). Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.",
|
||||||
|
"additionalProperties": {
|
||||||
|
"type": "string"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -465,7 +472,7 @@
|
|||||||
},
|
},
|
||||||
"scopes": {
|
"scopes": {
|
||||||
"type": "array",
|
"type": "array",
|
||||||
"description": "List of scopes to be enabled for this service account on the pipeline virtual machine. The following scopes are automatically included: * https://www.googleapis.com/auth/genomics * https://www.googleapis.com/auth/compute * https://www.googleapis.com/auth/devstorage.full_control",
|
"description": "List of scopes to be enabled for this service account on the VM. The following scopes are automatically included: * https://www.googleapis.com/auth/compute * https://www.googleapis.com/auth/devstorage.full_control * https://www.googleapis.com/auth/genomics * https://www.googleapis.com/auth/logging.write * https://www.googleapis.com/auth/monitoring.write",
|
||||||
"items": {
|
"items": {
|
||||||
"type": "string"
|
"type": "string"
|
||||||
}
|
}
|
||||||
@@ -682,7 +689,7 @@
|
|||||||
},
|
},
|
||||||
"clientId": {
|
"clientId": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "Optionally provided by the caller when submitting the request that creates the operation."
|
"description": "This field is deprecated. Use `labels` instead. Optionally provided by the caller when submitting the request that creates the operation."
|
||||||
},
|
},
|
||||||
"runtimeMetadata": {
|
"runtimeMetadata": {
|
||||||
"type": "object",
|
"type": "object",
|
||||||
@@ -691,6 +698,13 @@
|
|||||||
"type": "any",
|
"type": "any",
|
||||||
"description": "Properties of the object. Contains field @type with type URL."
|
"description": "Properties of the object. Contains field @type with type URL."
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"labels": {
|
||||||
|
"type": "object",
|
||||||
|
"description": "Optionally provided by the caller when submitting the request that creates the operation.",
|
||||||
|
"additionalProperties": {
|
||||||
|
"type": "string"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -754,31 +768,6 @@
|
|||||||
"resources": {
|
"resources": {
|
||||||
"operations": {
|
"operations": {
|
||||||
"methods": {
|
"methods": {
|
||||||
"get": {
|
|
||||||
"id": "genomics.operations.get",
|
|
||||||
"path": "v1alpha2/{+name}",
|
|
||||||
"httpMethod": "GET",
|
|
||||||
"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.",
|
|
||||||
"parameters": {
|
|
||||||
"name": {
|
|
||||||
"type": "string",
|
|
||||||
"description": "The name of the operation resource.",
|
|
||||||
"required": true,
|
|
||||||
"pattern": "^operations/.*$",
|
|
||||||
"location": "path"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"parameterOrder": [
|
|
||||||
"name"
|
|
||||||
],
|
|
||||||
"response": {
|
|
||||||
"$ref": "Operation"
|
|
||||||
},
|
|
||||||
"scopes": [
|
|
||||||
"https://www.googleapis.com/auth/cloud-platform",
|
|
||||||
"https://www.googleapis.com/auth/genomics"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"list": {
|
"list": {
|
||||||
"id": "genomics.operations.list",
|
"id": "genomics.operations.list",
|
||||||
"path": "v1alpha2/{+name}",
|
"path": "v1alpha2/{+name}",
|
||||||
@@ -794,7 +783,7 @@
|
|||||||
},
|
},
|
||||||
"filter": {
|
"filter": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "A string for filtering Operations. The following filter fields are supported: * projectId: Required. Corresponds to OperationMetadata.projectId. * createTime: The time this job was created, in seconds from the [epoch](http://en.wikipedia.org/wiki/Unix_time). Can use `\u003e=` and/or `= 1432140000` * `projectId = my-project AND createTime \u003e= 1432140000 AND createTime \u003c= 1432150000 AND status = RUNNING`",
|
"description": "A string for filtering Operations. The following filter fields are supported: * projectId: Required. Corresponds to OperationMetadata.projectId. * createTime: The time this job was created, in seconds from the [epoch](http://en.wikipedia.org/wiki/Unix_time). Can use `\u003e=` and/or `= 1432140000` * `projectId = my-project AND createTime \u003e= 1432140000 AND createTime \u003c= 1432150000 AND status = RUNNING` * `projectId = my-project AND labels.color = *` * `projectId = my-project AND labels.color = red`",
|
||||||
"location": "query"
|
"location": "query"
|
||||||
},
|
},
|
||||||
"pageSize": {
|
"pageSize": {
|
||||||
@@ -820,6 +809,31 @@
|
|||||||
"https://www.googleapis.com/auth/genomics"
|
"https://www.googleapis.com/auth/genomics"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
"get": {
|
||||||
|
"id": "genomics.operations.get",
|
||||||
|
"path": "v1alpha2/{+name}",
|
||||||
|
"httpMethod": "GET",
|
||||||
|
"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.",
|
||||||
|
"parameters": {
|
||||||
|
"name": {
|
||||||
|
"type": "string",
|
||||||
|
"description": "The name of the operation resource.",
|
||||||
|
"required": true,
|
||||||
|
"pattern": "^operations/.+$",
|
||||||
|
"location": "path"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"parameterOrder": [
|
||||||
|
"name"
|
||||||
|
],
|
||||||
|
"response": {
|
||||||
|
"$ref": "Operation"
|
||||||
|
},
|
||||||
|
"scopes": [
|
||||||
|
"https://www.googleapis.com/auth/cloud-platform",
|
||||||
|
"https://www.googleapis.com/auth/genomics"
|
||||||
|
]
|
||||||
|
},
|
||||||
"cancel": {
|
"cancel": {
|
||||||
"id": "genomics.operations.cancel",
|
"id": "genomics.operations.cancel",
|
||||||
"path": "v1alpha2/{+name}:cancel",
|
"path": "v1alpha2/{+name}:cancel",
|
||||||
@@ -830,7 +844,7 @@
|
|||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "The name of the operation resource to be cancelled.",
|
"description": "The name of the operation resource to be cancelled.",
|
||||||
"required": true,
|
"required": true,
|
||||||
"pattern": "^operations/.*$",
|
"pattern": "^operations/.+$",
|
||||||
"location": "path"
|
"location": "path"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -1,11 +1,11 @@
|
|||||||
{
|
{
|
||||||
"kind": "discovery#restDescription",
|
"kind": "discovery#restDescription",
|
||||||
"etag": "\"C5oy1hgQsABtYOYIOXWcR3BgYqU/c9szhoCXYrKaLKrzYGmZhJZBHUc\"",
|
"etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/p_Ki8ZAiDCpzN2N5osErTV2szew\"",
|
||||||
"discoveryVersion": "v1",
|
"discoveryVersion": "v1",
|
||||||
"id": "gmail:v1",
|
"id": "gmail:v1",
|
||||||
"name": "gmail",
|
"name": "gmail",
|
||||||
"version": "v1",
|
"version": "v1",
|
||||||
"revision": "20160711",
|
"revision": "20161206",
|
||||||
"title": "Gmail API",
|
"title": "Gmail API",
|
||||||
"description": "Access Gmail mailboxes including sending user email.",
|
"description": "Access Gmail mailboxes including sending user email.",
|
||||||
"ownerDomain": "google.com",
|
"ownerDomain": "google.com",
|
||||||
@@ -81,6 +81,9 @@
|
|||||||
"https://www.googleapis.com/auth/gmail.labels": {
|
"https://www.googleapis.com/auth/gmail.labels": {
|
||||||
"description": "Manage mailbox labels"
|
"description": "Manage mailbox labels"
|
||||||
},
|
},
|
||||||
|
"https://www.googleapis.com/auth/gmail.metadata": {
|
||||||
|
"description": "View your email message metadata such as labels and headers, but not the email body"
|
||||||
|
},
|
||||||
"https://www.googleapis.com/auth/gmail.modify": {
|
"https://www.googleapis.com/auth/gmail.modify": {
|
||||||
"description": "View and modify but not delete your email"
|
"description": "View and modify but not delete your email"
|
||||||
},
|
},
|
||||||
@@ -146,6 +149,33 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"BatchModifyMessagesRequest": {
|
||||||
|
"id": "BatchModifyMessagesRequest",
|
||||||
|
"type": "object",
|
||||||
|
"properties": {
|
||||||
|
"addLabelIds": {
|
||||||
|
"type": "array",
|
||||||
|
"description": "A list of label IDs to add to messages.",
|
||||||
|
"items": {
|
||||||
|
"type": "string"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"ids": {
|
||||||
|
"type": "array",
|
||||||
|
"description": "The IDs of the messages to modify. There is a limit of 1000 ids per request.",
|
||||||
|
"items": {
|
||||||
|
"type": "string"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"removeLabelIds": {
|
||||||
|
"type": "array",
|
||||||
|
"description": "A list of label IDs to remove from messages.",
|
||||||
|
"items": {
|
||||||
|
"type": "string"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
"Draft": {
|
"Draft": {
|
||||||
"id": "Draft",
|
"id": "Draft",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
@@ -767,12 +797,12 @@
|
|||||||
},
|
},
|
||||||
"data": {
|
"data": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "The body data of a MIME message part. May be empty for MIME container types that have no message body or when the body data is sent as a separate attachment. An attachment ID is present if the body data is contained in a separate attachment.",
|
"description": "The body data of a MIME message part as a base64url encoded string. May be empty for MIME container types that have no message body or when the body data is sent as a separate attachment. An attachment ID is present if the body data is contained in a separate attachment.",
|
||||||
"format": "byte"
|
"format": "byte"
|
||||||
},
|
},
|
||||||
"size": {
|
"size": {
|
||||||
"type": "integer",
|
"type": "integer",
|
||||||
"description": "Total number of bytes in the body of the message part.",
|
"description": "Number of bytes for the message part data (encoding notwithstanding).",
|
||||||
"format": "int32"
|
"format": "int32"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -901,7 +931,7 @@
|
|||||||
"SendAs": {
|
"SendAs": {
|
||||||
"id": "SendAs",
|
"id": "SendAs",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"description": "Settings associated with a send-as alias, which can be either the primary login address associated with the account or a custom \"from\" address. Send-as aliases correspond to the \"Send Mail As\" feature in the web interface. See for more details.",
|
"description": "Settings associated with a send-as alias, which can be either the primary login address associated with the account or a custom \"from\" address. Send-as aliases correspond to the \"Send Mail As\" feature in the web interface.",
|
||||||
"properties": {
|
"properties": {
|
||||||
"displayName": {
|
"displayName": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
@@ -933,7 +963,7 @@
|
|||||||
},
|
},
|
||||||
"treatAsAlias": {
|
"treatAsAlias": {
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
"description": "Whether Gmail should treat this address as an alias for the user's primary email address. See for more details. This setting only applies to custom \"from\" aliases."
|
"description": "Whether Gmail should treat this address as an alias for the user's primary email address. This setting only applies to custom \"from\" aliases."
|
||||||
},
|
},
|
||||||
"verificationStatus": {
|
"verificationStatus": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
@@ -1021,7 +1051,7 @@
|
|||||||
"VacationSettings": {
|
"VacationSettings": {
|
||||||
"id": "VacationSettings",
|
"id": "VacationSettings",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"description": "Vacation auto-reply settings for an account. These settings correspond to the \"Vacation responder\" feature in the web interface. See for more details.",
|
"description": "Vacation auto-reply settings for an account. These settings correspond to the \"Vacation responder\" feature in the web interface.",
|
||||||
"properties": {
|
"properties": {
|
||||||
"enableAutoReply": {
|
"enableAutoReply": {
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
@@ -1133,6 +1163,7 @@
|
|||||||
"scopes": [
|
"scopes": [
|
||||||
"https://mail.google.com/",
|
"https://mail.google.com/",
|
||||||
"https://www.googleapis.com/auth/gmail.compose",
|
"https://www.googleapis.com/auth/gmail.compose",
|
||||||
|
"https://www.googleapis.com/auth/gmail.metadata",
|
||||||
"https://www.googleapis.com/auth/gmail.modify",
|
"https://www.googleapis.com/auth/gmail.modify",
|
||||||
"https://www.googleapis.com/auth/gmail.readonly"
|
"https://www.googleapis.com/auth/gmail.readonly"
|
||||||
]
|
]
|
||||||
@@ -1156,6 +1187,7 @@
|
|||||||
],
|
],
|
||||||
"scopes": [
|
"scopes": [
|
||||||
"https://mail.google.com/",
|
"https://mail.google.com/",
|
||||||
|
"https://www.googleapis.com/auth/gmail.metadata",
|
||||||
"https://www.googleapis.com/auth/gmail.modify",
|
"https://www.googleapis.com/auth/gmail.modify",
|
||||||
"https://www.googleapis.com/auth/gmail.readonly"
|
"https://www.googleapis.com/auth/gmail.readonly"
|
||||||
]
|
]
|
||||||
@@ -1185,6 +1217,7 @@
|
|||||||
},
|
},
|
||||||
"scopes": [
|
"scopes": [
|
||||||
"https://mail.google.com/",
|
"https://mail.google.com/",
|
||||||
|
"https://www.googleapis.com/auth/gmail.metadata",
|
||||||
"https://www.googleapis.com/auth/gmail.modify",
|
"https://www.googleapis.com/auth/gmail.modify",
|
||||||
"https://www.googleapis.com/auth/gmail.readonly"
|
"https://www.googleapis.com/auth/gmail.readonly"
|
||||||
]
|
]
|
||||||
@@ -1519,6 +1552,7 @@
|
|||||||
},
|
},
|
||||||
"scopes": [
|
"scopes": [
|
||||||
"https://mail.google.com/",
|
"https://mail.google.com/",
|
||||||
|
"https://www.googleapis.com/auth/gmail.metadata",
|
||||||
"https://www.googleapis.com/auth/gmail.modify",
|
"https://www.googleapis.com/auth/gmail.modify",
|
||||||
"https://www.googleapis.com/auth/gmail.readonly"
|
"https://www.googleapis.com/auth/gmail.readonly"
|
||||||
]
|
]
|
||||||
@@ -1616,6 +1650,7 @@
|
|||||||
"scopes": [
|
"scopes": [
|
||||||
"https://mail.google.com/",
|
"https://mail.google.com/",
|
||||||
"https://www.googleapis.com/auth/gmail.labels",
|
"https://www.googleapis.com/auth/gmail.labels",
|
||||||
|
"https://www.googleapis.com/auth/gmail.metadata",
|
||||||
"https://www.googleapis.com/auth/gmail.modify",
|
"https://www.googleapis.com/auth/gmail.modify",
|
||||||
"https://www.googleapis.com/auth/gmail.readonly"
|
"https://www.googleapis.com/auth/gmail.readonly"
|
||||||
]
|
]
|
||||||
@@ -1643,6 +1678,7 @@
|
|||||||
"scopes": [
|
"scopes": [
|
||||||
"https://mail.google.com/",
|
"https://mail.google.com/",
|
||||||
"https://www.googleapis.com/auth/gmail.labels",
|
"https://www.googleapis.com/auth/gmail.labels",
|
||||||
|
"https://www.googleapis.com/auth/gmail.metadata",
|
||||||
"https://www.googleapis.com/auth/gmail.modify",
|
"https://www.googleapis.com/auth/gmail.modify",
|
||||||
"https://www.googleapis.com/auth/gmail.readonly"
|
"https://www.googleapis.com/auth/gmail.readonly"
|
||||||
]
|
]
|
||||||
@@ -1747,6 +1783,31 @@
|
|||||||
"https://mail.google.com/"
|
"https://mail.google.com/"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
"batchModify": {
|
||||||
|
"id": "gmail.users.messages.batchModify",
|
||||||
|
"path": "{userId}/messages/batchModify",
|
||||||
|
"httpMethod": "POST",
|
||||||
|
"description": "Modifies the labels on the specified messages.",
|
||||||
|
"parameters": {
|
||||||
|
"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"
|
||||||
|
],
|
||||||
|
"request": {
|
||||||
|
"$ref": "BatchModifyMessagesRequest"
|
||||||
|
},
|
||||||
|
"scopes": [
|
||||||
|
"https://mail.google.com/",
|
||||||
|
"https://www.googleapis.com/auth/gmail.modify"
|
||||||
|
]
|
||||||
|
},
|
||||||
"delete": {
|
"delete": {
|
||||||
"id": "gmail.users.messages.delete",
|
"id": "gmail.users.messages.delete",
|
||||||
"path": "{userId}/messages/{id}",
|
"path": "{userId}/messages/{id}",
|
||||||
@@ -1828,6 +1889,7 @@
|
|||||||
},
|
},
|
||||||
"scopes": [
|
"scopes": [
|
||||||
"https://mail.google.com/",
|
"https://mail.google.com/",
|
||||||
|
"https://www.googleapis.com/auth/gmail.metadata",
|
||||||
"https://www.googleapis.com/auth/gmail.modify",
|
"https://www.googleapis.com/auth/gmail.modify",
|
||||||
"https://www.googleapis.com/auth/gmail.readonly"
|
"https://www.googleapis.com/auth/gmail.readonly"
|
||||||
]
|
]
|
||||||
@@ -2008,7 +2070,7 @@
|
|||||||
},
|
},
|
||||||
"q": {
|
"q": {
|
||||||
"type": "string",
|
"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\".",
|
"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.",
|
||||||
"location": "query"
|
"location": "query"
|
||||||
},
|
},
|
||||||
"userId": {
|
"userId": {
|
||||||
@@ -2027,6 +2089,7 @@
|
|||||||
},
|
},
|
||||||
"scopes": [
|
"scopes": [
|
||||||
"https://mail.google.com/",
|
"https://mail.google.com/",
|
||||||
|
"https://www.googleapis.com/auth/gmail.metadata",
|
||||||
"https://www.googleapis.com/auth/gmail.modify",
|
"https://www.googleapis.com/auth/gmail.modify",
|
||||||
"https://www.googleapis.com/auth/gmail.readonly"
|
"https://www.googleapis.com/auth/gmail.readonly"
|
||||||
]
|
]
|
||||||
@@ -2986,6 +3049,7 @@
|
|||||||
},
|
},
|
||||||
"scopes": [
|
"scopes": [
|
||||||
"https://mail.google.com/",
|
"https://mail.google.com/",
|
||||||
|
"https://www.googleapis.com/auth/gmail.metadata",
|
||||||
"https://www.googleapis.com/auth/gmail.modify",
|
"https://www.googleapis.com/auth/gmail.modify",
|
||||||
"https://www.googleapis.com/auth/gmail.readonly"
|
"https://www.googleapis.com/auth/gmail.readonly"
|
||||||
]
|
]
|
||||||
@@ -3022,7 +3086,7 @@
|
|||||||
},
|
},
|
||||||
"q": {
|
"q": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "Only return threads matching the specified query. Supports the same query format as the Gmail search box. For example, \"from:someuser@example.com rfc822msgid: is:unread\".",
|
"description": "Only return threads 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.",
|
||||||
"location": "query"
|
"location": "query"
|
||||||
},
|
},
|
||||||
"userId": {
|
"userId": {
|
||||||
@@ -3041,6 +3105,7 @@
|
|||||||
},
|
},
|
||||||
"scopes": [
|
"scopes": [
|
||||||
"https://mail.google.com/",
|
"https://mail.google.com/",
|
||||||
|
"https://www.googleapis.com/auth/gmail.metadata",
|
||||||
"https://www.googleapis.com/auth/gmail.modify",
|
"https://www.googleapis.com/auth/gmail.modify",
|
||||||
"https://www.googleapis.com/auth/gmail.readonly"
|
"https://www.googleapis.com/auth/gmail.readonly"
|
||||||
]
|
]
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"kind": "discovery#restDescription",
|
"kind": "discovery#restDescription",
|
||||||
"etag": "\"C5oy1hgQsABtYOYIOXWcR3BgYqU/HWdr3QolTxcnkwueTlDTCxOXBdE\"",
|
"etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/HWdr3QolTxcnkwueTlDTCxOXBdE\"",
|
||||||
"discoveryVersion": "v1",
|
"discoveryVersion": "v1",
|
||||||
"id": "groupsmigration:v1",
|
"id": "groupsmigration:v1",
|
||||||
"name": "groupsmigration",
|
"name": "groupsmigration",
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"kind": "discovery#restDescription",
|
"kind": "discovery#restDescription",
|
||||||
"etag": "\"C5oy1hgQsABtYOYIOXWcR3BgYqU/WmR-pRQA43Avmy6ShfhWJLW2ne8\"",
|
"etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/26Y5Yyn2D8WwxhPa2zJyQ3Axz8I\"",
|
||||||
"discoveryVersion": "v1",
|
"discoveryVersion": "v1",
|
||||||
"id": "groupssettings:v1",
|
"id": "groupssettings:v1",
|
||||||
"name": "groupssettings",
|
"name": "groupssettings",
|
||||||
@@ -11,8 +11,8 @@
|
|||||||
"ownerDomain": "google.com",
|
"ownerDomain": "google.com",
|
||||||
"ownerName": "Google",
|
"ownerName": "Google",
|
||||||
"icons": {
|
"icons": {
|
||||||
"x16": "http://www.google.com/images/icons/product/search-16.gif",
|
"x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png",
|
||||||
"x32": "http://www.google.com/images/icons/product/search-32.gif"
|
"x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png"
|
||||||
},
|
},
|
||||||
"documentationLink": "https://developers.google.com/google-apps/groups-settings/get_started",
|
"documentationLink": "https://developers.google.com/google-apps/groups-settings/get_started",
|
||||||
"protocol": "rest",
|
"protocol": "rest",
|
||||||
|
|||||||
@@ -1,12 +1,13 @@
|
|||||||
{
|
{
|
||||||
"kind": "discovery#restDescription",
|
"kind": "discovery#restDescription",
|
||||||
"etag": "\"C5oy1hgQsABtYOYIOXWcR3BgYqU/KGIJuBPLol6TqL9arf5YOmp-wQ0\"",
|
"etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/bQX0iw41CX8vYvVm7WSKLdyxMvI\"",
|
||||||
"discoveryVersion": "v1",
|
"discoveryVersion": "v1",
|
||||||
"id": "iam:v1",
|
"id": "iam:v1",
|
||||||
"name": "iam",
|
"name": "iam",
|
||||||
|
"canonicalName": "iam",
|
||||||
"version": "v1",
|
"version": "v1",
|
||||||
"revision": "20160129",
|
"revision": "20160915",
|
||||||
"title": "Google Identity and Access Management API",
|
"title": "Google Identity and Access Management (IAM) API",
|
||||||
"description": "Manages identity and access control for Google Cloud Platform resources, including the creation of service accounts, which you can use to authenticate to Google and make API calls.",
|
"description": "Manages identity and access control for Google Cloud Platform resources, including the creation of service accounts, which you can use to authenticate to Google and make API calls.",
|
||||||
"ownerDomain": "google.com",
|
"ownerDomain": "google.com",
|
||||||
"ownerName": "Google",
|
"ownerName": "Google",
|
||||||
@@ -125,18 +126,18 @@
|
|||||||
},
|
},
|
||||||
"nextPageToken": {
|
"nextPageToken": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "To retrieve the next page of results, set [ListServiceAccountsRequest.page_token] to this value."
|
"description": "To retrieve the next page of results, set ListServiceAccountsRequest.page_token to this value."
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"ServiceAccount": {
|
"ServiceAccount": {
|
||||||
"id": "ServiceAccount",
|
"id": "ServiceAccount",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"description": "A service account in the Identity and Access Management API. To create a service account, you specify the project_id and account_id for the account. The account_id is unique within the project, and used to generate the service account email address and a stable unique id. All other methods can identify accounts using the format \"projects/{project}/serviceAccounts/{account}\". Using '-' as a wildcard for the project, will infer the project from the account. The account value can be the email address or the unique_id of the service account.",
|
"description": "A service account in the Identity and Access Management API. To create a service account, specify the `project_id` and the `account_id` for the account. The `account_id` is unique within the project, and is used to generate the service account email address and a stable `unique_id`. If the account already exists, the account's resource name is returned in util::Status's ResourceInfo.resource_name in the format of projects/{project}/serviceAccounts/{email}. The caller can use the name in other methods to access the account. All other methods can identify the service account using the format `projects/{project}/serviceAccounts/{account}`. Using `-` as a wildcard for the project will infer the project from the account. The `account` value can be the `email` address or the `unique_id` of the service account.",
|
||||||
"properties": {
|
"properties": {
|
||||||
"name": {
|
"name": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "The resource name of the service account in the format \"projects/{project}/serviceAccounts/{account}\". In requests using '-' as a wildcard for the project, will infer the project from the account and the account value can be the email address or the unique_id of the service account. In responses the resource name will always be in the format \"projects/{project}/serviceAccounts/{email}\"."
|
"description": "The resource name of the service account in the following format: `projects/{project}/serviceAccounts/{account}`. Requests using `-` as a wildcard for the project will infer the project from the `account` and the `account` value can be the `email` address or the `unique_id` of the service account. In responses the resource name will always be in the format `projects/{project}/serviceAccounts/{email}`."
|
||||||
},
|
},
|
||||||
"projectId": {
|
"projectId": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
@@ -144,11 +145,11 @@
|
|||||||
},
|
},
|
||||||
"uniqueId": {
|
"uniqueId": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "@OutputOnly unique and stable id of the service account."
|
"description": "@OutputOnly The unique and stable id of the service account."
|
||||||
},
|
},
|
||||||
"email": {
|
"email": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "@OutputOnly Email address of the service account."
|
"description": "@OutputOnly The email address of the service account."
|
||||||
},
|
},
|
||||||
"displayName": {
|
"displayName": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
@@ -172,11 +173,11 @@
|
|||||||
"properties": {
|
"properties": {
|
||||||
"accountId": {
|
"accountId": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "Required. The account id that is used to generate the service account email address and a stable unique id. It is unique within a project, must be 1-63 characters long, and match the regular expression [a-z]([-a-z0-9]*[a-z0-9]) to comply with RFC1035."
|
"description": "Required. The account id that is used to generate the service account email address and a stable unique id. It is unique within a project, must be 6-30 characters long, and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])` to comply with RFC1035."
|
||||||
},
|
},
|
||||||
"serviceAccount": {
|
"serviceAccount": {
|
||||||
"$ref": "ServiceAccount",
|
"$ref": "ServiceAccount",
|
||||||
"description": "The ServiceAccount resource to create. Currently, only the following values are user assignable: display_name ."
|
"description": "The ServiceAccount resource to create. Currently, only the following values are user assignable: `display_name` ."
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -202,24 +203,38 @@
|
|||||||
"ServiceAccountKey": {
|
"ServiceAccountKey": {
|
||||||
"id": "ServiceAccountKey",
|
"id": "ServiceAccountKey",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"description": "Represents a service account key. A service account can have 0 or more key pairs. The private keys for these are not stored by Google. ServiceAccountKeys are immutable.",
|
"description": "Represents a service account key. A service account has two sets of key-pairs: user-managed, and system-managed. User-managed key-pairs can be created and deleted by users. Users are responsible for rotating these keys periodically to ensure security of their service accounts. Users retain the private key of these key-pairs, and Google retains ONLY the public key. System-managed key-pairs are managed automatically by Google, and rotated daily without user intervention. The private key never leaves Google's servers to maximize security. Public keys for all service accounts are also published at the OAuth2 Service Account API.",
|
||||||
"properties": {
|
"properties": {
|
||||||
"name": {
|
"name": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "The resource name of the service account key in the format \"projects/{project}/serviceAccounts/{email}/keys/{key}\"."
|
"description": "The resource name of the service account key in the following format `projects/{project}/serviceAccounts/{account}/keys/{key}`."
|
||||||
},
|
},
|
||||||
"privateKeyType": {
|
"privateKeyType": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "The type of the private key.",
|
"description": "The output format for the private key. Only provided in `CreateServiceAccountKey` responses, not in `GetServiceAccountKey` or `ListServiceAccountKey` responses. Google never exposes system-managed private keys, and never retains user-managed private keys.",
|
||||||
"enum": [
|
"enum": [
|
||||||
"TYPE_UNSPECIFIED",
|
"TYPE_UNSPECIFIED",
|
||||||
"TYPE_PKCS12_FILE",
|
"TYPE_PKCS12_FILE",
|
||||||
"TYPE_GOOGLE_CREDENTIALS_FILE"
|
"TYPE_GOOGLE_CREDENTIALS_FILE"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
"keyAlgorithm": {
|
||||||
|
"type": "string",
|
||||||
|
"description": "Specifies the algorithm (and possibly key size) for the key.",
|
||||||
|
"enum": [
|
||||||
|
"KEY_ALG_UNSPECIFIED",
|
||||||
|
"KEY_ALG_RSA_1024",
|
||||||
|
"KEY_ALG_RSA_2048"
|
||||||
|
]
|
||||||
|
},
|
||||||
"privateKeyData": {
|
"privateKeyData": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "The key data.",
|
"description": "The private key data. Only provided in `CreateServiceAccountKey` responses.",
|
||||||
|
"format": "byte"
|
||||||
|
},
|
||||||
|
"publicKeyData": {
|
||||||
|
"type": "string",
|
||||||
|
"description": "The public key data. Only provided in `GetServiceAccountKey` responses.",
|
||||||
"format": "byte"
|
"format": "byte"
|
||||||
},
|
},
|
||||||
"validAfterTime": {
|
"validAfterTime": {
|
||||||
@@ -239,12 +254,21 @@
|
|||||||
"properties": {
|
"properties": {
|
||||||
"privateKeyType": {
|
"privateKeyType": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "The type of the key requested. GOOGLE_CREDENTIALS is the default key type.",
|
"description": "The output format of the private key. `GOOGLE_CREDENTIALS_FILE` is the default output format.",
|
||||||
"enum": [
|
"enum": [
|
||||||
"TYPE_UNSPECIFIED",
|
"TYPE_UNSPECIFIED",
|
||||||
"TYPE_PKCS12_FILE",
|
"TYPE_PKCS12_FILE",
|
||||||
"TYPE_GOOGLE_CREDENTIALS_FILE"
|
"TYPE_GOOGLE_CREDENTIALS_FILE"
|
||||||
]
|
]
|
||||||
|
},
|
||||||
|
"keyAlgorithm": {
|
||||||
|
"type": "string",
|
||||||
|
"description": "Which type of key and algorithm to use for the key. The default is currently a 4K RSA key. However this may change in the future.",
|
||||||
|
"enum": [
|
||||||
|
"KEY_ALG_UNSPECIFIED",
|
||||||
|
"KEY_ALG_RSA_1024",
|
||||||
|
"KEY_ALG_RSA_2048"
|
||||||
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -255,7 +279,7 @@
|
|||||||
"properties": {
|
"properties": {
|
||||||
"bytesToSign": {
|
"bytesToSign": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "The bytes to sign",
|
"description": "The bytes to sign.",
|
||||||
"format": "byte"
|
"format": "byte"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -279,7 +303,7 @@
|
|||||||
"Policy": {
|
"Policy": {
|
||||||
"id": "Policy",
|
"id": "Policy",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"description": "Defines an Identity and Access Management (IAM) policy. It is used to specify access control policies for Cloud Platform resources. A `Policy` consists of a list of `bindings`. A `Binding` binds a list of `members` to a `role`, where the members can be user accounts, Google groups, Google domains, and service accounts. A `role` is a named list of permissions defined by IAM. **Example** { \"bindings\": [ { \"role\": \"roles/owner\", \"members\": [ \"user:mike@example.com\", \"group:admins@example.com\", \"domain:google.com\", \"serviceAccount:my-other-app@appspot.gserviceaccount.com\"] }, { \"role\": \"roles/viewer\", \"members\": [\"user:sean@example.com\"] } ] } For a description of IAM and its features, see the [IAM developer's guide](https://cloud.google.com/iam).",
|
"description": "Defines an Identity and Access Management (IAM) policy. It is used to specify access control policies for Cloud Platform resources. A `Policy` consists of a list of `bindings`. A `Binding` binds a list of `members` to a `role`, where the members can be user accounts, Google groups, Google domains, and service accounts. A `role` is a named list of permissions defined by IAM. **Example** { \"bindings\": [ { \"role\": \"roles/owner\", \"members\": [ \"user:mike@example.com\", \"group:admins@example.com\", \"domain:google.com\", \"serviceAccount:my-other-app@appspot.gserviceaccount.com\", ] }, { \"role\": \"roles/viewer\", \"members\": [\"user:sean@example.com\"] } ] } For a description of IAM and its features, see the [IAM developer's guide](https://cloud.google.com/iam).",
|
||||||
"properties": {
|
"properties": {
|
||||||
"version": {
|
"version": {
|
||||||
"type": "integer",
|
"type": "integer",
|
||||||
@@ -293,12 +317,6 @@
|
|||||||
"$ref": "Binding"
|
"$ref": "Binding"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"rules": {
|
|
||||||
"type": "array",
|
|
||||||
"items": {
|
|
||||||
"$ref": "Rule"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"etag": {
|
"etag": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "`etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy from overwriting each other. It is strongly suggested that systems make use of the `etag` in the read-modify-write cycle to perform policy updates in order to avoid race conditions: An `etag` is returned in the response to `getIamPolicy`, and systems are expected to put that etag in the request to `setIamPolicy` to ensure that their change will be applied to the same version of the policy. If no `etag` is provided in the call to `setIamPolicy`, then the existing policy is overwritten blindly.",
|
"description": "`etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy from overwriting each other. It is strongly suggested that systems make use of the `etag` in the read-modify-write cycle to perform policy updates in order to avoid race conditions: An `etag` is returned in the response to `getIamPolicy`, and systems are expected to put that etag in the request to `setIamPolicy` to ensure that their change will be applied to the same version of the policy. If no `etag` is provided in the call to `setIamPolicy`, then the existing policy is overwritten blindly.",
|
||||||
@@ -324,162 +342,6 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"Rule": {
|
|
||||||
"id": "Rule",
|
|
||||||
"type": "object",
|
|
||||||
"description": "A rule to be applied in a Policy.",
|
|
||||||
"properties": {
|
|
||||||
"description": {
|
|
||||||
"type": "string",
|
|
||||||
"description": "Human-readable description of the rule."
|
|
||||||
},
|
|
||||||
"permissions": {
|
|
||||||
"type": "array",
|
|
||||||
"description": "A permission is a string of form '..' (e.g., 'storage.buckets.list'). A value of '*' matches all permissions, and a verb part of '*' (e.g., 'storage.buckets.*') matches all verbs.",
|
|
||||||
"items": {
|
|
||||||
"type": "string"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"action": {
|
|
||||||
"type": "string",
|
|
||||||
"description": "Required",
|
|
||||||
"enum": [
|
|
||||||
"NO_ACTION",
|
|
||||||
"ALLOW",
|
|
||||||
"ALLOW_WITH_LOG",
|
|
||||||
"DENY",
|
|
||||||
"DENY_WITH_LOG",
|
|
||||||
"LOG"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"in": {
|
|
||||||
"type": "array",
|
|
||||||
"description": "The rule matches if the PRINCIPAL/AUTHORITY_SELECTOR is in this set of entries.",
|
|
||||||
"items": {
|
|
||||||
"type": "string"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"notIn": {
|
|
||||||
"type": "array",
|
|
||||||
"description": "The rule matches if the PRINCIPAL/AUTHORITY_SELECTOR is not in this set of entries. The format for in and not_in entries is the same as for members in a Binding (see google/iam/v1/policy.proto).",
|
|
||||||
"items": {
|
|
||||||
"type": "string"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"conditions": {
|
|
||||||
"type": "array",
|
|
||||||
"description": "Additional restrictions that must be met",
|
|
||||||
"items": {
|
|
||||||
"$ref": "Condition"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"logConfig": {
|
|
||||||
"type": "array",
|
|
||||||
"description": "The config returned to callers of tech.iam.IAM.CheckPolicy for any entries that match the LOG action.",
|
|
||||||
"items": {
|
|
||||||
"$ref": "LogConfig"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"Condition": {
|
|
||||||
"id": "Condition",
|
|
||||||
"type": "object",
|
|
||||||
"description": "A condition to be met.",
|
|
||||||
"properties": {
|
|
||||||
"iam": {
|
|
||||||
"type": "string",
|
|
||||||
"description": "Trusted attributes supplied by the IAM system.",
|
|
||||||
"enum": [
|
|
||||||
"NO_ATTR",
|
|
||||||
"AUTHORITY",
|
|
||||||
"ATTRIBUTION"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"sys": {
|
|
||||||
"type": "string",
|
|
||||||
"description": "Trusted attributes supplied by any service that owns resources and uses the IAM system for access control.",
|
|
||||||
"enum": [
|
|
||||||
"NO_ATTR",
|
|
||||||
"REGION",
|
|
||||||
"SERVICE",
|
|
||||||
"NAME",
|
|
||||||
"IP"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"svc": {
|
|
||||||
"type": "string",
|
|
||||||
"description": "Trusted attributes discharged by the service."
|
|
||||||
},
|
|
||||||
"op": {
|
|
||||||
"type": "string",
|
|
||||||
"description": "An operator to apply the subject with.",
|
|
||||||
"enum": [
|
|
||||||
"NO_OP",
|
|
||||||
"EQUALS",
|
|
||||||
"NOT_EQUALS",
|
|
||||||
"IN",
|
|
||||||
"NOT_IN",
|
|
||||||
"DISCHARGED"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"value": {
|
|
||||||
"type": "string",
|
|
||||||
"description": "The object of the condition. Exactly one of these must be set."
|
|
||||||
},
|
|
||||||
"values": {
|
|
||||||
"type": "array",
|
|
||||||
"description": "The objects of the condition. This is mutually exclusive with 'value'.",
|
|
||||||
"items": {
|
|
||||||
"type": "string"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"LogConfig": {
|
|
||||||
"id": "LogConfig",
|
|
||||||
"type": "object",
|
|
||||||
"description": "Specifies what kind of log the caller must write Increment a streamz counter with the specified metric and field names. Metric names should start with a '/', generally be lowercase-only, and end in \"_count\". Field names should not contain an initial slash. The actual exported metric names will have \"/iam/policy\" prepended. Field names correspond to IAM request parameters and field values are their respective values. At present only \"iam_principal\", corresponding to IAMContext.principal, is supported. Examples: counter { metric: \"/debug_access_count\" field: \"iam_principal\" } ==\u003e increment counter /iam/policy/backend_debug_access_count {iam_principal=[value of IAMContext.principal]} At this time we do not support: * multiple field names (though this may be supported in the future) * decrementing the counter * incrementing it by anything other than 1",
|
|
||||||
"properties": {
|
|
||||||
"counter": {
|
|
||||||
"$ref": "CounterOptions",
|
|
||||||
"description": "Counter options."
|
|
||||||
},
|
|
||||||
"dataAccess": {
|
|
||||||
"$ref": "DataAccessOptions",
|
|
||||||
"description": "Data access options."
|
|
||||||
},
|
|
||||||
"cloudAudit": {
|
|
||||||
"$ref": "CloudAuditOptions",
|
|
||||||
"description": "Cloud audit options."
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"CounterOptions": {
|
|
||||||
"id": "CounterOptions",
|
|
||||||
"type": "object",
|
|
||||||
"description": "Options for counters",
|
|
||||||
"properties": {
|
|
||||||
"metric": {
|
|
||||||
"type": "string",
|
|
||||||
"description": "The metric to update."
|
|
||||||
},
|
|
||||||
"field": {
|
|
||||||
"type": "string",
|
|
||||||
"description": "The field value to attribute."
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"DataAccessOptions": {
|
|
||||||
"id": "DataAccessOptions",
|
|
||||||
"type": "object",
|
|
||||||
"description": "Write a Data Access (Gin) log"
|
|
||||||
},
|
|
||||||
"CloudAuditOptions": {
|
|
||||||
"id": "CloudAuditOptions",
|
|
||||||
"type": "object",
|
|
||||||
"description": "Write a Cloud Audit log"
|
|
||||||
},
|
|
||||||
"SetIamPolicyRequest": {
|
"SetIamPolicyRequest": {
|
||||||
"id": "SetIamPolicyRequest",
|
"id": "SetIamPolicyRequest",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
@@ -498,7 +360,7 @@
|
|||||||
"properties": {
|
"properties": {
|
||||||
"permissions": {
|
"permissions": {
|
||||||
"type": "array",
|
"type": "array",
|
||||||
"description": "The set of permissions to check for the `resource`. Permissions with wildcards (such as '*' or 'storage.*') are not allowed. For more information see IAM Overview.",
|
"description": "The set of permissions to check for the `resource`. Permissions with wildcards (such as '*' or 'storage.*') are not allowed. For more information see [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).",
|
||||||
"items": {
|
"items": {
|
||||||
"type": "string"
|
"type": "string"
|
||||||
}
|
}
|
||||||
@@ -518,6 +380,99 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"QueryGrantableRolesRequest": {
|
||||||
|
"id": "QueryGrantableRolesRequest",
|
||||||
|
"type": "object",
|
||||||
|
"description": "The grantable role query request.",
|
||||||
|
"properties": {
|
||||||
|
"fullResourceName": {
|
||||||
|
"type": "string",
|
||||||
|
"description": "Required. The full resource name to query from the list of grantable roles. The name follows the Google Cloud Platform resource format. For example, a Cloud Platform project with id `my-project` will be named `//cloudresourcemanager.googleapis.com/projects/my-project`."
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"QueryGrantableRolesResponse": {
|
||||||
|
"id": "QueryGrantableRolesResponse",
|
||||||
|
"type": "object",
|
||||||
|
"description": "The grantable role query response.",
|
||||||
|
"properties": {
|
||||||
|
"roles": {
|
||||||
|
"type": "array",
|
||||||
|
"description": "The list of matching roles.",
|
||||||
|
"items": {
|
||||||
|
"$ref": "Role"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"Role": {
|
||||||
|
"id": "Role",
|
||||||
|
"type": "object",
|
||||||
|
"description": "A role in the Identity and Access Management API.",
|
||||||
|
"properties": {
|
||||||
|
"name": {
|
||||||
|
"type": "string",
|
||||||
|
"description": "The name of the role. When Role is used in CreateRole, the role name must not be set. When Role is used in output and other input such as UpdateRole, the role name is the complete path, e.g., roles/logging.viewer for curated roles and organizations/{organization-id}/roles/logging.viewer for custom roles."
|
||||||
|
},
|
||||||
|
"title": {
|
||||||
|
"type": "string",
|
||||||
|
"description": "Optional. A human-readable title for the role. Typically this is limited to 100 UTF-8 bytes."
|
||||||
|
},
|
||||||
|
"description": {
|
||||||
|
"type": "string",
|
||||||
|
"description": "Optional. A human-readable description for the role."
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"AuditData": {
|
||||||
|
"id": "AuditData",
|
||||||
|
"type": "object",
|
||||||
|
"description": "Audit log information specific to Cloud IAM. This message is serialized as an `Any` type in the `ServiceData` message of an `AuditLog` message.",
|
||||||
|
"properties": {
|
||||||
|
"policyDelta": {
|
||||||
|
"$ref": "PolicyDelta",
|
||||||
|
"description": "Policy delta between the original policy and the newly set policy."
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"PolicyDelta": {
|
||||||
|
"id": "PolicyDelta",
|
||||||
|
"type": "object",
|
||||||
|
"description": "The difference delta between two policies.",
|
||||||
|
"properties": {
|
||||||
|
"bindingDeltas": {
|
||||||
|
"type": "array",
|
||||||
|
"description": "The delta for Bindings between two policies.",
|
||||||
|
"items": {
|
||||||
|
"$ref": "BindingDelta"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"BindingDelta": {
|
||||||
|
"id": "BindingDelta",
|
||||||
|
"type": "object",
|
||||||
|
"description": "One delta entry for Binding. Each individual change (only one member in each entry) to a binding will be a separate entry.",
|
||||||
|
"properties": {
|
||||||
|
"action": {
|
||||||
|
"type": "string",
|
||||||
|
"description": "The action that was performed on a Binding. Required",
|
||||||
|
"enum": [
|
||||||
|
"ACTION_UNSPECIFIED",
|
||||||
|
"ADD",
|
||||||
|
"REMOVE"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"role": {
|
||||||
|
"type": "string",
|
||||||
|
"description": "Role that is assigned to `members`. For example, `roles/viewer`, `roles/editor`, or `roles/owner`. Required"
|
||||||
|
},
|
||||||
|
"member": {
|
||||||
|
"type": "string",
|
||||||
|
"description": "A single identity requesting access for a Cloud Platform resource. Follows the same format of Binding.members. Required"
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"resources": {
|
"resources": {
|
||||||
@@ -529,24 +484,24 @@
|
|||||||
"id": "iam.projects.serviceAccounts.list",
|
"id": "iam.projects.serviceAccounts.list",
|
||||||
"path": "v1/{+name}/serviceAccounts",
|
"path": "v1/{+name}/serviceAccounts",
|
||||||
"httpMethod": "GET",
|
"httpMethod": "GET",
|
||||||
"description": "Lists service accounts for a project.",
|
"description": "Lists ServiceAccounts for a project.",
|
||||||
"parameters": {
|
"parameters": {
|
||||||
"name": {
|
"name": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "Required. The resource name of the project associated with the service accounts, such as \"projects/123\"",
|
"description": "Required. The resource name of the project associated with the service accounts, such as `projects/my-project-123`.",
|
||||||
"required": true,
|
"required": true,
|
||||||
"pattern": "^projects/[^/]*$",
|
"pattern": "^projects/[^/]*$",
|
||||||
"location": "path"
|
"location": "path"
|
||||||
},
|
},
|
||||||
"pageSize": {
|
"pageSize": {
|
||||||
"type": "integer",
|
"type": "integer",
|
||||||
"description": "Optional limit on the number of service accounts to include in the response. Further accounts can subsequently be obtained by including the [ListServiceAccountsResponse.next_page_token] in a subsequent request.",
|
"description": "Optional limit on the number of service accounts to include in the response. Further accounts can subsequently be obtained by including the ListServiceAccountsResponse.next_page_token in a subsequent request.",
|
||||||
"format": "int32",
|
"format": "int32",
|
||||||
"location": "query"
|
"location": "query"
|
||||||
},
|
},
|
||||||
"pageToken": {
|
"pageToken": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "Optional pagination token returned in an earlier [ListServiceAccountsResponse.next_page_token].",
|
"description": "Optional pagination token returned in an earlier ListServiceAccountsResponse.next_page_token.",
|
||||||
"location": "query"
|
"location": "query"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -564,11 +519,11 @@
|
|||||||
"id": "iam.projects.serviceAccounts.get",
|
"id": "iam.projects.serviceAccounts.get",
|
||||||
"path": "v1/{+name}",
|
"path": "v1/{+name}",
|
||||||
"httpMethod": "GET",
|
"httpMethod": "GET",
|
||||||
"description": "Gets a ServiceAccount",
|
"description": "Gets a ServiceAccount.",
|
||||||
"parameters": {
|
"parameters": {
|
||||||
"name": {
|
"name": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "The resource name of the service account in the format \"projects/{project}/serviceAccounts/{account}\". Using '-' as a wildcard for the project, will infer the project from the account. The account value can be the email address or the unique_id of the service account.",
|
"description": "The resource name of the service account in the following format: `projects/{project}/serviceAccounts/{account}`. Using `-` as a wildcard for the project will infer the project from the account. The `account` value can be the `email` address or the `unique_id` of the service account.",
|
||||||
"required": true,
|
"required": true,
|
||||||
"pattern": "^projects/[^/]*/serviceAccounts/[^/]*$",
|
"pattern": "^projects/[^/]*/serviceAccounts/[^/]*$",
|
||||||
"location": "path"
|
"location": "path"
|
||||||
@@ -588,11 +543,11 @@
|
|||||||
"id": "iam.projects.serviceAccounts.create",
|
"id": "iam.projects.serviceAccounts.create",
|
||||||
"path": "v1/{+name}/serviceAccounts",
|
"path": "v1/{+name}/serviceAccounts",
|
||||||
"httpMethod": "POST",
|
"httpMethod": "POST",
|
||||||
"description": "Creates a service account and returns it.",
|
"description": "Creates a ServiceAccount and returns it.",
|
||||||
"parameters": {
|
"parameters": {
|
||||||
"name": {
|
"name": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "Required. The resource name of the project associated with the service accounts, such as \"projects/123\"",
|
"description": "Required. The resource name of the project associated with the service accounts, such as `projects/my-project-123`.",
|
||||||
"required": true,
|
"required": true,
|
||||||
"pattern": "^projects/[^/]*$",
|
"pattern": "^projects/[^/]*$",
|
||||||
"location": "path"
|
"location": "path"
|
||||||
@@ -615,11 +570,11 @@
|
|||||||
"id": "iam.projects.serviceAccounts.update",
|
"id": "iam.projects.serviceAccounts.update",
|
||||||
"path": "v1/{+name}",
|
"path": "v1/{+name}",
|
||||||
"httpMethod": "PUT",
|
"httpMethod": "PUT",
|
||||||
"description": "Updates a service account. Currently, only the following fields are updatable: 'display_name' . The 'etag' is mandatory.",
|
"description": "Updates a ServiceAccount. Currently, only the following fields are updatable: `display_name` . The `etag` is mandatory.",
|
||||||
"parameters": {
|
"parameters": {
|
||||||
"name": {
|
"name": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "The resource name of the service account in the format \"projects/{project}/serviceAccounts/{account}\". In requests using '-' as a wildcard for the project, will infer the project from the account and the account value can be the email address or the unique_id of the service account. In responses the resource name will always be in the format \"projects/{project}/serviceAccounts/{email}\".",
|
"description": "The resource name of the service account in the following format: `projects/{project}/serviceAccounts/{account}`. Requests using `-` as a wildcard for the project will infer the project from the `account` and the `account` value can be the `email` address or the `unique_id` of the service account. In responses the resource name will always be in the format `projects/{project}/serviceAccounts/{email}`.",
|
||||||
"required": true,
|
"required": true,
|
||||||
"pattern": "^projects/[^/]*/serviceAccounts/[^/]*$",
|
"pattern": "^projects/[^/]*/serviceAccounts/[^/]*$",
|
||||||
"location": "path"
|
"location": "path"
|
||||||
@@ -642,11 +597,11 @@
|
|||||||
"id": "iam.projects.serviceAccounts.delete",
|
"id": "iam.projects.serviceAccounts.delete",
|
||||||
"path": "v1/{+name}",
|
"path": "v1/{+name}",
|
||||||
"httpMethod": "DELETE",
|
"httpMethod": "DELETE",
|
||||||
"description": "Deletes a service acount.",
|
"description": "Deletes a ServiceAccount.",
|
||||||
"parameters": {
|
"parameters": {
|
||||||
"name": {
|
"name": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "The resource name of the service account in the format \"projects/{project}/serviceAccounts/{account}\". Using '-' as a wildcard for the project, will infer the project from the account. The account value can be the email address or the unique_id of the service account.",
|
"description": "The resource name of the service account in the following format: `projects/{project}/serviceAccounts/{account}`. Using `-` as a wildcard for the project will infer the project from the account. The `account` value can be the `email` address or the `unique_id` of the service account.",
|
||||||
"required": true,
|
"required": true,
|
||||||
"pattern": "^projects/[^/]*/serviceAccounts/[^/]*$",
|
"pattern": "^projects/[^/]*/serviceAccounts/[^/]*$",
|
||||||
"location": "path"
|
"location": "path"
|
||||||
@@ -666,11 +621,11 @@
|
|||||||
"id": "iam.projects.serviceAccounts.signBlob",
|
"id": "iam.projects.serviceAccounts.signBlob",
|
||||||
"path": "v1/{+name}:signBlob",
|
"path": "v1/{+name}:signBlob",
|
||||||
"httpMethod": "POST",
|
"httpMethod": "POST",
|
||||||
"description": "Signs a blob using a service account.",
|
"description": "Signs a blob using a service account's system-managed private key.",
|
||||||
"parameters": {
|
"parameters": {
|
||||||
"name": {
|
"name": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "The resource name of the service account in the format \"projects/{project}/serviceAccounts/{account}\". Using '-' as a wildcard for the project, will infer the project from the account. The account value can be the email address or the unique_id of the service account.",
|
"description": "The resource name of the service account in the following format: `projects/{project}/serviceAccounts/{account}`. Using `-` as a wildcard for the project will infer the project from the account. The `account` value can be the `email` address or the `unique_id` of the service account.",
|
||||||
"required": true,
|
"required": true,
|
||||||
"pattern": "^projects/[^/]*/serviceAccounts/[^/]*$",
|
"pattern": "^projects/[^/]*/serviceAccounts/[^/]*$",
|
||||||
"location": "path"
|
"location": "path"
|
||||||
@@ -693,11 +648,11 @@
|
|||||||
"id": "iam.projects.serviceAccounts.getIamPolicy",
|
"id": "iam.projects.serviceAccounts.getIamPolicy",
|
||||||
"path": "v1/{+resource}:getIamPolicy",
|
"path": "v1/{+resource}:getIamPolicy",
|
||||||
"httpMethod": "POST",
|
"httpMethod": "POST",
|
||||||
"description": "Returns the IAM access control policy for specified IAM resource.",
|
"description": "Returns the IAM access control policy for a ServiceAccount.",
|
||||||
"parameters": {
|
"parameters": {
|
||||||
"resource": {
|
"resource": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "REQUIRED: The resource for which the policy is being requested. `resource` is usually specified as a path, such as `projects/*project*/zones/*zone*/disks/*disk*`. The format for the path specified in this value is resource specific and is specified in the `getIamPolicy` documentation.",
|
"description": "REQUIRED: The resource for which the policy is being requested. `resource` is usually specified as a path. For example, a Project resource is specified as `projects/{project}`.",
|
||||||
"required": true,
|
"required": true,
|
||||||
"pattern": "^projects/[^/]*/serviceAccounts/[^/]*$",
|
"pattern": "^projects/[^/]*/serviceAccounts/[^/]*$",
|
||||||
"location": "path"
|
"location": "path"
|
||||||
@@ -717,11 +672,11 @@
|
|||||||
"id": "iam.projects.serviceAccounts.setIamPolicy",
|
"id": "iam.projects.serviceAccounts.setIamPolicy",
|
||||||
"path": "v1/{+resource}:setIamPolicy",
|
"path": "v1/{+resource}:setIamPolicy",
|
||||||
"httpMethod": "POST",
|
"httpMethod": "POST",
|
||||||
"description": "Sets the IAM access control policy for the specified IAM resource.",
|
"description": "Sets the IAM access control policy for a ServiceAccount.",
|
||||||
"parameters": {
|
"parameters": {
|
||||||
"resource": {
|
"resource": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "REQUIRED: The resource for which the policy is being specified. `resource` is usually specified as a path, such as `projects/*project*/zones/*zone*/disks/*disk*`. The format for the path specified in this value is resource specific and is specified in the `setIamPolicy` documentation.",
|
"description": "REQUIRED: The resource for which the policy is being specified. `resource` is usually specified as a path. For example, a Project resource is specified as `projects/{project}`.",
|
||||||
"required": true,
|
"required": true,
|
||||||
"pattern": "^projects/[^/]*/serviceAccounts/[^/]*$",
|
"pattern": "^projects/[^/]*/serviceAccounts/[^/]*$",
|
||||||
"location": "path"
|
"location": "path"
|
||||||
@@ -744,11 +699,11 @@
|
|||||||
"id": "iam.projects.serviceAccounts.testIamPermissions",
|
"id": "iam.projects.serviceAccounts.testIamPermissions",
|
||||||
"path": "v1/{+resource}:testIamPermissions",
|
"path": "v1/{+resource}:testIamPermissions",
|
||||||
"httpMethod": "POST",
|
"httpMethod": "POST",
|
||||||
"description": "Tests the specified permissions against the IAM access control policy for the specified IAM resource.",
|
"description": "Tests the specified permissions against the IAM access control policy for a ServiceAccount.",
|
||||||
"parameters": {
|
"parameters": {
|
||||||
"resource": {
|
"resource": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "REQUIRED: The resource for which the policy detail is being requested. `resource` is usually specified as a path, such as `projects/*project*/zones/*zone*/disks/*disk*`. The format for the path specified in this value is resource specific and is specified in the `testIamPermissions` documentation.",
|
"description": "REQUIRED: The resource for which the policy detail is being requested. `resource` is usually specified as a path. For example, a Project resource is specified as `projects/{project}`.",
|
||||||
"required": true,
|
"required": true,
|
||||||
"pattern": "^projects/[^/]*/serviceAccounts/[^/]*$",
|
"pattern": "^projects/[^/]*/serviceAccounts/[^/]*$",
|
||||||
"location": "path"
|
"location": "path"
|
||||||
@@ -775,18 +730,18 @@
|
|||||||
"id": "iam.projects.serviceAccounts.keys.list",
|
"id": "iam.projects.serviceAccounts.keys.list",
|
||||||
"path": "v1/{+name}/keys",
|
"path": "v1/{+name}/keys",
|
||||||
"httpMethod": "GET",
|
"httpMethod": "GET",
|
||||||
"description": "Lists service account keys",
|
"description": "Lists ServiceAccountKeys.",
|
||||||
"parameters": {
|
"parameters": {
|
||||||
"name": {
|
"name": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "The resource name of the service account in the format \"projects/{project}/serviceAccounts/{account}\". Using '-' as a wildcard for the project, will infer the project from the account. The account value can be the email address or the unique_id of the service account.",
|
"description": "The resource name of the service account in the following format: `projects/{project}/serviceAccounts/{account}`. Using `-` as a wildcard for the project, will infer the project from the account. The `account` value can be the `email` address or the `unique_id` of the service account.",
|
||||||
"required": true,
|
"required": true,
|
||||||
"pattern": "^projects/[^/]*/serviceAccounts/[^/]*$",
|
"pattern": "^projects/[^/]*/serviceAccounts/[^/]*$",
|
||||||
"location": "path"
|
"location": "path"
|
||||||
},
|
},
|
||||||
"keyTypes": {
|
"keyTypes": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "The type of keys the user wants to list. If empty, all key types are included in the response. Duplicate key types are not allowed.",
|
"description": "Filters the types of keys the user wants to include in the list response. Duplicate key types are not allowed. If no key type is provided, all keys are returned.",
|
||||||
"enum": [
|
"enum": [
|
||||||
"KEY_TYPE_UNSPECIFIED",
|
"KEY_TYPE_UNSPECIFIED",
|
||||||
"USER_MANAGED",
|
"USER_MANAGED",
|
||||||
@@ -814,10 +769,20 @@
|
|||||||
"parameters": {
|
"parameters": {
|
||||||
"name": {
|
"name": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "The resource name of the service account key in the format \"projects/{project}/serviceAccounts/{account}/keys/{key}\". Using '-' as a wildcard for the project will infer the project from the account. The account value can be the email address or the unique_id of the service account.",
|
"description": "The resource name of the service account key in the following format: `projects/{project}/serviceAccounts/{account}/keys/{key}`. Using `-` as a wildcard for the project will infer the project from the account. The `account` value can be the `email` address or the `unique_id` of the service account.",
|
||||||
"required": true,
|
"required": true,
|
||||||
"pattern": "^projects/[^/]*/serviceAccounts/[^/]*/keys/[^/]*$",
|
"pattern": "^projects/[^/]*/serviceAccounts/[^/]*/keys/[^/]*$",
|
||||||
"location": "path"
|
"location": "path"
|
||||||
|
},
|
||||||
|
"publicKeyType": {
|
||||||
|
"type": "string",
|
||||||
|
"description": "The output format of the public key requested. X509_PEM is the default output format.",
|
||||||
|
"enum": [
|
||||||
|
"TYPE_NONE",
|
||||||
|
"TYPE_X509_PEM_FILE",
|
||||||
|
"TYPE_RAW_PUBLIC_KEY"
|
||||||
|
],
|
||||||
|
"location": "query"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"parameterOrder": [
|
"parameterOrder": [
|
||||||
@@ -834,11 +799,11 @@
|
|||||||
"id": "iam.projects.serviceAccounts.keys.create",
|
"id": "iam.projects.serviceAccounts.keys.create",
|
||||||
"path": "v1/{+name}/keys",
|
"path": "v1/{+name}/keys",
|
||||||
"httpMethod": "POST",
|
"httpMethod": "POST",
|
||||||
"description": "Creates a service account key and returns it.",
|
"description": "Creates a ServiceAccountKey and returns it.",
|
||||||
"parameters": {
|
"parameters": {
|
||||||
"name": {
|
"name": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "The resource name of the service account in the format \"projects/{project}/serviceAccounts/{account}\". Using '-' as a wildcard for the project, will infer the project from the account. The account value can be the email address or the unique_id of the service account.",
|
"description": "The resource name of the service account in the following format: `projects/{project}/serviceAccounts/{account}`. Using `-` as a wildcard for the project will infer the project from the account. The `account` value can be the `email` address or the `unique_id` of the service account.",
|
||||||
"required": true,
|
"required": true,
|
||||||
"pattern": "^projects/[^/]*/serviceAccounts/[^/]*$",
|
"pattern": "^projects/[^/]*/serviceAccounts/[^/]*$",
|
||||||
"location": "path"
|
"location": "path"
|
||||||
@@ -861,11 +826,11 @@
|
|||||||
"id": "iam.projects.serviceAccounts.keys.delete",
|
"id": "iam.projects.serviceAccounts.keys.delete",
|
||||||
"path": "v1/{+name}",
|
"path": "v1/{+name}",
|
||||||
"httpMethod": "DELETE",
|
"httpMethod": "DELETE",
|
||||||
"description": "Deletes a service account key.",
|
"description": "Deletes a ServiceAccountKey.",
|
||||||
"parameters": {
|
"parameters": {
|
||||||
"name": {
|
"name": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "The resource name of the service account key in the format \"projects/{project}/serviceAccounts/{account}/keys/{key}\". Using '-' as a wildcard for the project will infer the project from the account. The account value can be the email address or the unique_id of the service account.",
|
"description": "The resource name of the service account key in the following format: `projects/{project}/serviceAccounts/{account}/keys/{key}`. Using `-` as a wildcard for the project will infer the project from the account. The `account` value can be the `email` address or the `unique_id` of the service account.",
|
||||||
"required": true,
|
"required": true,
|
||||||
"pattern": "^projects/[^/]*/serviceAccounts/[^/]*/keys/[^/]*$",
|
"pattern": "^projects/[^/]*/serviceAccounts/[^/]*/keys/[^/]*$",
|
||||||
"location": "path"
|
"location": "path"
|
||||||
@@ -886,6 +851,25 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"roles": {
|
||||||
|
"methods": {
|
||||||
|
"queryGrantableRoles": {
|
||||||
|
"id": "iam.roles.queryGrantableRoles",
|
||||||
|
"path": "v1/roles:queryGrantableRoles",
|
||||||
|
"httpMethod": "POST",
|
||||||
|
"description": "Queries roles that can be granted on a particular resource. A role is grantable if it can be used as the role in a binding for a policy for that resource.",
|
||||||
|
"request": {
|
||||||
|
"$ref": "QueryGrantableRolesRequest"
|
||||||
|
},
|
||||||
|
"response": {
|
||||||
|
"$ref": "QueryGrantableRolesResponse"
|
||||||
|
},
|
||||||
|
"scopes": [
|
||||||
|
"https://www.googleapis.com/auth/cloud-platform"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,19 +1,19 @@
|
|||||||
{
|
{
|
||||||
"kind": "discovery#restDescription",
|
"kind": "discovery#restDescription",
|
||||||
"etag": "\"C5oy1hgQsABtYOYIOXWcR3BgYqU/hUSUQ1FCOLm-WaxWC_MbF3f27YE\"",
|
"etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/9lrbPxfnfcTzLSOgIxD2Vj83GmI\"",
|
||||||
"discoveryVersion": "v1",
|
"discoveryVersion": "v1",
|
||||||
"id": "identitytoolkit:v3",
|
"id": "identitytoolkit:v3",
|
||||||
"name": "identitytoolkit",
|
"name": "identitytoolkit",
|
||||||
"canonicalName": "Identity Toolkit",
|
"canonicalName": "Identity Toolkit",
|
||||||
"version": "v3",
|
"version": "v3",
|
||||||
"revision": "20160812",
|
"revision": "20161206",
|
||||||
"title": "Google Identity Toolkit API",
|
"title": "Google Identity Toolkit API",
|
||||||
"description": "Help the third party sites to implement federated login.",
|
"description": "Help the third party sites to implement federated login.",
|
||||||
"ownerDomain": "google.com",
|
"ownerDomain": "google.com",
|
||||||
"ownerName": "Google",
|
"ownerName": "Google",
|
||||||
"icons": {
|
"icons": {
|
||||||
"x16": "http://www.google.com/images/icons/product/search-16.gif",
|
"x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png",
|
||||||
"x32": "http://www.google.com/images/icons/product/search-32.gif"
|
"x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png"
|
||||||
},
|
},
|
||||||
"documentationLink": "https://developers.google.com/identity-toolkit/v3/",
|
"documentationLink": "https://developers.google.com/identity-toolkit/v3/",
|
||||||
"protocol": "rest",
|
"protocol": "rest",
|
||||||
@@ -67,6 +67,18 @@
|
|||||||
"location": "query"
|
"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/firebase": {
|
||||||
|
"description": "View and administer all your Firebase data and settings"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
"schemas": {
|
"schemas": {
|
||||||
"CreateAuthUriResponse": {
|
"CreateAuthUriResponse": {
|
||||||
"id": "CreateAuthUriResponse",
|
"id": "CreateAuthUriResponse",
|
||||||
@@ -261,6 +273,14 @@
|
|||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "The URI to which the IDP redirects the user after the federated login flow."
|
"description": "The URI to which the IDP redirects the user after the federated login flow."
|
||||||
},
|
},
|
||||||
|
"customParameter": {
|
||||||
|
"type": "object",
|
||||||
|
"description": "The query parameter that client can customize by themselves in auth url. The following parameters are reserved for server so that they cannot be customized by clients: client_id, response_type, scope, redirect_uri, state, oauth_token.",
|
||||||
|
"additionalProperties": {
|
||||||
|
"type": "string",
|
||||||
|
"description": "The customized query parameter."
|
||||||
|
}
|
||||||
|
},
|
||||||
"hostedDomain": {
|
"hostedDomain": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "The hosted domain to restrict sign-in to accounts at that domain for Google Apps hosted accounts."
|
"description": "The hosted domain to restrict sign-in to accounts at that domain for Google Apps hosted accounts."
|
||||||
@@ -333,6 +353,10 @@
|
|||||||
"nextPageToken": {
|
"nextPageToken": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "The token for the next page. This should be taken from the previous response."
|
"description": "The token for the next page. This should be taken from the previous response."
|
||||||
|
},
|
||||||
|
"targetProjectId": {
|
||||||
|
"type": "string",
|
||||||
|
"description": "Specify which project (field value is actually project id) to operate. Only used when provided credential."
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -390,6 +414,9 @@
|
|||||||
"$ref": "EmailTemplate",
|
"$ref": "EmailTemplate",
|
||||||
"description": "Change email template."
|
"description": "Change email template."
|
||||||
},
|
},
|
||||||
|
"dynamicLinksDomain": {
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
"enableAnonymousUser": {
|
"enableAnonymousUser": {
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
"description": "Whether anonymous user is enabled."
|
"description": "Whether anonymous user is enabled."
|
||||||
@@ -666,6 +693,10 @@
|
|||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "Response to the captcha."
|
"description": "Response to the captcha."
|
||||||
},
|
},
|
||||||
|
"disabled": {
|
||||||
|
"type": "boolean",
|
||||||
|
"description": "Whether to disable the user. Only can be used by service account."
|
||||||
|
},
|
||||||
"displayName": {
|
"displayName": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "The name of the user."
|
"description": "The name of the user."
|
||||||
@@ -674,6 +705,10 @@
|
|||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "The email of the user."
|
"description": "The email of the user."
|
||||||
},
|
},
|
||||||
|
"emailVerified": {
|
||||||
|
"type": "boolean",
|
||||||
|
"description": "Mark the email as verified or not. Only can be used by service account."
|
||||||
|
},
|
||||||
"idToken": {
|
"idToken": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "The GITKit token of the authenticated user."
|
"description": "The GITKit token of the authenticated user."
|
||||||
@@ -685,6 +720,10 @@
|
|||||||
"password": {
|
"password": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "The new password of the user."
|
"description": "The new password of the user."
|
||||||
|
},
|
||||||
|
"photoUrl": {
|
||||||
|
"type": "string",
|
||||||
|
"description": "The photo url of the user."
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -693,6 +732,10 @@
|
|||||||
"type": "object",
|
"type": "object",
|
||||||
"description": "Request to upload user account in batch.",
|
"description": "Request to upload user account in batch.",
|
||||||
"properties": {
|
"properties": {
|
||||||
|
"allowOverwrite": {
|
||||||
|
"type": "boolean",
|
||||||
|
"description": "Whether allow overwrite existing account when user local_id exists."
|
||||||
|
},
|
||||||
"delegatedProjectNumber": {
|
"delegatedProjectNumber": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "GCP project number of the requesting delegated app. Currently only intended for Firebase V1 migration.",
|
"description": "GCP project number of the requesting delegated app. Currently only intended for Firebase V1 migration.",
|
||||||
@@ -717,11 +760,19 @@
|
|||||||
"description": "The salt separator.",
|
"description": "The salt separator.",
|
||||||
"format": "byte"
|
"format": "byte"
|
||||||
},
|
},
|
||||||
|
"sanityCheck": {
|
||||||
|
"type": "boolean",
|
||||||
|
"description": "If true, backend will do sanity check(including duplicate email and federated id) when uploading account."
|
||||||
|
},
|
||||||
"signerKey": {
|
"signerKey": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "The key for to hash the password.",
|
"description": "The key for to hash the password.",
|
||||||
"format": "byte"
|
"format": "byte"
|
||||||
},
|
},
|
||||||
|
"targetProjectId": {
|
||||||
|
"type": "string",
|
||||||
|
"description": "Specify which project (field value is actually project id) to operate. Only used when provided credential."
|
||||||
|
},
|
||||||
"users": {
|
"users": {
|
||||||
"type": "array",
|
"type": "array",
|
||||||
"description": "The account info to be stored.",
|
"description": "The account info to be stored.",
|
||||||
@@ -929,12 +980,20 @@
|
|||||||
"properties": {
|
"properties": {
|
||||||
"email": {
|
"email": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "The user's email."
|
"description": "The user's email. If the out-of-band code is for email recovery, the user's original email."
|
||||||
},
|
},
|
||||||
"kind": {
|
"kind": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "The fixed string \"identitytoolkit#ResetPasswordResponse\".",
|
"description": "The fixed string \"identitytoolkit#ResetPasswordResponse\".",
|
||||||
"default": "identitytoolkit#ResetPasswordResponse"
|
"default": "identitytoolkit#ResetPasswordResponse"
|
||||||
|
},
|
||||||
|
"newEmail": {
|
||||||
|
"type": "string",
|
||||||
|
"description": "If the out-of-band code is for email recovery, the user's new email."
|
||||||
|
},
|
||||||
|
"requestType": {
|
||||||
|
"type": "string",
|
||||||
|
"description": "The request type."
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -1090,6 +1149,10 @@
|
|||||||
"description": "User creation timestamp.",
|
"description": "User creation timestamp.",
|
||||||
"format": "int64"
|
"format": "int64"
|
||||||
},
|
},
|
||||||
|
"customAuth": {
|
||||||
|
"type": "boolean",
|
||||||
|
"description": "Whether the user is authenticated by the developer."
|
||||||
|
},
|
||||||
"disabled": {
|
"disabled": {
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
"description": "Whether the user is disabled."
|
"description": "Whether the user is disabled."
|
||||||
@@ -1159,17 +1222,17 @@
|
|||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "User's raw identifier directly returned from IDP."
|
"description": "User's raw identifier directly returned from IDP."
|
||||||
},
|
},
|
||||||
"rawUserInfo": {
|
|
||||||
"type": "string",
|
|
||||||
"description": "Raw IDP-returned user info."
|
|
||||||
},
|
|
||||||
"screenName": {
|
"screenName": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "User's screen name at Twitter."
|
"description": "User's screen name at Twitter or login name at Github."
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"rawPassword": {
|
||||||
|
"type": "string",
|
||||||
|
"description": "The user's plain text password."
|
||||||
|
},
|
||||||
"salt": {
|
"salt": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "The user's password salt.",
|
"description": "The user's password salt.",
|
||||||
@@ -1177,7 +1240,7 @@
|
|||||||
},
|
},
|
||||||
"screenName": {
|
"screenName": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "User's screen name at Twitter."
|
"description": "User's screen name at Twitter or login name at Github."
|
||||||
},
|
},
|
||||||
"validSince": {
|
"validSince": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
@@ -1341,7 +1404,7 @@
|
|||||||
},
|
},
|
||||||
"screenName": {
|
"screenName": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "The screen_name of a Twitter user."
|
"description": "The screen_name of a Twitter user or the login name at Github."
|
||||||
},
|
},
|
||||||
"timeZone": {
|
"timeZone": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
@@ -1453,7 +1516,10 @@
|
|||||||
},
|
},
|
||||||
"response": {
|
"response": {
|
||||||
"$ref": "CreateAuthUriResponse"
|
"$ref": "CreateAuthUriResponse"
|
||||||
}
|
},
|
||||||
|
"scopes": [
|
||||||
|
"https://www.googleapis.com/auth/cloud-platform"
|
||||||
|
]
|
||||||
},
|
},
|
||||||
"deleteAccount": {
|
"deleteAccount": {
|
||||||
"id": "identitytoolkit.relyingparty.deleteAccount",
|
"id": "identitytoolkit.relyingparty.deleteAccount",
|
||||||
@@ -1465,7 +1531,10 @@
|
|||||||
},
|
},
|
||||||
"response": {
|
"response": {
|
||||||
"$ref": "DeleteAccountResponse"
|
"$ref": "DeleteAccountResponse"
|
||||||
}
|
},
|
||||||
|
"scopes": [
|
||||||
|
"https://www.googleapis.com/auth/cloud-platform"
|
||||||
|
]
|
||||||
},
|
},
|
||||||
"downloadAccount": {
|
"downloadAccount": {
|
||||||
"id": "identitytoolkit.relyingparty.downloadAccount",
|
"id": "identitytoolkit.relyingparty.downloadAccount",
|
||||||
@@ -1477,7 +1546,11 @@
|
|||||||
},
|
},
|
||||||
"response": {
|
"response": {
|
||||||
"$ref": "DownloadAccountResponse"
|
"$ref": "DownloadAccountResponse"
|
||||||
}
|
},
|
||||||
|
"scopes": [
|
||||||
|
"https://www.googleapis.com/auth/cloud-platform",
|
||||||
|
"https://www.googleapis.com/auth/firebase"
|
||||||
|
]
|
||||||
},
|
},
|
||||||
"getAccountInfo": {
|
"getAccountInfo": {
|
||||||
"id": "identitytoolkit.relyingparty.getAccountInfo",
|
"id": "identitytoolkit.relyingparty.getAccountInfo",
|
||||||
@@ -1489,7 +1562,10 @@
|
|||||||
},
|
},
|
||||||
"response": {
|
"response": {
|
||||||
"$ref": "GetAccountInfoResponse"
|
"$ref": "GetAccountInfoResponse"
|
||||||
}
|
},
|
||||||
|
"scopes": [
|
||||||
|
"https://www.googleapis.com/auth/cloud-platform"
|
||||||
|
]
|
||||||
},
|
},
|
||||||
"getOobConfirmationCode": {
|
"getOobConfirmationCode": {
|
||||||
"id": "identitytoolkit.relyingparty.getOobConfirmationCode",
|
"id": "identitytoolkit.relyingparty.getOobConfirmationCode",
|
||||||
@@ -1501,7 +1577,10 @@
|
|||||||
},
|
},
|
||||||
"response": {
|
"response": {
|
||||||
"$ref": "GetOobConfirmationCodeResponse"
|
"$ref": "GetOobConfirmationCodeResponse"
|
||||||
}
|
},
|
||||||
|
"scopes": [
|
||||||
|
"https://www.googleapis.com/auth/cloud-platform"
|
||||||
|
]
|
||||||
},
|
},
|
||||||
"getProjectConfig": {
|
"getProjectConfig": {
|
||||||
"id": "identitytoolkit.relyingparty.getProjectConfig",
|
"id": "identitytoolkit.relyingparty.getProjectConfig",
|
||||||
@@ -1522,7 +1601,10 @@
|
|||||||
},
|
},
|
||||||
"response": {
|
"response": {
|
||||||
"$ref": "IdentitytoolkitRelyingpartyGetProjectConfigResponse"
|
"$ref": "IdentitytoolkitRelyingpartyGetProjectConfigResponse"
|
||||||
}
|
},
|
||||||
|
"scopes": [
|
||||||
|
"https://www.googleapis.com/auth/cloud-platform"
|
||||||
|
]
|
||||||
},
|
},
|
||||||
"getPublicKeys": {
|
"getPublicKeys": {
|
||||||
"id": "identitytoolkit.relyingparty.getPublicKeys",
|
"id": "identitytoolkit.relyingparty.getPublicKeys",
|
||||||
@@ -1531,7 +1613,10 @@
|
|||||||
"description": "Get token signing public key.",
|
"description": "Get token signing public key.",
|
||||||
"response": {
|
"response": {
|
||||||
"$ref": "IdentitytoolkitRelyingpartyGetPublicKeysResponse"
|
"$ref": "IdentitytoolkitRelyingpartyGetPublicKeysResponse"
|
||||||
}
|
},
|
||||||
|
"scopes": [
|
||||||
|
"https://www.googleapis.com/auth/cloud-platform"
|
||||||
|
]
|
||||||
},
|
},
|
||||||
"getRecaptchaParam": {
|
"getRecaptchaParam": {
|
||||||
"id": "identitytoolkit.relyingparty.getRecaptchaParam",
|
"id": "identitytoolkit.relyingparty.getRecaptchaParam",
|
||||||
@@ -1540,7 +1625,10 @@
|
|||||||
"description": "Get recaptcha secure param.",
|
"description": "Get recaptcha secure param.",
|
||||||
"response": {
|
"response": {
|
||||||
"$ref": "GetRecaptchaParamResponse"
|
"$ref": "GetRecaptchaParamResponse"
|
||||||
}
|
},
|
||||||
|
"scopes": [
|
||||||
|
"https://www.googleapis.com/auth/cloud-platform"
|
||||||
|
]
|
||||||
},
|
},
|
||||||
"resetPassword": {
|
"resetPassword": {
|
||||||
"id": "identitytoolkit.relyingparty.resetPassword",
|
"id": "identitytoolkit.relyingparty.resetPassword",
|
||||||
@@ -1552,7 +1640,10 @@
|
|||||||
},
|
},
|
||||||
"response": {
|
"response": {
|
||||||
"$ref": "ResetPasswordResponse"
|
"$ref": "ResetPasswordResponse"
|
||||||
}
|
},
|
||||||
|
"scopes": [
|
||||||
|
"https://www.googleapis.com/auth/cloud-platform"
|
||||||
|
]
|
||||||
},
|
},
|
||||||
"setAccountInfo": {
|
"setAccountInfo": {
|
||||||
"id": "identitytoolkit.relyingparty.setAccountInfo",
|
"id": "identitytoolkit.relyingparty.setAccountInfo",
|
||||||
@@ -1564,7 +1655,10 @@
|
|||||||
},
|
},
|
||||||
"response": {
|
"response": {
|
||||||
"$ref": "SetAccountInfoResponse"
|
"$ref": "SetAccountInfoResponse"
|
||||||
}
|
},
|
||||||
|
"scopes": [
|
||||||
|
"https://www.googleapis.com/auth/cloud-platform"
|
||||||
|
]
|
||||||
},
|
},
|
||||||
"setProjectConfig": {
|
"setProjectConfig": {
|
||||||
"id": "identitytoolkit.relyingparty.setProjectConfig",
|
"id": "identitytoolkit.relyingparty.setProjectConfig",
|
||||||
@@ -1576,7 +1670,10 @@
|
|||||||
},
|
},
|
||||||
"response": {
|
"response": {
|
||||||
"$ref": "IdentitytoolkitRelyingpartySetProjectConfigResponse"
|
"$ref": "IdentitytoolkitRelyingpartySetProjectConfigResponse"
|
||||||
}
|
},
|
||||||
|
"scopes": [
|
||||||
|
"https://www.googleapis.com/auth/cloud-platform"
|
||||||
|
]
|
||||||
},
|
},
|
||||||
"signOutUser": {
|
"signOutUser": {
|
||||||
"id": "identitytoolkit.relyingparty.signOutUser",
|
"id": "identitytoolkit.relyingparty.signOutUser",
|
||||||
@@ -1588,7 +1685,10 @@
|
|||||||
},
|
},
|
||||||
"response": {
|
"response": {
|
||||||
"$ref": "IdentitytoolkitRelyingpartySignOutUserResponse"
|
"$ref": "IdentitytoolkitRelyingpartySignOutUserResponse"
|
||||||
}
|
},
|
||||||
|
"scopes": [
|
||||||
|
"https://www.googleapis.com/auth/cloud-platform"
|
||||||
|
]
|
||||||
},
|
},
|
||||||
"signupNewUser": {
|
"signupNewUser": {
|
||||||
"id": "identitytoolkit.relyingparty.signupNewUser",
|
"id": "identitytoolkit.relyingparty.signupNewUser",
|
||||||
@@ -1600,7 +1700,10 @@
|
|||||||
},
|
},
|
||||||
"response": {
|
"response": {
|
||||||
"$ref": "SignupNewUserResponse"
|
"$ref": "SignupNewUserResponse"
|
||||||
}
|
},
|
||||||
|
"scopes": [
|
||||||
|
"https://www.googleapis.com/auth/cloud-platform"
|
||||||
|
]
|
||||||
},
|
},
|
||||||
"uploadAccount": {
|
"uploadAccount": {
|
||||||
"id": "identitytoolkit.relyingparty.uploadAccount",
|
"id": "identitytoolkit.relyingparty.uploadAccount",
|
||||||
@@ -1612,7 +1715,11 @@
|
|||||||
},
|
},
|
||||||
"response": {
|
"response": {
|
||||||
"$ref": "UploadAccountResponse"
|
"$ref": "UploadAccountResponse"
|
||||||
}
|
},
|
||||||
|
"scopes": [
|
||||||
|
"https://www.googleapis.com/auth/cloud-platform",
|
||||||
|
"https://www.googleapis.com/auth/firebase"
|
||||||
|
]
|
||||||
},
|
},
|
||||||
"verifyAssertion": {
|
"verifyAssertion": {
|
||||||
"id": "identitytoolkit.relyingparty.verifyAssertion",
|
"id": "identitytoolkit.relyingparty.verifyAssertion",
|
||||||
@@ -1624,7 +1731,10 @@
|
|||||||
},
|
},
|
||||||
"response": {
|
"response": {
|
||||||
"$ref": "VerifyAssertionResponse"
|
"$ref": "VerifyAssertionResponse"
|
||||||
}
|
},
|
||||||
|
"scopes": [
|
||||||
|
"https://www.googleapis.com/auth/cloud-platform"
|
||||||
|
]
|
||||||
},
|
},
|
||||||
"verifyCustomToken": {
|
"verifyCustomToken": {
|
||||||
"id": "identitytoolkit.relyingparty.verifyCustomToken",
|
"id": "identitytoolkit.relyingparty.verifyCustomToken",
|
||||||
@@ -1636,7 +1746,10 @@
|
|||||||
},
|
},
|
||||||
"response": {
|
"response": {
|
||||||
"$ref": "VerifyCustomTokenResponse"
|
"$ref": "VerifyCustomTokenResponse"
|
||||||
}
|
},
|
||||||
|
"scopes": [
|
||||||
|
"https://www.googleapis.com/auth/cloud-platform"
|
||||||
|
]
|
||||||
},
|
},
|
||||||
"verifyPassword": {
|
"verifyPassword": {
|
||||||
"id": "identitytoolkit.relyingparty.verifyPassword",
|
"id": "identitytoolkit.relyingparty.verifyPassword",
|
||||||
@@ -1648,7 +1761,10 @@
|
|||||||
},
|
},
|
||||||
"response": {
|
"response": {
|
||||||
"$ref": "VerifyPasswordResponse"
|
"$ref": "VerifyPasswordResponse"
|
||||||
}
|
},
|
||||||
|
"scopes": [
|
||||||
|
"https://www.googleapis.com/auth/cloud-platform"
|
||||||
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"kind": "discovery#restDescription",
|
"kind": "discovery#restDescription",
|
||||||
"etag": "\"C5oy1hgQsABtYOYIOXWcR3BgYqU/MyGIPHuwU0Ku04gaZJZTvYYLLEQ\"",
|
"etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/MyGIPHuwU0Ku04gaZJZTvYYLLEQ\"",
|
||||||
"discoveryVersion": "v1",
|
"discoveryVersion": "v1",
|
||||||
"id": "kgsearch:v1",
|
"id": "kgsearch:v1",
|
||||||
"name": "kgsearch",
|
"name": "kgsearch",
|
||||||
|
|||||||
1085
etc/api/language/v1/language-api.json
Normal file
1085
etc/api/language/v1/language-api.json
Normal file
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"kind": "discovery#restDescription",
|
"kind": "discovery#restDescription",
|
||||||
"etag": "\"C5oy1hgQsABtYOYIOXWcR3BgYqU/e3DwUYJq7cR8DMYb0b0rJ8XCL6k\"",
|
"etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/FyUD9D0inmca5JWfAKYW1_Iol18\"",
|
||||||
"discoveryVersion": "v1",
|
"discoveryVersion": "v1",
|
||||||
"id": "licensing:v1",
|
"id": "licensing:v1",
|
||||||
"name": "licensing",
|
"name": "licensing",
|
||||||
@@ -11,8 +11,8 @@
|
|||||||
"ownerDomain": "google.com",
|
"ownerDomain": "google.com",
|
||||||
"ownerName": "Google",
|
"ownerName": "Google",
|
||||||
"icons": {
|
"icons": {
|
||||||
"x16": "http://www.google.com/images/icons/product/search-16.gif",
|
"x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png",
|
||||||
"x32": "http://www.google.com/images/icons/product/search-32.gif"
|
"x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png"
|
||||||
},
|
},
|
||||||
"documentationLink": "https://developers.google.com/google-apps/licensing/",
|
"documentationLink": "https://developers.google.com/google-apps/licensing/",
|
||||||
"protocol": "rest",
|
"protocol": "rest",
|
||||||
|
|||||||
2090
etc/api/logging/v2/logging-api.json
Normal file
2090
etc/api/logging/v2/logging-api.json
Normal file
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
353
etc/api/manufacturers/v1/manufacturers-api.json
Normal file
353
etc/api/manufacturers/v1/manufacturers-api.json
Normal file
@@ -0,0 +1,353 @@
|
|||||||
|
{
|
||||||
|
"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"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"schemas": {
|
||||||
|
"ListProductsResponse": {
|
||||||
|
"type": "object",
|
||||||
|
"properties": {
|
||||||
|
"nextPageToken": {
|
||||||
|
"description": "The token for the retrieval of the next page of product statuses.",
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
"products": {
|
||||||
|
"description": "List of the products.",
|
||||||
|
"type": "array",
|
||||||
|
"items": {
|
||||||
|
"$ref": "Product"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"id": "ListProductsResponse"
|
||||||
|
},
|
||||||
|
"Issue": {
|
||||||
|
"description": "Product issue.",
|
||||||
|
"type": "object",
|
||||||
|
"properties": {
|
||||||
|
"severity": {
|
||||||
|
"description": "The severity of the issue.",
|
||||||
|
"enum": [
|
||||||
|
"SEVERITY_UNSPECIFIED",
|
||||||
|
"ERROR",
|
||||||
|
"WARNING",
|
||||||
|
"INFO"
|
||||||
|
],
|
||||||
|
"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"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"id": "Issue"
|
||||||
|
},
|
||||||
|
"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.",
|
||||||
|
"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"
|
||||||
|
},
|
||||||
|
"title": {
|
||||||
|
"description": "The title of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#title.",
|
||||||
|
"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"
|
||||||
|
},
|
||||||
|
"productName": {
|
||||||
|
"description": "The canonical name of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#productname.",
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
"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.",
|
||||||
|
"type": "array",
|
||||||
|
"items": {
|
||||||
|
"type": "string"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"gtin": {
|
||||||
|
"description": "The Global Trade Item Number (GTIN) of the product. For more information,\nsee https://support.google.com/manufacturers/answer/6124116#gtin.",
|
||||||
|
"type": "array",
|
||||||
|
"items": {
|
||||||
|
"type": "string"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"id": "Attributes"
|
||||||
|
},
|
||||||
|
"Product": {
|
||||||
|
"description": "Product data.",
|
||||||
|
"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",
|
||||||
|
"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"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"revision": "20161028",
|
||||||
|
"basePath": "",
|
||||||
|
"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",
|
||||||
|
"canonicalName": "Manufacturer Center",
|
||||||
|
"discoveryVersion": "v1",
|
||||||
|
"baseUrl": "https://manufacturers.googleapis.com/",
|
||||||
|
"name": "manufacturers",
|
||||||
|
"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/manufacturers/",
|
||||||
|
"ownerDomain": "google.com",
|
||||||
|
"batchPath": "batch",
|
||||||
|
"servicePath": "",
|
||||||
|
"ownerName": "Google",
|
||||||
|
"version": "v1",
|
||||||
|
"rootUrl": "https://manufacturers.googleapis.com/",
|
||||||
|
"kind": "discovery#restDescription"
|
||||||
|
}
|
||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"kind": "discovery#restDescription",
|
"kind": "discovery#restDescription",
|
||||||
"etag": "\"C5oy1hgQsABtYOYIOXWcR3BgYqU/OwaGZAsygqh-DVZUGXJhzHuvoBQ\"",
|
"etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/nxDdKsGKU-CGQ0rCYbUZuIhDXnY\"",
|
||||||
"discoveryVersion": "v1",
|
"discoveryVersion": "v1",
|
||||||
"id": "mirror:v1",
|
"id": "mirror:v1",
|
||||||
"name": "mirror",
|
"name": "mirror",
|
||||||
@@ -11,8 +11,8 @@
|
|||||||
"ownerDomain": "google.com",
|
"ownerDomain": "google.com",
|
||||||
"ownerName": "Google",
|
"ownerName": "Google",
|
||||||
"icons": {
|
"icons": {
|
||||||
"x16": "http://www.google.com/images/icons/product/search-16.gif",
|
"x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png",
|
||||||
"x32": "http://www.google.com/images/icons/product/search-32.gif"
|
"x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png"
|
||||||
},
|
},
|
||||||
"documentationLink": "https://developers.google.com/glass",
|
"documentationLink": "https://developers.google.com/glass",
|
||||||
"labels": [
|
"labels": [
|
||||||
|
|||||||
1385
etc/api/ml/v1beta1/ml-api.json
Normal file
1385
etc/api/ml/v1beta1/ml-api.json
Normal file
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -1,18 +1,18 @@
|
|||||||
{
|
{
|
||||||
"kind": "discovery#restDescription",
|
"kind": "discovery#restDescription",
|
||||||
"etag": "\"C5oy1hgQsABtYOYIOXWcR3BgYqU/uXLS8z-zc-3mqba8ZhXP5-JJ2ag\"",
|
"etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/ZNWWs55SDv_tc8yf5oM647SvRm8\"",
|
||||||
"discoveryVersion": "v1",
|
"discoveryVersion": "v1",
|
||||||
"id": "oauth2:v1",
|
"id": "oauth2:v1",
|
||||||
"name": "oauth2",
|
"name": "oauth2",
|
||||||
"version": "v1",
|
"version": "v1",
|
||||||
"revision": "20160822",
|
"revision": "20161103",
|
||||||
"title": "Google OAuth2 API",
|
"title": "Google OAuth2 API",
|
||||||
"description": "Obtains end-user authorization grants for use with other Google APIs.",
|
"description": "Obtains end-user authorization grants for use with other Google APIs.",
|
||||||
"ownerDomain": "google.com",
|
"ownerDomain": "google.com",
|
||||||
"ownerName": "Google",
|
"ownerName": "Google",
|
||||||
"icons": {
|
"icons": {
|
||||||
"x16": "http://www.google.com/images/icons/product/search-16.gif",
|
"x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png",
|
||||||
"x32": "http://www.google.com/images/icons/product/search-32.gif"
|
"x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png"
|
||||||
},
|
},
|
||||||
"documentationLink": "https://developers.google.com/accounts/docs/OAuth2",
|
"documentationLink": "https://developers.google.com/accounts/docs/OAuth2",
|
||||||
"protocol": "rest",
|
"protocol": "rest",
|
||||||
|
|||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user