Update vendored dependencies
This includes github.com/kurin/blazer 0.2.0, which resolves #1291
This commit is contained in:
parent
ba23d24dd1
commit
61cb1cc6f8
1044 changed files with 203022 additions and 97709 deletions
160
vendor/google.golang.org/api/acceleratedmobilepageurl/v1/acceleratedmobilepageurl-api.json
generated
vendored
160
vendor/google.golang.org/api/acceleratedmobilepageurl/v1/acceleratedmobilepageurl-api.json
generated
vendored
|
@ -1,29 +1,43 @@
|
|||
{
|
||||
"ownerName": "Google",
|
||||
"discoveryVersion": "v1",
|
||||
"version_module": "True",
|
||||
"version_module": true,
|
||||
"resources": {
|
||||
"ampUrls": {
|
||||
"methods": {
|
||||
"batchGet": {
|
||||
"request": {
|
||||
"$ref": "BatchGetAmpUrlsRequest"
|
||||
},
|
||||
"description": "Returns AMP URL(s) and equivalent\n[AMP Cache URL(s)](/amp/cache/overview#amp-cache-url-format).",
|
||||
"httpMethod": "POST",
|
||||
"parameterOrder": [],
|
||||
"response": {
|
||||
"$ref": "BatchGetAmpUrlsResponse"
|
||||
},
|
||||
"parameterOrder": [],
|
||||
"httpMethod": "POST",
|
||||
"parameters": {},
|
||||
"flatPath": "v1/ampUrls:batchGet",
|
||||
"id": "acceleratedmobilepageurl.ampUrls.batchGet",
|
||||
"path": "v1/ampUrls:batchGet",
|
||||
"description": "Returns AMP URL(s) and equivalent\n[AMP Cache URL(s)](/amp/cache/overview#amp-cache-url-format).",
|
||||
"request": {
|
||||
"$ref": "BatchGetAmpUrlsRequest"
|
||||
}
|
||||
"id": "acceleratedmobilepageurl.ampUrls.batchGet"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"parameters": {
|
||||
"pp": {
|
||||
"location": "query",
|
||||
"description": "Pretty-print response.",
|
||||
"default": "true",
|
||||
"type": "boolean"
|
||||
},
|
||||
"oauth_token": {
|
||||
"description": "OAuth 2.0 token for the current user.",
|
||||
"type": "string",
|
||||
"location": "query"
|
||||
},
|
||||
"bearer_token": {
|
||||
"description": "OAuth bearer token.",
|
||||
"type": "string",
|
||||
"location": "query"
|
||||
},
|
||||
"upload_protocol": {
|
||||
"location": "query",
|
||||
"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").",
|
||||
|
@ -46,13 +60,11 @@
|
|||
"location": "query"
|
||||
},
|
||||
"callback": {
|
||||
"location": "query",
|
||||
"description": "JSONP",
|
||||
"type": "string",
|
||||
"location": "query"
|
||||
"type": "string"
|
||||
},
|
||||
"$.xgafv": {
|
||||
"description": "V1 error format.",
|
||||
"type": "string",
|
||||
"enumDescriptions": [
|
||||
"v1 error format",
|
||||
"v2 error format"
|
||||
|
@ -61,7 +73,9 @@
|
|||
"enum": [
|
||||
"1",
|
||||
"2"
|
||||
]
|
||||
],
|
||||
"description": "V1 error format.",
|
||||
"type": "string"
|
||||
},
|
||||
"alt": {
|
||||
"enumDescriptions": [
|
||||
|
@ -85,33 +99,57 @@
|
|||
"type": "string"
|
||||
},
|
||||
"access_token": {
|
||||
"location": "query",
|
||||
"description": "OAuth access token.",
|
||||
"type": "string"
|
||||
},
|
||||
"quotaUser": {
|
||||
"location": "query",
|
||||
"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.",
|
||||
"type": "string"
|
||||
},
|
||||
"pp": {
|
||||
"location": "query",
|
||||
"description": "Pretty-print response.",
|
||||
"default": "true",
|
||||
"type": "boolean"
|
||||
},
|
||||
"oauth_token": {
|
||||
"description": "OAuth 2.0 token for the current user.",
|
||||
"type": "string",
|
||||
"location": "query"
|
||||
},
|
||||
"bearer_token": {
|
||||
"description": "OAuth bearer token.",
|
||||
"quotaUser": {
|
||||
"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.",
|
||||
"type": "string",
|
||||
"location": "query"
|
||||
}
|
||||
},
|
||||
"schemas": {
|
||||
"BatchGetAmpUrlsResponse": {
|
||||
"description": "Batch AMP URL response.",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"urlErrors": {
|
||||
"description": "The errors for requested URLs that have no AMP URL.",
|
||||
"items": {
|
||||
"$ref": "AmpUrlError"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"ampUrls": {
|
||||
"description": "For each URL in BatchAmpUrlsRequest, the URL response. The response might\nnot be in the same order as URLs in the batch request.\nIf BatchAmpUrlsRequest contains duplicate URLs, AmpUrl is generated\nonly once.",
|
||||
"items": {
|
||||
"$ref": "AmpUrl"
|
||||
},
|
||||
"type": "array"
|
||||
}
|
||||
},
|
||||
"id": "BatchGetAmpUrlsResponse"
|
||||
},
|
||||
"AmpUrl": {
|
||||
"description": "AMP URL response for a requested URL.",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"cdnAmpUrl": {
|
||||
"description": "The [AMP Cache URL](/amp/cache/overview#amp-cache-url-format) pointing to\nthe cached document in the Google AMP Cache.",
|
||||
"type": "string"
|
||||
},
|
||||
"ampUrl": {
|
||||
"description": "The AMP URL pointing to the publisher's web server.",
|
||||
"type": "string"
|
||||
},
|
||||
"originalUrl": {
|
||||
"description": "The original non-AMP URL.",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"id": "AmpUrl"
|
||||
},
|
||||
"AmpUrlError": {
|
||||
"description": "AMP URL Error resource for a requested URL that couldn't be found.",
|
||||
"type": "object",
|
||||
|
@ -152,6 +190,8 @@
|
|||
"type": "object",
|
||||
"properties": {
|
||||
"lookupStrategy": {
|
||||
"description": "The lookup_strategy being requested.",
|
||||
"type": "string",
|
||||
"enumDescriptions": [
|
||||
"FETCH_LIVE_DOC strategy involves live document fetch of URLs not found in\nthe index. Any request URL not found in the index is crawled in realtime\nto validate if there is a corresponding AMP URL. This strategy has higher\ncoverage but with extra latency introduced by realtime crawling. This is\nthe default strategy. Applications using this strategy should set higher\nHTTP timeouts of the API calls.",
|
||||
"IN_INDEX_DOC strategy skips fetching live documents of URL(s) not found\nin index. For applications which need low latency use of IN_INDEX_DOC\nstrategy is recommended."
|
||||
|
@ -159,9 +199,7 @@
|
|||
"enum": [
|
||||
"FETCH_LIVE_DOC",
|
||||
"IN_INDEX_DOC"
|
||||
],
|
||||
"description": "The lookup_strategy being requested.",
|
||||
"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)).",
|
||||
|
@ -172,52 +210,12 @@
|
|||
}
|
||||
},
|
||||
"id": "BatchGetAmpUrlsRequest"
|
||||
},
|
||||
"BatchGetAmpUrlsResponse": {
|
||||
"description": "Batch AMP URL response.",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"urlErrors": {
|
||||
"description": "The errors for requested URLs that have no AMP URL.",
|
||||
"items": {
|
||||
"$ref": "AmpUrlError"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"ampUrls": {
|
||||
"description": "For each URL in BatchAmpUrlsRequest, the URL response. The response might\nnot be in the same order as URLs in the batch request.\nIf BatchAmpUrlsRequest contains duplicate URLs, AmpUrl is generated\nonly once.",
|
||||
"items": {
|
||||
"$ref": "AmpUrl"
|
||||
},
|
||||
"type": "array"
|
||||
}
|
||||
},
|
||||
"id": "BatchGetAmpUrlsResponse"
|
||||
},
|
||||
"AmpUrl": {
|
||||
"description": "AMP URL response for a requested URL.",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"cdnAmpUrl": {
|
||||
"description": "The [AMP Cache URL](/amp/cache/overview#amp-cache-url-format) pointing to\nthe cached document in the Google AMP Cache.",
|
||||
"type": "string"
|
||||
},
|
||||
"ampUrl": {
|
||||
"description": "The AMP URL pointing to the publisher's web server.",
|
||||
"type": "string"
|
||||
},
|
||||
"originalUrl": {
|
||||
"description": "The original non-AMP URL.",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"id": "AmpUrl"
|
||||
}
|
||||
},
|
||||
"protocol": "rest",
|
||||
"icons": {
|
||||
"x16": "http://www.google.com/images/icons/product/search-16.gif",
|
||||
"x32": "http://www.google.com/images/icons/product/search-32.gif"
|
||||
"x32": "http://www.google.com/images/icons/product/search-32.gif",
|
||||
"x16": "http://www.google.com/images/icons/product/search-16.gif"
|
||||
},
|
||||
"version": "v1",
|
||||
"baseUrl": "https://acceleratedmobilepageurl.googleapis.com/",
|
||||
|
@ -229,8 +227,10 @@
|
|||
"ownerDomain": "google.com",
|
||||
"name": "acceleratedmobilepageurl",
|
||||
"batchPath": "batch",
|
||||
"revision": "20170718",
|
||||
"revision": "20170926",
|
||||
"documentationLink": "https://developers.google.com/amp/cache/",
|
||||
"id": "acceleratedmobilepageurl:v1",
|
||||
"title": "Accelerated Mobile Pages (AMP) URL API"
|
||||
"title": "Accelerated Mobile Pages (AMP) URL API",
|
||||
"ownerName": "Google",
|
||||
"discoveryVersion": "v1"
|
||||
}
|
||||
|
|
5452
vendor/google.golang.org/api/adexchangebuyer2/v2beta1/adexchangebuyer2-api.json
generated
vendored
5452
vendor/google.golang.org/api/adexchangebuyer2/v2beta1/adexchangebuyer2-api.json
generated
vendored
File diff suppressed because it is too large
Load diff
17
vendor/google.golang.org/api/adexchangebuyer2/v2beta1/adexchangebuyer2-gen.go
generated
vendored
17
vendor/google.golang.org/api/adexchangebuyer2/v2beta1/adexchangebuyer2-gen.go
generated
vendored
|
@ -3126,22 +3126,7 @@ func (s *ServingRestriction) MarshalJSON() ([]byte, error) {
|
|||
type StopWatchingCreativeRequest struct {
|
||||
}
|
||||
|
||||
// TimeInterval: An interval of time, with an absolute start and
|
||||
// end.
|
||||
// This is included in the response, for several reasons:
|
||||
// 1) The request may have specified start or end times relative to the
|
||||
// time the
|
||||
// request was sent; the response indicates the corresponding
|
||||
// absolute time
|
||||
// interval.
|
||||
// 2) The request may have specified an end time past the latest time
|
||||
// for which
|
||||
// data was available (e.g. if requesting data for the today); the
|
||||
// response
|
||||
// indicates the latest time for which data was actually returned.
|
||||
// 3) The response data for a single request may be broken down into
|
||||
// multiple
|
||||
// time intervals, if a time series was requested.
|
||||
// TimeInterval: An interval of time, with an absolute start and end.
|
||||
type TimeInterval struct {
|
||||
// EndTime: The timestamp marking the end of the range (exclusive) for
|
||||
// which data is
|
||||
|
|
350
vendor/google.golang.org/api/adexperiencereport/v1/adexperiencereport-api.json
generated
vendored
350
vendor/google.golang.org/api/adexperiencereport/v1/adexperiencereport-api.json
generated
vendored
|
@ -1,4 +1,120 @@
|
|||
{
|
||||
"schemas": {
|
||||
"ViolatingSitesResponse": {
|
||||
"description": "Response message for ListViolatingSites.",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"violatingSites": {
|
||||
"description": "A list of summaries of violating sites.",
|
||||
"items": {
|
||||
"$ref": "SiteSummaryResponse"
|
||||
},
|
||||
"type": "array"
|
||||
}
|
||||
},
|
||||
"id": "ViolatingSitesResponse"
|
||||
},
|
||||
"SiteSummaryResponse": {
|
||||
"description": "Response message for GetSiteSummary.",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"mobileSummary": {
|
||||
"description": "Summary for the mobile review of the site.",
|
||||
"$ref": "PlatformSummary"
|
||||
},
|
||||
"reviewedSite": {
|
||||
"description": "The name of the site reviewed.",
|
||||
"type": "string"
|
||||
},
|
||||
"desktopSummary": {
|
||||
"description": "Summary for the desktop review of the site.",
|
||||
"$ref": "PlatformSummary"
|
||||
}
|
||||
},
|
||||
"id": "SiteSummaryResponse"
|
||||
},
|
||||
"PlatformSummary": {
|
||||
"properties": {
|
||||
"lastChangeTime": {
|
||||
"format": "google-datetime",
|
||||
"description": "The last time that the site changed status.",
|
||||
"type": "string"
|
||||
},
|
||||
"betterAdsStatus": {
|
||||
"enum": [
|
||||
"UNKNOWN",
|
||||
"PASSING",
|
||||
"WARNING",
|
||||
"FAILING"
|
||||
],
|
||||
"description": "The status of the site reviewed for the Better Ads Standards.",
|
||||
"type": "string",
|
||||
"enumDescriptions": [
|
||||
"Not reviewed.",
|
||||
"Passing.",
|
||||
"Warning.",
|
||||
"Failing."
|
||||
]
|
||||
},
|
||||
"region": {
|
||||
"enumDescriptions": [
|
||||
"Ad standard not yet defined for your region.",
|
||||
"Region A.",
|
||||
"Region B."
|
||||
],
|
||||
"description": "The assigned regions for the site and platform.",
|
||||
"items": {
|
||||
"enum": [
|
||||
"REGION_UNKNOWN",
|
||||
"REGION_A",
|
||||
"REGION_B"
|
||||
],
|
||||
"type": "string"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"enforcementTime": {
|
||||
"format": "google-datetime",
|
||||
"description": "The date on which ad filtering begins.",
|
||||
"type": "string"
|
||||
},
|
||||
"filterStatus": {
|
||||
"enumDescriptions": [
|
||||
"N/A.",
|
||||
"Ad filtering is on.",
|
||||
"Ad filtering is off.",
|
||||
"Ad filtering is paused.",
|
||||
"Ad filtering is pending."
|
||||
],
|
||||
"enum": [
|
||||
"UNKNOWN",
|
||||
"ON",
|
||||
"OFF",
|
||||
"PAUSED",
|
||||
"PENDING"
|
||||
],
|
||||
"description": "The ad filtering status of the site.",
|
||||
"type": "string"
|
||||
},
|
||||
"underReview": {
|
||||
"description": "Whether the site is currently under review.",
|
||||
"type": "boolean"
|
||||
},
|
||||
"reportUrl": {
|
||||
"description": "A link that leads to a full ad experience report.",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"id": "PlatformSummary",
|
||||
"description": "Summary of the ad experience rating of a site for a specific platform.",
|
||||
"type": "object"
|
||||
}
|
||||
},
|
||||
"protocol": "rest",
|
||||
"icons": {
|
||||
"x32": "http://www.google.com/images/icons/product/search-32.gif",
|
||||
"x16": "http://www.google.com/images/icons/product/search-16.gif"
|
||||
},
|
||||
"canonicalName": "Ad Experience Report",
|
||||
"auth": {
|
||||
"oauth2": {
|
||||
|
@ -16,17 +132,39 @@
|
|||
"title": "Google Ad Experience Report API",
|
||||
"ownerName": "Google",
|
||||
"resources": {
|
||||
"violatingSites": {
|
||||
"methods": {
|
||||
"list": {
|
||||
"httpMethod": "GET",
|
||||
"parameterOrder": [],
|
||||
"response": {
|
||||
"$ref": "ViolatingSitesResponse"
|
||||
},
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/xapi.zoo"
|
||||
],
|
||||
"parameters": {},
|
||||
"flatPath": "v1/violatingSites",
|
||||
"path": "v1/violatingSites",
|
||||
"id": "adexperiencereport.violatingSites.list",
|
||||
"description": "Lists sites with Ad Experience Report statuses of \"Failing\" or \"Warning\"."
|
||||
}
|
||||
}
|
||||
},
|
||||
"sites": {
|
||||
"methods": {
|
||||
"get": {
|
||||
"description": "Gets a summary of the ad experience rating of a site.",
|
||||
"httpMethod": "GET",
|
||||
"parameterOrder": [
|
||||
"name"
|
||||
],
|
||||
"response": {
|
||||
"$ref": "SiteSummaryResponse"
|
||||
},
|
||||
"parameterOrder": [
|
||||
"name"
|
||||
],
|
||||
"httpMethod": "GET",
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/xapi.zoo"
|
||||
],
|
||||
"parameters": {
|
||||
"name": {
|
||||
"pattern": "^sites/[^/]+$",
|
||||
|
@ -36,57 +174,14 @@
|
|||
"required": true
|
||||
}
|
||||
},
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/xapi.zoo"
|
||||
],
|
||||
"flatPath": "v1/sites/{sitesId}",
|
||||
"path": "v1/{+name}",
|
||||
"id": "adexperiencereport.sites.get"
|
||||
}
|
||||
}
|
||||
},
|
||||
"violatingSites": {
|
||||
"methods": {
|
||||
"list": {
|
||||
"description": "Lists sites with Ad Experience Report statuses of \"Failing\" or \"Warning\".",
|
||||
"response": {
|
||||
"$ref": "ViolatingSitesResponse"
|
||||
},
|
||||
"parameterOrder": [],
|
||||
"httpMethod": "GET",
|
||||
"parameters": {},
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/xapi.zoo"
|
||||
],
|
||||
"flatPath": "v1/violatingSites",
|
||||
"id": "adexperiencereport.violatingSites.list",
|
||||
"path": "v1/violatingSites"
|
||||
"id": "adexperiencereport.sites.get",
|
||||
"path": "v1/{+name}"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"parameters": {
|
||||
"access_token": {
|
||||
"description": "OAuth access token.",
|
||||
"type": "string",
|
||||
"location": "query"
|
||||
},
|
||||
"key": {
|
||||
"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.",
|
||||
"type": "string",
|
||||
"location": "query"
|
||||
},
|
||||
"quotaUser": {
|
||||
"location": "query",
|
||||
"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.",
|
||||
"type": "string"
|
||||
},
|
||||
"pp": {
|
||||
"location": "query",
|
||||
"description": "Pretty-print response.",
|
||||
"default": "true",
|
||||
"type": "boolean"
|
||||
},
|
||||
"bearer_token": {
|
||||
"location": "query",
|
||||
"description": "OAuth bearer token.",
|
||||
|
@ -103,15 +198,15 @@
|
|||
"type": "string"
|
||||
},
|
||||
"prettyPrint": {
|
||||
"location": "query",
|
||||
"description": "Returns response with indentations and line breaks.",
|
||||
"default": "true",
|
||||
"type": "boolean",
|
||||
"location": "query"
|
||||
"type": "boolean"
|
||||
},
|
||||
"fields": {
|
||||
"location": "query",
|
||||
"description": "Selector specifying which fields to include in a partial response.",
|
||||
"type": "string"
|
||||
"type": "string",
|
||||
"location": "query"
|
||||
},
|
||||
"uploadType": {
|
||||
"location": "query",
|
||||
|
@ -119,6 +214,8 @@
|
|||
"type": "string"
|
||||
},
|
||||
"$.xgafv": {
|
||||
"description": "V1 error format.",
|
||||
"type": "string",
|
||||
"enumDescriptions": [
|
||||
"v1 error format",
|
||||
"v2 error format"
|
||||
|
@ -127,9 +224,7 @@
|
|||
"enum": [
|
||||
"1",
|
||||
"2"
|
||||
],
|
||||
"description": "V1 error format.",
|
||||
"type": "string"
|
||||
]
|
||||
},
|
||||
"callback": {
|
||||
"description": "JSONP",
|
||||
|
@ -151,6 +246,27 @@
|
|||
"location": "query",
|
||||
"description": "Data format for response.",
|
||||
"default": "json"
|
||||
},
|
||||
"access_token": {
|
||||
"description": "OAuth access token.",
|
||||
"type": "string",
|
||||
"location": "query"
|
||||
},
|
||||
"key": {
|
||||
"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.",
|
||||
"type": "string",
|
||||
"location": "query"
|
||||
},
|
||||
"quotaUser": {
|
||||
"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.",
|
||||
"type": "string",
|
||||
"location": "query"
|
||||
},
|
||||
"pp": {
|
||||
"description": "Pretty-print response.",
|
||||
"default": "true",
|
||||
"type": "boolean",
|
||||
"location": "query"
|
||||
}
|
||||
},
|
||||
"version": "v1",
|
||||
|
@ -159,125 +275,9 @@
|
|||
"description": "View Ad Experience Report data, and get a list of sites that have a significant number of annoying ads.",
|
||||
"servicePath": "",
|
||||
"basePath": "",
|
||||
"revision": "20170918",
|
||||
"documentationLink": "https://developers.google.com/ad-experience-report/",
|
||||
"id": "adexperiencereport:v1",
|
||||
"documentationLink": "https://developers.google.com/ad-experience-report/",
|
||||
"revision": "20170918",
|
||||
"discoveryVersion": "v1",
|
||||
"version_module": true,
|
||||
"schemas": {
|
||||
"ViolatingSitesResponse": {
|
||||
"properties": {
|
||||
"violatingSites": {
|
||||
"description": "A list of summaries of violating sites.",
|
||||
"items": {
|
||||
"$ref": "SiteSummaryResponse"
|
||||
},
|
||||
"type": "array"
|
||||
}
|
||||
},
|
||||
"id": "ViolatingSitesResponse",
|
||||
"description": "Response message for ListViolatingSites.",
|
||||
"type": "object"
|
||||
},
|
||||
"SiteSummaryResponse": {
|
||||
"properties": {
|
||||
"mobileSummary": {
|
||||
"description": "Summary for the mobile review of the site.",
|
||||
"$ref": "PlatformSummary"
|
||||
},
|
||||
"reviewedSite": {
|
||||
"description": "The name of the site reviewed.",
|
||||
"type": "string"
|
||||
},
|
||||
"desktopSummary": {
|
||||
"$ref": "PlatformSummary",
|
||||
"description": "Summary for the desktop review of the site."
|
||||
}
|
||||
},
|
||||
"id": "SiteSummaryResponse",
|
||||
"description": "Response message for GetSiteSummary.",
|
||||
"type": "object"
|
||||
},
|
||||
"PlatformSummary": {
|
||||
"description": "Summary of the ad experience rating of a site for a specific platform.",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"lastChangeTime": {
|
||||
"format": "google-datetime",
|
||||
"description": "The last time that the site changed status.",
|
||||
"type": "string"
|
||||
},
|
||||
"betterAdsStatus": {
|
||||
"enumDescriptions": [
|
||||
"Not reviewed.",
|
||||
"Passing.",
|
||||
"Warning.",
|
||||
"Failing."
|
||||
],
|
||||
"enum": [
|
||||
"UNKNOWN",
|
||||
"PASSING",
|
||||
"WARNING",
|
||||
"FAILING"
|
||||
],
|
||||
"description": "The status of the site reviewed for the Better Ads Standards.",
|
||||
"type": "string"
|
||||
},
|
||||
"enforcementTime": {
|
||||
"format": "google-datetime",
|
||||
"description": "The date on which ad filtering begins.",
|
||||
"type": "string"
|
||||
},
|
||||
"region": {
|
||||
"description": "The assigned regions for the site and platform.",
|
||||
"items": {
|
||||
"enum": [
|
||||
"REGION_UNKNOWN",
|
||||
"REGION_A",
|
||||
"REGION_B"
|
||||
],
|
||||
"type": "string"
|
||||
},
|
||||
"type": "array",
|
||||
"enumDescriptions": [
|
||||
"Ad standard not yet defined for your region.",
|
||||
"Region A.",
|
||||
"Region B."
|
||||
]
|
||||
},
|
||||
"filterStatus": {
|
||||
"description": "The ad filtering status of the site.",
|
||||
"type": "string",
|
||||
"enumDescriptions": [
|
||||
"N/A.",
|
||||
"Ad filtering is on.",
|
||||
"Ad filtering is off.",
|
||||
"Ad filtering is paused.",
|
||||
"Ad filtering is pending."
|
||||
],
|
||||
"enum": [
|
||||
"UNKNOWN",
|
||||
"ON",
|
||||
"OFF",
|
||||
"PAUSED",
|
||||
"PENDING"
|
||||
]
|
||||
},
|
||||
"underReview": {
|
||||
"description": "Whether the site is currently under review.",
|
||||
"type": "boolean"
|
||||
},
|
||||
"reportUrl": {
|
||||
"description": "A link that leads to a full ad experience report.",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"id": "PlatformSummary"
|
||||
}
|
||||
},
|
||||
"protocol": "rest",
|
||||
"icons": {
|
||||
"x16": "http://www.google.com/images/icons/product/search-16.gif",
|
||||
"x32": "http://www.google.com/images/icons/product/search-32.gif"
|
||||
}
|
||||
"version_module": true
|
||||
}
|
||||
|
|
51
vendor/google.golang.org/api/admin/directory/v1/admin-api.json
generated
vendored
51
vendor/google.golang.org/api/admin/directory/v1/admin-api.json
generated
vendored
|
@ -1,12 +1,12 @@
|
|||
{
|
||||
"kind": "discovery#restDescription",
|
||||
"etag": "\"YWOzh2SDasdU84ArJnpYek-OMdg/O3yStPLO-_BtPqwnPm5OpyYaKQ4\"",
|
||||
"etag": "\"YWOzh2SDasdU84ArJnpYek-OMdg/JB19efQGH5f-JRT49yZz7BTyNQU\"",
|
||||
"discoveryVersion": "v1",
|
||||
"id": "admin:directory_v1",
|
||||
"name": "admin",
|
||||
"canonicalName": "directory",
|
||||
"version": "directory_v1",
|
||||
"revision": "20170723",
|
||||
"revision": "20170830",
|
||||
"title": "Admin Directory API",
|
||||
"description": "The Admin SDK Directory API lets you view and manage enterprise resources such as users and groups, administrative notifications, security features, and more.",
|
||||
"ownerDomain": "google.com",
|
||||
|
@ -277,6 +277,10 @@
|
|||
"type": "string",
|
||||
"description": "ETag of the resource."
|
||||
},
|
||||
"generatedResourceName": {
|
||||
"type": "string",
|
||||
"description": "The auto-generated name of the calendar resource which includes metadata about the resource such as building name, floor, capacity, etc. For example, NYC-2-Training Room 1A (16)"
|
||||
},
|
||||
"kind": {
|
||||
"type": "string",
|
||||
"description": "The type of the resource. For calendar resources, the value is admin#directory#resources#calendars#CalendarResource.",
|
||||
|
@ -292,21 +296,11 @@
|
|||
},
|
||||
"resourceId": {
|
||||
"type": "string",
|
||||
"description": "The unique ID for the calendar resource.",
|
||||
"annotations": {
|
||||
"required": [
|
||||
"directory.resources.calendars.insert"
|
||||
]
|
||||
}
|
||||
"description": "The unique ID for the calendar resource."
|
||||
},
|
||||
"resourceName": {
|
||||
"type": "string",
|
||||
"description": "The name of the calendar resource. For example, Training Room 1A",
|
||||
"annotations": {
|
||||
"required": [
|
||||
"directory.resources.calendars.insert"
|
||||
]
|
||||
}
|
||||
"description": "The name of the calendar resource. For example, Training Room 1A"
|
||||
},
|
||||
"resourceType": {
|
||||
"type": "string",
|
||||
|
@ -1843,6 +1837,9 @@
|
|||
"externalIds": {
|
||||
"type": "any"
|
||||
},
|
||||
"gender": {
|
||||
"type": "any"
|
||||
},
|
||||
"hashFunction": {
|
||||
"type": "string",
|
||||
"description": "Hash function name for password. Supported are MD5, SHA-1 and crypt"
|
||||
|
@ -2113,6 +2110,24 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
"UserGender": {
|
||||
"id": "UserGender",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"addressMeAs": {
|
||||
"type": "string",
|
||||
"description": "AddressMeAs. A human-readable string containing the proper way to refer to the profile owner by humans, for example \"he/him/his\" or \"they/them/their\"."
|
||||
},
|
||||
"customGender": {
|
||||
"type": "string",
|
||||
"description": "Custom gender."
|
||||
},
|
||||
"type": {
|
||||
"type": "string",
|
||||
"description": "Gender."
|
||||
}
|
||||
}
|
||||
},
|
||||
"UserIm": {
|
||||
"id": "UserIm",
|
||||
"type": "object",
|
||||
|
@ -2395,9 +2410,9 @@
|
|||
"description": "The GECOS (user information) for this account."
|
||||
},
|
||||
"gid": {
|
||||
"type": "integer",
|
||||
"type": "string",
|
||||
"description": "The default group ID.",
|
||||
"format": "int32"
|
||||
"format": "uint64"
|
||||
},
|
||||
"homeDirectory": {
|
||||
"type": "string",
|
||||
|
@ -2416,9 +2431,9 @@
|
|||
"description": "System identifier for which account Username or Uid apply to."
|
||||
},
|
||||
"uid": {
|
||||
"type": "integer",
|
||||
"type": "string",
|
||||
"description": "The POSIX compliant user ID.",
|
||||
"format": "int32"
|
||||
"format": "uint64"
|
||||
},
|
||||
"username": {
|
||||
"type": "string",
|
||||
|
|
46
vendor/google.golang.org/api/admin/directory/v1/admin-gen.go
generated
vendored
46
vendor/google.golang.org/api/admin/directory/v1/admin-gen.go
generated
vendored
|
@ -608,6 +608,11 @@ type CalendarResource struct {
|
|||
// Etags: ETag of the resource.
|
||||
Etags string `json:"etags,omitempty"`
|
||||
|
||||
// GeneratedResourceName: The auto-generated name of the calendar
|
||||
// resource which includes metadata about the resource such as building
|
||||
// name, floor, capacity, etc. For example, NYC-2-Training Room 1A (16)
|
||||
GeneratedResourceName string `json:"generatedResourceName,omitempty"`
|
||||
|
||||
// Kind: The type of the resource. For calendar resources, the value is
|
||||
// admin#directory#resources#calendars#CalendarResource.
|
||||
Kind string `json:"kind,omitempty"`
|
||||
|
@ -2649,6 +2654,8 @@ type User struct {
|
|||
|
||||
ExternalIds interface{} `json:"externalIds,omitempty"`
|
||||
|
||||
Gender interface{} `json:"gender,omitempty"`
|
||||
|
||||
// HashFunction: Hash function name for password. Supported are MD5,
|
||||
// SHA-1 and crypt
|
||||
HashFunction string `json:"hashFunction,omitempty"`
|
||||
|
@ -2942,6 +2949,41 @@ func (s *UserExternalId) MarshalJSON() ([]byte, error) {
|
|||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
type UserGender struct {
|
||||
// AddressMeAs: AddressMeAs. A human-readable string containing the
|
||||
// proper way to refer to the profile owner by humans, for example
|
||||
// "he/him/his" or "they/them/their".
|
||||
AddressMeAs string `json:"addressMeAs,omitempty"`
|
||||
|
||||
// CustomGender: Custom gender.
|
||||
CustomGender string `json:"customGender,omitempty"`
|
||||
|
||||
// Type: Gender.
|
||||
Type string `json:"type,omitempty"`
|
||||
|
||||
// ForceSendFields is a list of field names (e.g. "AddressMeAs") to
|
||||
// unconditionally include in API requests. By default, fields with
|
||||
// empty values are omitted from API requests. However, any non-pointer,
|
||||
// non-interface field appearing in ForceSendFields will be sent to the
|
||||
// server regardless of whether the field is empty or not. This may be
|
||||
// used to include empty fields in Patch requests.
|
||||
ForceSendFields []string `json:"-"`
|
||||
|
||||
// NullFields is a list of field names (e.g. "AddressMeAs") to include
|
||||
// in API requests with the JSON null value. By default, fields with
|
||||
// empty values are omitted from API requests. However, any field with
|
||||
// an empty value appearing in NullFields will be sent to the server as
|
||||
// null. It is an error if a field in this list has a non-empty value.
|
||||
// This may be used to include null fields in Patch requests.
|
||||
NullFields []string `json:"-"`
|
||||
}
|
||||
|
||||
func (s *UserGender) MarshalJSON() ([]byte, error) {
|
||||
type noMethod UserGender
|
||||
raw := noMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
// UserIm: JSON template for instant messenger of an user.
|
||||
type UserIm struct {
|
||||
// CustomProtocol: Custom protocol.
|
||||
|
@ -3352,7 +3394,7 @@ type UserPosixAccount struct {
|
|||
Gecos string `json:"gecos,omitempty"`
|
||||
|
||||
// Gid: The default group ID.
|
||||
Gid int64 `json:"gid,omitempty"`
|
||||
Gid uint64 `json:"gid,omitempty,string"`
|
||||
|
||||
// HomeDirectory: The path to the home directory for this account.
|
||||
HomeDirectory string `json:"homeDirectory,omitempty"`
|
||||
|
@ -3368,7 +3410,7 @@ type UserPosixAccount struct {
|
|||
SystemId string `json:"systemId,omitempty"`
|
||||
|
||||
// Uid: The POSIX compliant user ID.
|
||||
Uid int64 `json:"uid,omitempty"`
|
||||
Uid uint64 `json:"uid,omitempty,string"`
|
||||
|
||||
// Username: The username of the account.
|
||||
Username string `json:"username,omitempty"`
|
||||
|
|
2
vendor/google.golang.org/api/analytics/v3/analytics-api.json
generated
vendored
2
vendor/google.golang.org/api/analytics/v3/analytics-api.json
generated
vendored
|
@ -20,7 +20,7 @@
|
|||
"basePath": "/analytics/v3/",
|
||||
"rootUrl": "https://www.googleapis.com/",
|
||||
"servicePath": "analytics/v3/",
|
||||
"batchPath": "batch",
|
||||
"batchPath": "batch/analytics/v3",
|
||||
"parameters": {
|
||||
"alt": {
|
||||
"type": "string",
|
||||
|
|
866
vendor/google.golang.org/api/analyticsreporting/v4/analyticsreporting-api.json
generated
vendored
866
vendor/google.golang.org/api/analyticsreporting/v4/analyticsreporting-api.json
generated
vendored
File diff suppressed because it is too large
Load diff
876
vendor/google.golang.org/api/androiddeviceprovisioning/v1/androiddeviceprovisioning-api.json
generated
vendored
876
vendor/google.golang.org/api/androiddeviceprovisioning/v1/androiddeviceprovisioning-api.json
generated
vendored
File diff suppressed because it is too large
Load diff
10
vendor/google.golang.org/api/androidmanagement/v1/androidmanagement-api.json
generated
vendored
10
vendor/google.golang.org/api/androidmanagement/v1/androidmanagement-api.json
generated
vendored
|
@ -1148,7 +1148,7 @@
|
|||
"type": "string"
|
||||
},
|
||||
"installationFailureReason": {
|
||||
"description": "If package_name is set and the non-compliance reason is APP_NOT_INSTALLED, the detailed reason the app cannot be installed.",
|
||||
"description": "If package_name is set and the non-compliance reason is APP_NOT_INSTALLED or APP_NOT_UPDATED, the detailed reason the app cannot be installed or updated.",
|
||||
"enum": [
|
||||
"INSTALLATION_FAILURE_REASON_UNSPECIFIED",
|
||||
"INSTALLATION_FAILURE_REASON_UNKNOWN",
|
||||
|
@ -1476,14 +1476,16 @@
|
|||
"enumDescriptions": [
|
||||
"This value is ignored.",
|
||||
"Don't allow other admins to change the password again until the user has entered it.",
|
||||
"Don't ask for user credentials on device boot."
|
||||
"Don't ask for user credentials on device boot.",
|
||||
"Lock the device after password reset."
|
||||
],
|
||||
"type": "array",
|
||||
"items": {
|
||||
"enum": [
|
||||
"RESET_PASSWORD_FLAG_UNSPECIFIED",
|
||||
"REQUIRE_ENTRY",
|
||||
"DO_NOT_ASK_CREDENTIALS_ON_BOOT"
|
||||
"DO_NOT_ASK_CREDENTIALS_ON_BOOT",
|
||||
"LOCK_NOW"
|
||||
],
|
||||
"type": "string"
|
||||
}
|
||||
|
@ -2250,7 +2252,7 @@
|
|||
"id": "HardwareStatus"
|
||||
}
|
||||
},
|
||||
"revision": "20170911",
|
||||
"revision": "20170918",
|
||||
"basePath": "",
|
||||
"icons": {
|
||||
"x32": "http://www.google.com/images/icons/product/search-32.gif",
|
||||
|
|
5
vendor/google.golang.org/api/androidmanagement/v1/androidmanagement-gen.go
generated
vendored
5
vendor/google.golang.org/api/androidmanagement/v1/androidmanagement-gen.go
generated
vendored
|
@ -385,6 +385,7 @@ type Command struct {
|
|||
// again until the user has entered it.
|
||||
// "DO_NOT_ASK_CREDENTIALS_ON_BOOT" - Don't ask for user credentials
|
||||
// on device boot.
|
||||
// "LOCK_NOW" - Lock the device after password reset.
|
||||
ResetPasswordFlags []string `json:"resetPasswordFlags,omitempty"`
|
||||
|
||||
// Type: The type of the command.
|
||||
|
@ -1370,8 +1371,8 @@ type NonComplianceDetail struct {
|
|||
FieldPath string `json:"fieldPath,omitempty"`
|
||||
|
||||
// InstallationFailureReason: If package_name is set and the
|
||||
// non-compliance reason is APP_NOT_INSTALLED, the detailed reason the
|
||||
// app cannot be installed.
|
||||
// non-compliance reason is APP_NOT_INSTALLED or APP_NOT_UPDATED, the
|
||||
// detailed reason the app cannot be installed or updated.
|
||||
//
|
||||
// Possible values:
|
||||
// "INSTALLATION_FAILURE_REASON_UNSPECIFIED" - This value is
|
||||
|
|
32
vendor/google.golang.org/api/api-list.json
generated
vendored
32
vendor/google.golang.org/api/api-list.json
generated
vendored
|
@ -696,6 +696,36 @@
|
|||
"documentationLink": "https://cloud.google.com/functions",
|
||||
"preferred": false
|
||||
},
|
||||
{
|
||||
"kind": "discovery#directoryItem",
|
||||
"id": "cloudiot:v1",
|
||||
"name": "cloudiot",
|
||||
"version": "v1",
|
||||
"title": "Google Cloud IoT API",
|
||||
"description": "Registers and manages IoT (Internet of Things) devices that connect to the Google Cloud Platform.",
|
||||
"discoveryRestUrl": "https://cloudiot.googleapis.com/$discovery/rest?version=v1",
|
||||
"icons": {
|
||||
"x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png",
|
||||
"x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png"
|
||||
},
|
||||
"documentationLink": "https://cloud.google.com/iot",
|
||||
"preferred": true
|
||||
},
|
||||
{
|
||||
"kind": "discovery#directoryItem",
|
||||
"id": "cloudiot:v1beta1",
|
||||
"name": "cloudiot",
|
||||
"version": "v1beta1",
|
||||
"title": "Google Cloud IoT API",
|
||||
"description": "Registers and manages IoT (Internet of Things) devices that connect to the Google Cloud Platform.",
|
||||
"discoveryRestUrl": "https://cloudiot.googleapis.com/$discovery/rest?version=v1beta1",
|
||||
"icons": {
|
||||
"x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png",
|
||||
"x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png"
|
||||
},
|
||||
"documentationLink": "https://cloud.google.com/iot",
|
||||
"preferred": false
|
||||
},
|
||||
{
|
||||
"kind": "discovery#directoryItem",
|
||||
"id": "cloudkms:v1",
|
||||
|
@ -2265,7 +2295,7 @@
|
|||
"name": "script",
|
||||
"version": "v1",
|
||||
"title": "Google Apps Script Execution API",
|
||||
"description": "Executes functions in Google Apps Script projects.",
|
||||
"description": "An API for managing and executing Google Apps Script projects.",
|
||||
"discoveryRestUrl": "https://script.googleapis.com/$discovery/rest?version=v1",
|
||||
"icons": {
|
||||
"x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png",
|
||||
|
|
3228
vendor/google.golang.org/api/appengine/v1/appengine-api.json
generated
vendored
3228
vendor/google.golang.org/api/appengine/v1/appengine-api.json
generated
vendored
File diff suppressed because it is too large
Load diff
1097
vendor/google.golang.org/api/appengine/v1/appengine-gen.go
generated
vendored
1097
vendor/google.golang.org/api/appengine/v1/appengine-gen.go
generated
vendored
File diff suppressed because it is too large
Load diff
1392
vendor/google.golang.org/api/appengine/v1alpha/appengine-api.json
generated
vendored
1392
vendor/google.golang.org/api/appengine/v1alpha/appengine-api.json
generated
vendored
File diff suppressed because it is too large
Load diff
5566
vendor/google.golang.org/api/appengine/v1beta/appengine-api.json
generated
vendored
5566
vendor/google.golang.org/api/appengine/v1beta/appengine-api.json
generated
vendored
File diff suppressed because it is too large
Load diff
2352
vendor/google.golang.org/api/appengine/v1beta4/appengine-api.json
generated
vendored
2352
vendor/google.golang.org/api/appengine/v1beta4/appengine-api.json
generated
vendored
File diff suppressed because it is too large
Load diff
3290
vendor/google.golang.org/api/appengine/v1beta5/appengine-api.json
generated
vendored
3290
vendor/google.golang.org/api/appengine/v1beta5/appengine-api.json
generated
vendored
File diff suppressed because it is too large
Load diff
2809
vendor/google.golang.org/api/bigquerydatatransfer/v1/bigquerydatatransfer-api.json
generated
vendored
2809
vendor/google.golang.org/api/bigquerydatatransfer/v1/bigquerydatatransfer-api.json
generated
vendored
File diff suppressed because it is too large
Load diff
4478
vendor/google.golang.org/api/classroom/v1/classroom-api.json
generated
vendored
4478
vendor/google.golang.org/api/classroom/v1/classroom-api.json
generated
vendored
File diff suppressed because it is too large
Load diff
2055
vendor/google.golang.org/api/classroom/v1/classroom-gen.go
generated
vendored
2055
vendor/google.golang.org/api/classroom/v1/classroom-gen.go
generated
vendored
File diff suppressed because it is too large
Load diff
1432
vendor/google.golang.org/api/cloudbuild/v1/cloudbuild-api.json
generated
vendored
1432
vendor/google.golang.org/api/cloudbuild/v1/cloudbuild-api.json
generated
vendored
File diff suppressed because it is too large
Load diff
1442
vendor/google.golang.org/api/clouddebugger/v2/clouddebugger-api.json
generated
vendored
1442
vendor/google.golang.org/api/clouddebugger/v2/clouddebugger-api.json
generated
vendored
File diff suppressed because it is too large
Load diff
548
vendor/google.golang.org/api/clouderrorreporting/v1beta1/clouderrorreporting-api.json
generated
vendored
548
vendor/google.golang.org/api/clouderrorreporting/v1beta1/clouderrorreporting-api.json
generated
vendored
|
@ -1,15 +1,4 @@
|
|||
{
|
||||
"canonicalName": "Clouderrorreporting",
|
||||
"auth": {
|
||||
"oauth2": {
|
||||
"scopes": {
|
||||
"https://www.googleapis.com/auth/cloud-platform": {
|
||||
"description": "View and manage your data across Google Cloud Platform services"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"rootUrl": "https://clouderrorreporting.googleapis.com/",
|
||||
"ownerDomain": "google.com",
|
||||
"name": "clouderrorreporting",
|
||||
"batchPath": "batch",
|
||||
|
@ -19,28 +8,28 @@
|
|||
"projects": {
|
||||
"methods": {
|
||||
"deleteEvents": {
|
||||
"httpMethod": "DELETE",
|
||||
"response": {
|
||||
"$ref": "DeleteEventsResponse"
|
||||
},
|
||||
"parameterOrder": [
|
||||
"projectName"
|
||||
],
|
||||
"httpMethod": "DELETE",
|
||||
"parameters": {
|
||||
"projectName": {
|
||||
"pattern": "^projects/[^/]+$",
|
||||
"location": "path",
|
||||
"description": "[Required] The resource name of the Google Cloud Platform project. Written\nas `projects/` plus the\n[Google Cloud Platform project\nID](https://support.google.com/cloud/answer/6158840).\nExample: `projects/my-project-123`.",
|
||||
"type": "string",
|
||||
"required": true,
|
||||
"pattern": "^projects/[^/]+$",
|
||||
"location": "path"
|
||||
"required": true
|
||||
}
|
||||
},
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/cloud-platform"
|
||||
],
|
||||
"flatPath": "v1beta1/projects/{projectsId}/events",
|
||||
"path": "v1beta1/{+projectName}/events",
|
||||
"id": "clouderrorreporting.projects.deleteEvents",
|
||||
"path": "v1beta1/{+projectName}/events",
|
||||
"description": "Deletes all error events of a given project."
|
||||
}
|
||||
},
|
||||
|
@ -48,25 +37,21 @@
|
|||
"events": {
|
||||
"methods": {
|
||||
"list": {
|
||||
"path": "v1beta1/{+projectName}/events",
|
||||
"id": "clouderrorreporting.projects.events.list",
|
||||
"description": "Lists the specified events.",
|
||||
"httpMethod": "GET",
|
||||
"response": {
|
||||
"$ref": "ListEventsResponse"
|
||||
},
|
||||
"parameterOrder": [
|
||||
"projectName"
|
||||
],
|
||||
"httpMethod": "GET",
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/cloud-platform"
|
||||
],
|
||||
"parameters": {
|
||||
"serviceFilter.resourceType": {
|
||||
"location": "query",
|
||||
"description": "[Optional] The exact value to match against\n[`ServiceContext.resource_type`](/error-reporting/reference/rest/v1beta1/ServiceContext#FIELDS.resource_type).",
|
||||
"type": "string"
|
||||
},
|
||||
"timeRange.period": {
|
||||
"description": "Restricts the query to the specified time range.",
|
||||
"type": "string",
|
||||
"location": "query",
|
||||
"enum": [
|
||||
"PERIOD_UNSPECIFIED",
|
||||
|
@ -75,29 +60,31 @@
|
|||
"PERIOD_1_DAY",
|
||||
"PERIOD_1_WEEK",
|
||||
"PERIOD_30_DAYS"
|
||||
]
|
||||
],
|
||||
"description": "Restricts the query to the specified time range.",
|
||||
"type": "string"
|
||||
},
|
||||
"projectName": {
|
||||
"location": "path",
|
||||
"description": "[Required] The resource name of the Google Cloud Platform project. Written\nas `projects/` plus the\n[Google Cloud Platform project\nID](https://support.google.com/cloud/answer/6158840).\nExample: `projects/my-project-123`.",
|
||||
"type": "string",
|
||||
"required": true,
|
||||
"pattern": "^projects/[^/]+$",
|
||||
"location": "path"
|
||||
"pattern": "^projects/[^/]+$"
|
||||
},
|
||||
"groupId": {
|
||||
"location": "query",
|
||||
"description": "[Required] The group for which events shall be returned.",
|
||||
"type": "string"
|
||||
},
|
||||
"pageToken": {
|
||||
"description": "[Optional] A `next_page_token` provided by a previous response.",
|
||||
"type": "string",
|
||||
"location": "query"
|
||||
},
|
||||
"serviceFilter.service": {
|
||||
"location": "query",
|
||||
"description": "[Optional] The exact value to match against\n[`ServiceContext.service`](/error-reporting/reference/rest/v1beta1/ServiceContext#FIELDS.service).",
|
||||
"type": "string"
|
||||
},
|
||||
"pageToken": {
|
||||
"location": "query",
|
||||
"description": "[Optional] A `next_page_token` provided by a previous response.",
|
||||
"type": "string"
|
||||
"type": "string",
|
||||
"location": "query"
|
||||
},
|
||||
"pageSize": {
|
||||
"location": "query",
|
||||
|
@ -106,19 +93,19 @@
|
|||
"type": "integer"
|
||||
},
|
||||
"serviceFilter.version": {
|
||||
"location": "query",
|
||||
"description": "[Optional] The exact value to match against\n[`ServiceContext.version`](/error-reporting/reference/rest/v1beta1/ServiceContext#FIELDS.version).",
|
||||
"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).",
|
||||
"type": "string",
|
||||
"location": "query"
|
||||
}
|
||||
},
|
||||
"flatPath": "v1beta1/projects/{projectsId}/events",
|
||||
"id": "clouderrorreporting.projects.events.list",
|
||||
"path": "v1beta1/{+projectName}/events",
|
||||
"description": "Lists the specified events."
|
||||
"flatPath": "v1beta1/projects/{projectsId}/events"
|
||||
},
|
||||
"report": {
|
||||
"path": "v1beta1/{+projectName}/events:report",
|
||||
"id": "clouderrorreporting.projects.events.report",
|
||||
"request": {
|
||||
"$ref": "ReportedErrorEvent"
|
||||
},
|
||||
|
@ -142,7 +129,9 @@
|
|||
"required": true
|
||||
}
|
||||
},
|
||||
"flatPath": "v1beta1/projects/{projectsId}/events:report"
|
||||
"flatPath": "v1beta1/projects/{projectsId}/events:report",
|
||||
"path": "v1beta1/{+projectName}/events:report",
|
||||
"id": "clouderrorreporting.projects.events.report"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
@ -156,16 +145,56 @@
|
|||
"projectName"
|
||||
],
|
||||
"httpMethod": "GET",
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/cloud-platform"
|
||||
],
|
||||
"parameters": {
|
||||
"pageToken": {
|
||||
"serviceFilter.version": {
|
||||
"type": "string",
|
||||
"location": "query",
|
||||
"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.",
|
||||
"description": "[Optional] The exact value to match against\n[`ServiceContext.version`](/error-reporting/reference/rest/v1beta1/ServiceContext#FIELDS.version)."
|
||||
},
|
||||
"order": {
|
||||
"description": "[Optional] The sort order in which the results are returned.\nDefault is `COUNT_DESC`.",
|
||||
"type": "string",
|
||||
"location": "query",
|
||||
"enum": [
|
||||
"GROUP_ORDER_UNSPECIFIED",
|
||||
"COUNT_DESC",
|
||||
"LAST_SEEN_DESC",
|
||||
"CREATED_DESC",
|
||||
"AFFECTED_USERS_DESC"
|
||||
]
|
||||
},
|
||||
"serviceFilter.resourceType": {
|
||||
"location": "query",
|
||||
"description": "[Optional] The exact value to match against\n[`ServiceContext.resource_type`](/error-reporting/reference/rest/v1beta1/ServiceContext#FIELDS.resource_type).",
|
||||
"type": "string"
|
||||
},
|
||||
"alignmentTime": {
|
||||
"location": "query",
|
||||
"format": "google-datetime",
|
||||
"description": "[Optional] Time where the timed counts shall be aligned if rounded\nalignment is chosen. Default is 00:00 UTC.",
|
||||
"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.",
|
||||
"type": "string",
|
||||
"required": true,
|
||||
"pattern": "^projects/[^/]+$",
|
||||
"location": "path"
|
||||
},
|
||||
"timedCountDuration": {
|
||||
"format": "google-duration",
|
||||
"description": "[Optional] The preferred duration for a single returned `TimedCount`.\nIf not set, no timed counts are returned.",
|
||||
"type": "string",
|
||||
"location": "query"
|
||||
},
|
||||
"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.",
|
||||
"type": "string",
|
||||
"location": "query"
|
||||
},
|
||||
"timeRange.period": {
|
||||
"description": "Restricts the query to the specified time range.",
|
||||
"type": "string",
|
||||
"location": "query",
|
||||
"enum": [
|
||||
"PERIOD_UNSPECIFIED",
|
||||
|
@ -174,9 +203,7 @@
|
|||
"PERIOD_1_DAY",
|
||||
"PERIOD_1_WEEK",
|
||||
"PERIOD_30_DAYS"
|
||||
],
|
||||
"description": "Restricts the query to the specified time range.",
|
||||
"type": "string"
|
||||
]
|
||||
},
|
||||
"alignment": {
|
||||
"location": "query",
|
||||
|
@ -189,64 +216,26 @@
|
|||
"type": "string"
|
||||
},
|
||||
"groupId": {
|
||||
"description": "[Optional] List all \u003ccode\u003eErrorGroupStats\u003c/code\u003e with these IDs.",
|
||||
"type": "string",
|
||||
"repeated": true,
|
||||
"location": "query"
|
||||
"location": "query",
|
||||
"description": "[Optional] List all \u003ccode\u003eErrorGroupStats\u003c/code\u003e with these IDs.",
|
||||
"type": "string"
|
||||
},
|
||||
"serviceFilter.service": {
|
||||
"location": "query",
|
||||
"description": "[Optional] The exact value to match against\n[`ServiceContext.service`](/error-reporting/reference/rest/v1beta1/ServiceContext#FIELDS.service).",
|
||||
"type": "string",
|
||||
"location": "query"
|
||||
"type": "string"
|
||||
},
|
||||
"pageSize": {
|
||||
"type": "integer",
|
||||
"location": "query",
|
||||
"format": "int32",
|
||||
"description": "[Optional] The maximum number of results to return per response.\nDefault is 20.",
|
||||
"type": "integer"
|
||||
},
|
||||
"order": {
|
||||
"location": "query",
|
||||
"enum": [
|
||||
"GROUP_ORDER_UNSPECIFIED",
|
||||
"COUNT_DESC",
|
||||
"LAST_SEEN_DESC",
|
||||
"CREATED_DESC",
|
||||
"AFFECTED_USERS_DESC"
|
||||
],
|
||||
"description": "[Optional] The sort order in which the results are returned.\nDefault is `COUNT_DESC`.",
|
||||
"type": "string"
|
||||
},
|
||||
"serviceFilter.version": {
|
||||
"description": "[Optional] The exact value to match against\n[`ServiceContext.version`](/error-reporting/reference/rest/v1beta1/ServiceContext#FIELDS.version).",
|
||||
"type": "string",
|
||||
"location": "query"
|
||||
},
|
||||
"serviceFilter.resourceType": {
|
||||
"description": "[Optional] The exact value to match against\n[`ServiceContext.resource_type`](/error-reporting/reference/rest/v1beta1/ServiceContext#FIELDS.resource_type).",
|
||||
"type": "string",
|
||||
"location": "query"
|
||||
},
|
||||
"alignmentTime": {
|
||||
"format": "google-datetime",
|
||||
"description": "[Optional] Time where the timed counts shall be aligned if rounded\nalignment is chosen. Default is 00:00 UTC.",
|
||||
"type": "string",
|
||||
"location": "query"
|
||||
},
|
||||
"projectName": {
|
||||
"location": "path",
|
||||
"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.",
|
||||
"type": "string",
|
||||
"required": true,
|
||||
"pattern": "^projects/[^/]+$"
|
||||
},
|
||||
"timedCountDuration": {
|
||||
"location": "query",
|
||||
"format": "google-duration",
|
||||
"description": "[Optional] The preferred duration for a single returned `TimedCount`.\nIf not set, no timed counts are returned.",
|
||||
"type": "string"
|
||||
"description": "[Optional] The maximum number of results to return per response.\nDefault is 20."
|
||||
}
|
||||
},
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/cloud-platform"
|
||||
],
|
||||
"flatPath": "v1beta1/projects/{projectsId}/groupStats",
|
||||
"id": "clouderrorreporting.projects.groupStats.list",
|
||||
"path": "v1beta1/{+projectName}/groupStats",
|
||||
|
@ -257,48 +246,41 @@
|
|||
"groups": {
|
||||
"methods": {
|
||||
"get": {
|
||||
"parameterOrder": [
|
||||
"groupName"
|
||||
],
|
||||
"id": "clouderrorreporting.projects.groups.get",
|
||||
"path": "v1beta1/{+groupName}",
|
||||
"description": "Get the specified group.",
|
||||
"response": {
|
||||
"$ref": "ErrorGroup"
|
||||
},
|
||||
"parameterOrder": [
|
||||
"groupName"
|
||||
],
|
||||
"httpMethod": "GET",
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/cloud-platform"
|
||||
],
|
||||
"parameters": {
|
||||
"groupName": {
|
||||
"pattern": "^projects/[^/]+/groups/[^/]+$",
|
||||
"location": "path",
|
||||
"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",
|
||||
"type": "string",
|
||||
"required": true
|
||||
"required": true,
|
||||
"pattern": "^projects/[^/]+/groups/[^/]+$"
|
||||
}
|
||||
},
|
||||
"flatPath": "v1beta1/projects/{projectsId}/groups/{groupsId}",
|
||||
"id": "clouderrorreporting.projects.groups.get",
|
||||
"path": "v1beta1/{+groupName}",
|
||||
"description": "Get the specified group."
|
||||
"flatPath": "v1beta1/projects/{projectsId}/groups/{groupsId}"
|
||||
},
|
||||
"update": {
|
||||
"response": {
|
||||
"$ref": "ErrorGroup"
|
||||
},
|
||||
"parameterOrder": [
|
||||
"name"
|
||||
],
|
||||
"httpMethod": "PUT",
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/cloud-platform"
|
||||
],
|
||||
"parameters": {
|
||||
"name": {
|
||||
"location": "path",
|
||||
"description": "The group resource name.\nExample: \u003ccode\u003eprojects/my-project-123/groups/my-groupid\u003c/code\u003e",
|
||||
"type": "string",
|
||||
"required": true,
|
||||
"pattern": "^projects/[^/]+/groups/[^/]+$"
|
||||
"pattern": "^projects/[^/]+/groups/[^/]+$",
|
||||
"location": "path"
|
||||
}
|
||||
},
|
||||
"flatPath": "v1beta1/projects/{projectsId}/groups/{groupsId}",
|
||||
|
@ -307,7 +289,14 @@
|
|||
"request": {
|
||||
"$ref": "ErrorGroup"
|
||||
},
|
||||
"description": "Replace the data for the specified group.\nFails if the group does not exist."
|
||||
"description": "Replace the data for the specified group.\nFails if the group does not exist.",
|
||||
"response": {
|
||||
"$ref": "ErrorGroup"
|
||||
},
|
||||
"parameterOrder": [
|
||||
"name"
|
||||
],
|
||||
"httpMethod": "PUT"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -315,15 +304,26 @@
|
|||
}
|
||||
},
|
||||
"parameters": {
|
||||
"quotaUser": {
|
||||
"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.",
|
||||
"type": "string",
|
||||
"location": "query"
|
||||
},
|
||||
"pp": {
|
||||
"location": "query",
|
||||
"description": "Pretty-print response.",
|
||||
"default": "true",
|
||||
"type": "boolean"
|
||||
},
|
||||
"oauth_token": {
|
||||
"location": "query",
|
||||
"description": "OAuth 2.0 token for the current user.",
|
||||
"type": "string"
|
||||
},
|
||||
"bearer_token": {
|
||||
"type": "string",
|
||||
"location": "query",
|
||||
"description": "OAuth bearer token.",
|
||||
"type": "string"
|
||||
"description": "OAuth bearer token."
|
||||
},
|
||||
"upload_protocol": {
|
||||
"location": "query",
|
||||
|
@ -331,10 +331,10 @@
|
|||
"type": "string"
|
||||
},
|
||||
"prettyPrint": {
|
||||
"location": "query",
|
||||
"description": "Returns response with indentations and line breaks.",
|
||||
"default": "true",
|
||||
"type": "boolean",
|
||||
"location": "query"
|
||||
"type": "boolean"
|
||||
},
|
||||
"uploadType": {
|
||||
"location": "query",
|
||||
|
@ -352,6 +352,8 @@
|
|||
"type": "string"
|
||||
},
|
||||
"$.xgafv": {
|
||||
"description": "V1 error format.",
|
||||
"type": "string",
|
||||
"enumDescriptions": [
|
||||
"v1 error format",
|
||||
"v2 error format"
|
||||
|
@ -360,16 +362,9 @@
|
|||
"enum": [
|
||||
"1",
|
||||
"2"
|
||||
],
|
||||
"description": "V1 error format.",
|
||||
"type": "string"
|
||||
]
|
||||
},
|
||||
"alt": {
|
||||
"enum": [
|
||||
"json",
|
||||
"media",
|
||||
"proto"
|
||||
],
|
||||
"type": "string",
|
||||
"enumDescriptions": [
|
||||
"Responses with Content-Type of application/json",
|
||||
|
@ -378,90 +373,45 @@
|
|||
],
|
||||
"location": "query",
|
||||
"description": "Data format for response.",
|
||||
"default": "json"
|
||||
"default": "json",
|
||||
"enum": [
|
||||
"json",
|
||||
"media",
|
||||
"proto"
|
||||
]
|
||||
},
|
||||
"key": {
|
||||
"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.",
|
||||
"access_token": {
|
||||
"description": "OAuth access token.",
|
||||
"type": "string",
|
||||
"location": "query"
|
||||
},
|
||||
"access_token": {
|
||||
"key": {
|
||||
"location": "query",
|
||||
"description": "OAuth access token.",
|
||||
"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.",
|
||||
"type": "string"
|
||||
},
|
||||
"quotaUser": {
|
||||
"location": "query",
|
||||
"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.",
|
||||
"type": "string"
|
||||
},
|
||||
"pp": {
|
||||
"location": "query",
|
||||
"description": "Pretty-print response.",
|
||||
"default": "true",
|
||||
"type": "boolean"
|
||||
}
|
||||
},
|
||||
"version": "v1beta1",
|
||||
"baseUrl": "https://clouderrorreporting.googleapis.com/",
|
||||
"description": "Groups and counts similar errors from cloud services and applications, reports new errors, and provides access to error groups and their associated errors.\n",
|
||||
"kind": "discovery#restDescription",
|
||||
"description": "Groups and counts similar errors from cloud services and applications, reports new errors, and provides access to error groups and their associated errors.\n",
|
||||
"servicePath": "",
|
||||
"basePath": "",
|
||||
"revision": "20170914",
|
||||
"id": "clouderrorreporting:v1beta1",
|
||||
"documentationLink": "https://cloud.google.com/error-reporting/",
|
||||
"revision": "20170914",
|
||||
"discoveryVersion": "v1",
|
||||
"version_module": true,
|
||||
"schemas": {
|
||||
"ListGroupStatsResponse": {
|
||||
"description": "Contains a set of requested error group stats.",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"timeRangeBegin": {
|
||||
"format": "google-datetime",
|
||||
"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"
|
||||
},
|
||||
"errorGroupStats": {
|
||||
"description": "The error group stats which match the given request.",
|
||||
"items": {
|
||||
"$ref": "ErrorGroupStats"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"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"
|
||||
}
|
||||
},
|
||||
"id": "ListGroupStatsResponse"
|
||||
},
|
||||
"SourceReference": {
|
||||
"description": "A reference to a particular snapshot of the source tree used to build and\ndeploy an application.",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"repository": {
|
||||
"description": "Optional. A URI string identifying the repository.\nExample: \"https://github.com/GoogleCloudPlatform/kubernetes.git\"",
|
||||
"type": "string"
|
||||
},
|
||||
"revisionId": {
|
||||
"description": "The canonical and persistent identifier of the deployed revision.\nExample (git): \"0035781c50ec7aa23385dc841529ce8a4b70db1b\"",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"id": "SourceReference"
|
||||
},
|
||||
"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": {
|
||||
"eventTime": {
|
||||
"type": "string",
|
||||
"format": "google-datetime",
|
||||
"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."
|
||||
},
|
||||
"context": {
|
||||
"$ref": "ErrorContext",
|
||||
"description": "Data about the context in which the error occurred."
|
||||
|
@ -471,13 +421,8 @@
|
|||
"type": "string"
|
||||
},
|
||||
"serviceContext": {
|
||||
"$ref": "ServiceContext",
|
||||
"description": "The `ServiceContext` for which this error was reported."
|
||||
},
|
||||
"eventTime": {
|
||||
"format": "google-datetime",
|
||||
"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"
|
||||
"description": "The `ServiceContext` for which this error was reported.",
|
||||
"$ref": "ServiceContext"
|
||||
}
|
||||
},
|
||||
"id": "ErrorEvent"
|
||||
|
@ -486,6 +431,11 @@
|
|||
"description": "An error event which is reported to the Error Reporting system.",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"eventTime": {
|
||||
"format": "google-datetime",
|
||||
"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"
|
||||
},
|
||||
"context": {
|
||||
"$ref": "ErrorContext",
|
||||
"description": "[Optional] A description of the context in which the error occurred."
|
||||
|
@ -495,13 +445,8 @@
|
|||
"type": "string"
|
||||
},
|
||||
"serviceContext": {
|
||||
"description": "[Required] The service context in which this error has occurred.",
|
||||
"$ref": "ServiceContext"
|
||||
},
|
||||
"eventTime": {
|
||||
"format": "google-datetime",
|
||||
"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"
|
||||
"$ref": "ServiceContext",
|
||||
"description": "[Required] The service context in which this error has occurred."
|
||||
}
|
||||
},
|
||||
"id": "ReportedErrorEvent"
|
||||
|
@ -510,50 +455,41 @@
|
|||
"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": {
|
||||
"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"
|
||||
},
|
||||
"sourceReferences": {
|
||||
"description": "Source code that was used to build the executable which has\ncaused the given error message.",
|
||||
"items": {
|
||||
"$ref": "SourceReference"
|
||||
},
|
||||
"type": "array"
|
||||
"type": "array",
|
||||
"description": "Source code that was used to build the executable which has\ncaused the given error message."
|
||||
},
|
||||
"reportLocation": {
|
||||
"$ref": "SourceLocation",
|
||||
"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."
|
||||
"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.",
|
||||
"$ref": "SourceLocation"
|
||||
},
|
||||
"httpRequest": {
|
||||
"$ref": "HttpRequestContext",
|
||||
"description": "The HTTP request which was processed when the error was\ntriggered."
|
||||
"description": "The HTTP request which was processed when the error was\ntriggered.",
|
||||
"$ref": "HttpRequestContext"
|
||||
},
|
||||
"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"
|
||||
},
|
||||
"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",
|
||||
"description": "Information related to tracking the progress on resolving the error.",
|
||||
"type": "object"
|
||||
"id": "TrackingIssue"
|
||||
},
|
||||
"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": {
|
||||
"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.",
|
||||
"items": {
|
||||
"$ref": "TimedCount"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"group": {
|
||||
"$ref": "ErrorGroup",
|
||||
"description": "Group data that is independent of the filter criteria."
|
||||
|
@ -578,6 +514,11 @@
|
|||
"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"
|
||||
},
|
||||
"numAffectedServices": {
|
||||
"format": "int32",
|
||||
"description": "The total number of services with a non-zero error count for the given\nfilter criteria.",
|
||||
"type": "integer"
|
||||
},
|
||||
"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.",
|
||||
"items": {
|
||||
|
@ -585,17 +526,21 @@
|
|||
},
|
||||
"type": "array"
|
||||
},
|
||||
"numAffectedServices": {
|
||||
"format": "int32",
|
||||
"description": "The total number of services with a non-zero error count for the given\nfilter criteria.",
|
||||
"type": "integer"
|
||||
},
|
||||
"representative": {
|
||||
"$ref": "ErrorEvent",
|
||||
"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."
|
||||
"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"
|
||||
},
|
||||
"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.",
|
||||
"items": {
|
||||
"$ref": "TimedCount"
|
||||
},
|
||||
"type": "array"
|
||||
}
|
||||
},
|
||||
"id": "ErrorGroupStats"
|
||||
"id": "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"
|
||||
},
|
||||
"ListEventsResponse": {
|
||||
"properties": {
|
||||
|
@ -605,11 +550,11 @@
|
|||
"type": "string"
|
||||
},
|
||||
"errorEvents": {
|
||||
"description": "The error events which match the given request.",
|
||||
"items": {
|
||||
"$ref": "ErrorEvent"
|
||||
},
|
||||
"type": "array"
|
||||
"type": "array",
|
||||
"description": "The error events which match the given request."
|
||||
},
|
||||
"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.",
|
||||
|
@ -624,6 +569,11 @@
|
|||
"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": {
|
||||
"endTime": {
|
||||
"format": "google-datetime",
|
||||
"description": "End of the time period to which `count` refers (excluded).",
|
||||
"type": "string"
|
||||
},
|
||||
"startTime": {
|
||||
"format": "google-datetime",
|
||||
"description": "Start of the time period to which `count` refers (included).",
|
||||
|
@ -633,17 +583,18 @@
|
|||
"format": "int64",
|
||||
"description": "Approximate number of occurrences in the given time period.",
|
||||
"type": "string"
|
||||
},
|
||||
"endTime": {
|
||||
"format": "google-datetime",
|
||||
"description": "End of the time period to which `count` refers (excluded).",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"id": "TimedCount"
|
||||
},
|
||||
"ErrorGroup": {
|
||||
"description": "Description of a group of similar error events.",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"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.",
|
||||
"items": {
|
||||
|
@ -654,17 +605,33 @@
|
|||
"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"
|
||||
}
|
||||
},
|
||||
"id": "ErrorGroup",
|
||||
"description": "Description of a group of similar error events.",
|
||||
"type": "object"
|
||||
"id": "ErrorGroup"
|
||||
},
|
||||
"ServiceContext": {
|
||||
"id": "ServiceContext",
|
||||
"description": "Describes a running service that sends errors.\nIts version changes over time and multiple versions can run in parallel.",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"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.\nFor App Engine standard environment, the version is set to the version of\nthe app.",
|
||||
"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"
|
||||
},
|
||||
"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"
|
||||
}
|
||||
}
|
||||
},
|
||||
"SourceLocation": {
|
||||
"id": "SourceLocation",
|
||||
"description": "Indicates a location in the source code of the service for which errors are\nreported. `functionName` must be provided by the application when reporting\nan error, unless the error report contains a `message` with a supported\nexception stack trace. All fields are optional for the later case.",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"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.",
|
||||
|
@ -679,29 +646,7 @@
|
|||
"description": "1-based. 0 indicates that the line number is unknown.",
|
||||
"type": "integer"
|
||||
}
|
||||
},
|
||||
"id": "SourceLocation",
|
||||
"description": "Indicates a location in the source code of the service for which errors are\nreported. `functionName` must be provided by the application when reporting\nan error, unless the error report contains a `message` with a supported\nexception stack trace. All fields are optional for the later case.",
|
||||
"type": "object"
|
||||
},
|
||||
"ServiceContext": {
|
||||
"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"
|
||||
},
|
||||
"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.\nFor App Engine standard environment, the version is set to the version of\nthe app.",
|
||||
"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"
|
||||
}
|
||||
},
|
||||
"id": "ServiceContext",
|
||||
"description": "Describes a running service that sends errors.\nIts version changes over time and multiple versions can run in parallel.",
|
||||
"type": "object"
|
||||
}
|
||||
},
|
||||
"ReportErrorEventResponse": {
|
||||
"description": "Response for reporting an individual error event.\nData may be added to this message in the future.",
|
||||
|
@ -735,16 +680,71 @@
|
|||
"type": "string"
|
||||
},
|
||||
"url": {
|
||||
"description": "The URL of the request.",
|
||||
"type": "string"
|
||||
"type": "string",
|
||||
"description": "The URL of the request."
|
||||
}
|
||||
},
|
||||
"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": {
|
||||
"format": "google-datetime",
|
||||
"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"
|
||||
},
|
||||
"errorGroupStats": {
|
||||
"description": "The error group stats which match the given request.",
|
||||
"items": {
|
||||
"$ref": "ErrorGroupStats"
|
||||
},
|
||||
"type": "array"
|
||||
}
|
||||
},
|
||||
"id": "ListGroupStatsResponse"
|
||||
},
|
||||
"SourceReference": {
|
||||
"description": "A reference to a particular snapshot of the source tree used to build and\ndeploy an application.",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"revisionId": {
|
||||
"description": "The canonical and persistent identifier of the deployed revision.\nExample (git): \"0035781c50ec7aa23385dc841529ce8a4b70db1b\"",
|
||||
"type": "string"
|
||||
},
|
||||
"repository": {
|
||||
"description": "Optional. A URI string identifying the repository.\nExample: \"https://github.com/GoogleCloudPlatform/kubernetes.git\"",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"id": "SourceReference"
|
||||
},
|
||||
"DeleteEventsResponse": {
|
||||
"description": "Response message for deleting error events.",
|
||||
"type": "object",
|
||||
"properties": {},
|
||||
"id": "DeleteEventsResponse"
|
||||
}
|
||||
},
|
||||
"icons": {
|
||||
"x32": "http://www.google.com/images/icons/product/search-32.gif",
|
||||
"x16": "http://www.google.com/images/icons/product/search-16.gif"
|
||||
},
|
||||
"protocol": "rest"
|
||||
"protocol": "rest",
|
||||
"canonicalName": "Clouderrorreporting",
|
||||
"auth": {
|
||||
"oauth2": {
|
||||
"scopes": {
|
||||
"https://www.googleapis.com/auth/cloud-platform": {
|
||||
"description": "View and manage your data across Google Cloud Platform services"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"rootUrl": "https://clouderrorreporting.googleapis.com/"
|
||||
}
|
||||
|
|
654
vendor/google.golang.org/api/cloudfunctions/v1/cloudfunctions-api.json
generated
vendored
654
vendor/google.golang.org/api/cloudfunctions/v1/cloudfunctions-api.json
generated
vendored
|
@ -1,252 +1,88 @@
|
|||
{
|
||||
"canonicalName": "Cloud Functions",
|
||||
"auth": {
|
||||
"oauth2": {
|
||||
"scopes": {
|
||||
"https://www.googleapis.com/auth/cloud-platform": {
|
||||
"description": "View and manage your data across Google Cloud Platform services"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"rootUrl": "https://cloudfunctions.googleapis.com/",
|
||||
"ownerDomain": "google.com",
|
||||
"name": "cloudfunctions",
|
||||
"batchPath": "batch",
|
||||
"fullyEncodeReservedExpansion": true,
|
||||
"title": "Google Cloud Functions API",
|
||||
"ownerName": "Google",
|
||||
"resources": {
|
||||
"operations": {
|
||||
"methods": {
|
||||
"get": {
|
||||
"flatPath": "v1/operations/{operationsId}",
|
||||
"id": "cloudfunctions.operations.get",
|
||||
"path": "v1/{+name}",
|
||||
"description": "Gets the latest state of a long-running operation. Clients can use this\nmethod to poll the operation result at intervals as recommended by the API\nservice.",
|
||||
"response": {
|
||||
"$ref": "Operation"
|
||||
},
|
||||
"parameterOrder": [
|
||||
"name"
|
||||
],
|
||||
"httpMethod": "GET",
|
||||
"parameters": {
|
||||
"name": {
|
||||
"description": "The name of the operation resource.",
|
||||
"type": "string",
|
||||
"required": true,
|
||||
"pattern": "^operations/[^/]+$",
|
||||
"location": "path"
|
||||
}
|
||||
},
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/cloud-platform"
|
||||
]
|
||||
},
|
||||
"list": {
|
||||
"description": "Lists operations that match the specified filter in the request. If the\nserver doesn't support this method, it returns `UNIMPLEMENTED`.\n\nNOTE: the `name` binding allows API services to override the binding\nto use different resource name schemes, such as `users/*/operations`. To\noverride the binding, API services can add a binding such as\n`\"/v1/{name=users/*}/operations\"` to their service configuration.\nFor backwards compatibility, the default name includes the operations\ncollection id, however overriding users must ensure the name binding\nis the parent resource, without the operations collection id.",
|
||||
"response": {
|
||||
"$ref": "ListOperationsResponse"
|
||||
},
|
||||
"parameterOrder": [],
|
||||
"httpMethod": "GET",
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/cloud-platform"
|
||||
],
|
||||
"parameters": {
|
||||
"filter": {
|
||||
"location": "query",
|
||||
"description": "The standard list filter.",
|
||||
"type": "string"
|
||||
},
|
||||
"pageToken": {
|
||||
"location": "query",
|
||||
"description": "The standard list page token.",
|
||||
"type": "string"
|
||||
},
|
||||
"name": {
|
||||
"description": "The name of the operation's parent resource.",
|
||||
"type": "string",
|
||||
"location": "query"
|
||||
},
|
||||
"pageSize": {
|
||||
"location": "query",
|
||||
"format": "int32",
|
||||
"description": "The standard list page size.",
|
||||
"type": "integer"
|
||||
}
|
||||
},
|
||||
"flatPath": "v1/operations",
|
||||
"id": "cloudfunctions.operations.list",
|
||||
"path": "v1/operations"
|
||||
}
|
||||
}
|
||||
},
|
||||
"projects": {
|
||||
"resources": {
|
||||
"locations": {
|
||||
"methods": {
|
||||
"list": {
|
||||
"httpMethod": "GET",
|
||||
"parameterOrder": [
|
||||
"name"
|
||||
],
|
||||
"response": {
|
||||
"$ref": "ListLocationsResponse"
|
||||
},
|
||||
"parameters": {
|
||||
"filter": {
|
||||
"description": "The standard list filter.",
|
||||
"type": "string",
|
||||
"location": "query"
|
||||
},
|
||||
"pageToken": {
|
||||
"location": "query",
|
||||
"description": "The standard list page token.",
|
||||
"type": "string"
|
||||
},
|
||||
"name": {
|
||||
"pattern": "^projects/[^/]+$",
|
||||
"location": "path",
|
||||
"description": "The resource that owns the locations collection, if applicable.",
|
||||
"type": "string",
|
||||
"required": true
|
||||
},
|
||||
"pageSize": {
|
||||
"type": "integer",
|
||||
"location": "query",
|
||||
"format": "int32",
|
||||
"description": "The standard list page size."
|
||||
}
|
||||
},
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/cloud-platform"
|
||||
],
|
||||
"flatPath": "v1/projects/{projectsId}/locations",
|
||||
"path": "v1/{+name}/locations",
|
||||
"id": "cloudfunctions.projects.locations.list",
|
||||
"description": "Lists information about the supported locations for this service."
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"parameters": {
|
||||
"oauth_token": {
|
||||
"type": "string",
|
||||
"location": "query",
|
||||
"description": "OAuth 2.0 token for the current user."
|
||||
},
|
||||
"bearer_token": {
|
||||
"location": "query",
|
||||
"description": "OAuth bearer token.",
|
||||
"type": "string"
|
||||
},
|
||||
"upload_protocol": {
|
||||
"location": "query",
|
||||
"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").",
|
||||
"type": "string"
|
||||
},
|
||||
"prettyPrint": {
|
||||
"location": "query",
|
||||
"description": "Returns response with indentations and line breaks.",
|
||||
"default": "true",
|
||||
"type": "boolean"
|
||||
},
|
||||
"uploadType": {
|
||||
"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").",
|
||||
"type": "string",
|
||||
"location": "query"
|
||||
},
|
||||
"fields": {
|
||||
"location": "query",
|
||||
"description": "Selector specifying which fields to include in a partial response.",
|
||||
"type": "string"
|
||||
},
|
||||
"callback": {
|
||||
"description": "JSONP",
|
||||
"type": "string",
|
||||
"location": "query"
|
||||
},
|
||||
"$.xgafv": {
|
||||
"type": "string",
|
||||
"enumDescriptions": [
|
||||
"v1 error format",
|
||||
"v2 error format"
|
||||
],
|
||||
"location": "query",
|
||||
"enum": [
|
||||
"1",
|
||||
"2"
|
||||
],
|
||||
"description": "V1 error format."
|
||||
},
|
||||
"alt": {
|
||||
"type": "string",
|
||||
"enumDescriptions": [
|
||||
"Responses with Content-Type of application/json",
|
||||
"Media download with context-dependent Content-Type",
|
||||
"Responses with Content-Type of application/x-protobuf"
|
||||
],
|
||||
"location": "query",
|
||||
"description": "Data format for response.",
|
||||
"default": "json",
|
||||
"enum": [
|
||||
"json",
|
||||
"media",
|
||||
"proto"
|
||||
]
|
||||
},
|
||||
"access_token": {
|
||||
"location": "query",
|
||||
"description": "OAuth access token.",
|
||||
"type": "string"
|
||||
},
|
||||
"key": {
|
||||
"location": "query",
|
||||
"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.",
|
||||
"type": "string"
|
||||
},
|
||||
"quotaUser": {
|
||||
"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.",
|
||||
"type": "string",
|
||||
"location": "query"
|
||||
},
|
||||
"pp": {
|
||||
"description": "Pretty-print response.",
|
||||
"default": "true",
|
||||
"type": "boolean",
|
||||
"location": "query"
|
||||
}
|
||||
},
|
||||
"version": "v1",
|
||||
"baseUrl": "https://cloudfunctions.googleapis.com/",
|
||||
"kind": "discovery#restDescription",
|
||||
"description": "API for managing lightweight user-provided functions executed in response to events.",
|
||||
"servicePath": "",
|
||||
"basePath": "",
|
||||
"id": "cloudfunctions:v1",
|
||||
"documentationLink": "https://cloud.google.com/functions",
|
||||
"revision": "20170920",
|
||||
"discoveryVersion": "v1",
|
||||
"version_module": true,
|
||||
"schemas": {
|
||||
"OperationMetadataV1Beta2": {
|
||||
"description": "Metadata describing an Operation",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"versionId": {
|
||||
"format": "int64",
|
||||
"description": "Version id of the function created or updated by an API call.\nThis field is only pupulated for Create and Update operations.",
|
||||
"type": "string"
|
||||
},
|
||||
"request": {
|
||||
"additionalProperties": {
|
||||
"description": "Properties of the object. Contains field @type with type URL.",
|
||||
"type": "any"
|
||||
},
|
||||
"description": "The original request that started the operation.",
|
||||
"type": "object"
|
||||
},
|
||||
"type": {
|
||||
"description": "Type of operation.",
|
||||
"type": "string",
|
||||
"enumDescriptions": [
|
||||
"Unknown operation type.",
|
||||
"Triggered by CreateFunction call",
|
||||
"Triggered by UpdateFunction call",
|
||||
"Triggered by DeleteFunction call."
|
||||
],
|
||||
"enum": [
|
||||
"OPERATION_UNSPECIFIED",
|
||||
"CREATE_FUNCTION",
|
||||
"UPDATE_FUNCTION",
|
||||
"DELETE_FUNCTION"
|
||||
]
|
||||
},
|
||||
"target": {
|
||||
"description": "Target of the operation - for example\nprojects/project-1/locations/region-1/functions/function-1",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"id": "OperationMetadataV1Beta2"
|
||||
},
|
||||
"Status": {
|
||||
"description": "The `Status` type defines a logical error model that is suitable for different\nprogramming environments, including REST APIs and RPC APIs. It is used by\n[gRPC](https://github.com/grpc). The error model is designed to be:\n\n- Simple to use and understand for most users\n- Flexible enough to meet unexpected needs\n\n# Overview\n\nThe `Status` message contains three pieces of data: error code, error message,\nand error details. The error code should be an enum value of\ngoogle.rpc.Code, but it may accept additional error codes if needed. The\nerror message should be a developer-facing English message that helps\ndevelopers *understand* and *resolve* the error. If a localized user-facing\nerror message is needed, put the localized message in the error details or\nlocalize it in the client. The optional error details may contain arbitrary\ninformation about the error. There is a predefined set of error detail types\nin the package `google.rpc` that can be used for common error conditions.\n\n# Language mapping\n\nThe `Status` message is the logical representation of the error model, but it\nis not necessarily the actual wire format. When the `Status` message is\nexposed in different client libraries and different wire protocols, it can be\nmapped differently. For example, it will likely be mapped to some exceptions\nin Java, but more likely mapped to some error codes in C.\n\n# Other uses\n\nThe error model and the `Status` message can be used in a variety of\nenvironments, either with or without APIs, to provide a\nconsistent developer experience across different environments.\n\nExample uses of this error model include:\n\n- Partial errors. If a service needs to return partial errors to the client,\n it may embed the `Status` in the normal response to indicate the partial\n errors.\n\n- Workflow errors. A typical workflow has multiple steps. Each step may\n have a `Status` message for error reporting.\n\n- Batch operations. If a client uses batch request and batch response, the\n `Status` message should be used directly inside batch response, one for\n each error sub-response.\n\n- Asynchronous operations. If an API call embeds asynchronous operation\n results in its response, the status of those operations should be\n represented directly using the `Status` message.\n\n- Logging. If some API errors are stored in logs, the message `Status` could\n be used directly after any stripping needed for security/privacy reasons.",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"details": {
|
||||
"description": "A list of messages that carry the error details. There is a common set of\nmessage types for APIs to use.",
|
||||
"items": {
|
||||
"additionalProperties": {
|
||||
"description": "Properties of the object. Contains field @type with type URL.",
|
||||
"type": "any"
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"code": {
|
||||
"format": "int32",
|
||||
"description": "The status code, which should be an enum value of google.rpc.Code.",
|
||||
"type": "integer"
|
||||
},
|
||||
"message": {
|
||||
"description": "A developer-facing error message, which should be in English. Any\nuser-facing error message should be localized and sent in the\ngoogle.rpc.Status.details field, or localized by the client.",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"id": "Status"
|
||||
},
|
||||
"ListLocationsResponse": {
|
||||
"description": "The response message for Locations.ListLocations.",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"nextPageToken": {
|
||||
"description": "The standard List next-page token.",
|
||||
"type": "string"
|
||||
},
|
||||
"locations": {
|
||||
"description": "A list of locations that matches the specified filter in the request.",
|
||||
"items": {
|
||||
"$ref": "Location"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"nextPageToken": {
|
||||
"description": "The standard List next-page token.",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"id": "ListLocationsResponse"
|
||||
|
@ -256,11 +92,11 @@
|
|||
"type": "object",
|
||||
"properties": {
|
||||
"labels": {
|
||||
"description": "Cross-service attributes for the location. For example\n\n {\"cloud.googleapis.com/region\": \"us-east1\"}",
|
||||
"type": "object",
|
||||
"additionalProperties": {
|
||||
"type": "string"
|
||||
},
|
||||
"description": "Cross-service attributes for the location. For example\n\n {\"cloud.googleapis.com/region\": \"us-east1\"}",
|
||||
"type": "object"
|
||||
}
|
||||
},
|
||||
"name": {
|
||||
"description": "Resource name for the location, which may vary between implementations.\nFor example: `\"projects/example-project/locations/us-east1\"`",
|
||||
|
@ -281,6 +117,24 @@
|
|||
},
|
||||
"id": "Location"
|
||||
},
|
||||
"ListOperationsResponse": {
|
||||
"description": "The response message for Operations.ListOperations.",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"nextPageToken": {
|
||||
"description": "The standard List next-page token.",
|
||||
"type": "string"
|
||||
},
|
||||
"operations": {
|
||||
"description": "A list of operations that matches the specified filter in the request.",
|
||||
"items": {
|
||||
"$ref": "Operation"
|
||||
},
|
||||
"type": "array"
|
||||
}
|
||||
},
|
||||
"id": "ListOperationsResponse"
|
||||
},
|
||||
"Operation": {
|
||||
"description": "This resource represents a long-running operation that is the result of a\nnetwork API call.",
|
||||
"type": "object",
|
||||
|
@ -302,109 +156,255 @@
|
|||
"type": "string"
|
||||
},
|
||||
"error": {
|
||||
"$ref": "Status",
|
||||
"description": "The error result of the operation in case of failure or cancellation."
|
||||
"description": "The error result of the operation in case of failure or cancellation.",
|
||||
"$ref": "Status"
|
||||
},
|
||||
"metadata": {
|
||||
"description": "Service-specific metadata associated with the operation. It typically\ncontains progress information and common metadata such as create time.\nSome services might not provide such metadata. Any method that returns a\nlong-running operation should document the metadata type, if any.",
|
||||
"type": "object",
|
||||
"additionalProperties": {
|
||||
"type": "any",
|
||||
"description": "Properties of the object. Contains field @type with type URL."
|
||||
}
|
||||
}
|
||||
},
|
||||
"id": "Operation"
|
||||
},
|
||||
"ListOperationsResponse": {
|
||||
"properties": {
|
||||
"operations": {
|
||||
"description": "A list of operations that matches the specified filter in the request.",
|
||||
"items": {
|
||||
"$ref": "Operation"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"nextPageToken": {
|
||||
"description": "The standard List next-page token.",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"id": "ListOperationsResponse",
|
||||
"description": "The response message for Operations.ListOperations.",
|
||||
"type": "object"
|
||||
},
|
||||
"OperationMetadataV1Beta2": {
|
||||
"properties": {
|
||||
"type": {
|
||||
"enumDescriptions": [
|
||||
"Unknown operation type.",
|
||||
"Triggered by CreateFunction call",
|
||||
"Triggered by UpdateFunction call",
|
||||
"Triggered by DeleteFunction call."
|
||||
],
|
||||
"enum": [
|
||||
"OPERATION_UNSPECIFIED",
|
||||
"CREATE_FUNCTION",
|
||||
"UPDATE_FUNCTION",
|
||||
"DELETE_FUNCTION"
|
||||
],
|
||||
"description": "Type of operation.",
|
||||
"type": "string"
|
||||
},
|
||||
"target": {
|
||||
"description": "Target of the operation - for example\nprojects/project-1/locations/region-1/functions/function-1",
|
||||
"type": "string"
|
||||
},
|
||||
"versionId": {
|
||||
"format": "int64",
|
||||
"description": "Version id of the function created or updated by an API call.\nThis field is only pupulated for Create and Update operations.",
|
||||
"type": "string"
|
||||
},
|
||||
"request": {
|
||||
"description": "The original request that started the operation.",
|
||||
"type": "object",
|
||||
"additionalProperties": {
|
||||
"description": "Properties of the object. Contains field @type with type URL.",
|
||||
"type": "any"
|
||||
}
|
||||
}
|
||||
},
|
||||
"id": "OperationMetadataV1Beta2",
|
||||
"description": "Metadata describing an Operation",
|
||||
"type": "object"
|
||||
},
|
||||
"Status": {
|
||||
"description": "The `Status` type defines a logical error model that is suitable for different\nprogramming environments, including REST APIs and RPC APIs. It is used by\n[gRPC](https://github.com/grpc). The error model is designed to be:\n\n- Simple to use and understand for most users\n- Flexible enough to meet unexpected needs\n\n# Overview\n\nThe `Status` message contains three pieces of data: error code, error message,\nand error details. The error code should be an enum value of\ngoogle.rpc.Code, but it may accept additional error codes if needed. The\nerror message should be a developer-facing English message that helps\ndevelopers *understand* and *resolve* the error. If a localized user-facing\nerror message is needed, put the localized message in the error details or\nlocalize it in the client. The optional error details may contain arbitrary\ninformation about the error. There is a predefined set of error detail types\nin the package `google.rpc` that can be used for common error conditions.\n\n# Language mapping\n\nThe `Status` message is the logical representation of the error model, but it\nis not necessarily the actual wire format. When the `Status` message is\nexposed in different client libraries and different wire protocols, it can be\nmapped differently. For example, it will likely be mapped to some exceptions\nin Java, but more likely mapped to some error codes in C.\n\n# Other uses\n\nThe error model and the `Status` message can be used in a variety of\nenvironments, either with or without APIs, to provide a\nconsistent developer experience across different environments.\n\nExample uses of this error model include:\n\n- Partial errors. If a service needs to return partial errors to the client,\n it may embed the `Status` in the normal response to indicate the partial\n errors.\n\n- Workflow errors. A typical workflow has multiple steps. Each step may\n have a `Status` message for error reporting.\n\n- Batch operations. If a client uses batch request and batch response, the\n `Status` message should be used directly inside batch response, one for\n each error sub-response.\n\n- Asynchronous operations. If an API call embeds asynchronous operation\n results in its response, the status of those operations should be\n represented directly using the `Status` message.\n\n- Logging. If some API errors are stored in logs, the message `Status` could\n be used directly after any stripping needed for security/privacy reasons.",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"code": {
|
||||
"format": "int32",
|
||||
"description": "The status code, which should be an enum value of google.rpc.Code.",
|
||||
"type": "integer"
|
||||
},
|
||||
"message": {
|
||||
"description": "A developer-facing error message, which should be in English. Any\nuser-facing error message should be localized and sent in the\ngoogle.rpc.Status.details field, or localized by the client.",
|
||||
"type": "string"
|
||||
},
|
||||
"details": {
|
||||
"items": {
|
||||
"type": "object",
|
||||
"additionalProperties": {
|
||||
"description": "Properties of the object. Contains field @type with type URL.",
|
||||
"type": "any"
|
||||
}
|
||||
},
|
||||
"type": "array",
|
||||
"description": "A list of messages that carry the error details. There is a common set of\nmessage types for APIs to use."
|
||||
}
|
||||
},
|
||||
"id": "Status"
|
||||
"id": "Operation"
|
||||
}
|
||||
},
|
||||
"protocol": "rest",
|
||||
"icons": {
|
||||
"x32": "http://www.google.com/images/icons/product/search-32.gif",
|
||||
"x16": "http://www.google.com/images/icons/product/search-16.gif"
|
||||
},
|
||||
"protocol": "rest"
|
||||
"canonicalName": "Cloud Functions",
|
||||
"auth": {
|
||||
"oauth2": {
|
||||
"scopes": {
|
||||
"https://www.googleapis.com/auth/cloud-platform": {
|
||||
"description": "View and manage your data across Google Cloud Platform services"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"rootUrl": "https://cloudfunctions.googleapis.com/",
|
||||
"ownerDomain": "google.com",
|
||||
"name": "cloudfunctions",
|
||||
"batchPath": "batch",
|
||||
"fullyEncodeReservedExpansion": true,
|
||||
"title": "Google Cloud Functions API",
|
||||
"ownerName": "Google",
|
||||
"resources": {
|
||||
"operations": {
|
||||
"methods": {
|
||||
"get": {
|
||||
"description": "Gets the latest state of a long-running operation. Clients can use this\nmethod to poll the operation result at intervals as recommended by the API\nservice.",
|
||||
"parameterOrder": [
|
||||
"name"
|
||||
],
|
||||
"httpMethod": "GET",
|
||||
"response": {
|
||||
"$ref": "Operation"
|
||||
},
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/cloud-platform"
|
||||
],
|
||||
"parameters": {
|
||||
"name": {
|
||||
"pattern": "^operations/[^/]+$",
|
||||
"location": "path",
|
||||
"description": "The name of the operation resource.",
|
||||
"type": "string",
|
||||
"required": true
|
||||
}
|
||||
},
|
||||
"flatPath": "v1/operations/{operationsId}",
|
||||
"id": "cloudfunctions.operations.get",
|
||||
"path": "v1/{+name}"
|
||||
},
|
||||
"list": {
|
||||
"httpMethod": "GET",
|
||||
"parameterOrder": [],
|
||||
"response": {
|
||||
"$ref": "ListOperationsResponse"
|
||||
},
|
||||
"parameters": {
|
||||
"pageSize": {
|
||||
"format": "int32",
|
||||
"description": "The standard list page size.",
|
||||
"type": "integer",
|
||||
"location": "query"
|
||||
},
|
||||
"filter": {
|
||||
"location": "query",
|
||||
"description": "The standard list filter.",
|
||||
"type": "string"
|
||||
},
|
||||
"pageToken": {
|
||||
"location": "query",
|
||||
"description": "The standard list page token.",
|
||||
"type": "string"
|
||||
},
|
||||
"name": {
|
||||
"location": "query",
|
||||
"description": "The name of the operation's parent resource.",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/cloud-platform"
|
||||
],
|
||||
"flatPath": "v1/operations",
|
||||
"path": "v1/operations",
|
||||
"id": "cloudfunctions.operations.list",
|
||||
"description": "Lists operations that match the specified filter in the request. If the\nserver doesn't support this method, it returns `UNIMPLEMENTED`.\n\nNOTE: the `name` binding allows API services to override the binding\nto use different resource name schemes, such as `users/*/operations`. To\noverride the binding, API services can add a binding such as\n`\"/v1/{name=users/*}/operations\"` to their service configuration.\nFor backwards compatibility, the default name includes the operations\ncollection id, however overriding users must ensure the name binding\nis the parent resource, without the operations collection id."
|
||||
}
|
||||
}
|
||||
},
|
||||
"projects": {
|
||||
"resources": {
|
||||
"locations": {
|
||||
"methods": {
|
||||
"list": {
|
||||
"description": "Lists information about the supported locations for this service.",
|
||||
"response": {
|
||||
"$ref": "ListLocationsResponse"
|
||||
},
|
||||
"parameterOrder": [
|
||||
"name"
|
||||
],
|
||||
"httpMethod": "GET",
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/cloud-platform"
|
||||
],
|
||||
"parameters": {
|
||||
"pageSize": {
|
||||
"format": "int32",
|
||||
"description": "The standard list page size.",
|
||||
"type": "integer",
|
||||
"location": "query"
|
||||
},
|
||||
"filter": {
|
||||
"location": "query",
|
||||
"description": "The standard list filter.",
|
||||
"type": "string"
|
||||
},
|
||||
"pageToken": {
|
||||
"description": "The standard list page token.",
|
||||
"type": "string",
|
||||
"location": "query"
|
||||
},
|
||||
"name": {
|
||||
"location": "path",
|
||||
"description": "The resource that owns the locations collection, if applicable.",
|
||||
"type": "string",
|
||||
"required": true,
|
||||
"pattern": "^projects/[^/]+$"
|
||||
}
|
||||
},
|
||||
"flatPath": "v1/projects/{projectsId}/locations",
|
||||
"id": "cloudfunctions.projects.locations.list",
|
||||
"path": "v1/{+name}/locations"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"parameters": {
|
||||
"upload_protocol": {
|
||||
"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").",
|
||||
"type": "string",
|
||||
"location": "query"
|
||||
},
|
||||
"prettyPrint": {
|
||||
"location": "query",
|
||||
"description": "Returns response with indentations and line breaks.",
|
||||
"default": "true",
|
||||
"type": "boolean"
|
||||
},
|
||||
"fields": {
|
||||
"description": "Selector specifying which fields to include in a partial response.",
|
||||
"type": "string",
|
||||
"location": "query"
|
||||
},
|
||||
"uploadType": {
|
||||
"location": "query",
|
||||
"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").",
|
||||
"type": "string"
|
||||
},
|
||||
"callback": {
|
||||
"description": "JSONP",
|
||||
"type": "string",
|
||||
"location": "query"
|
||||
},
|
||||
"$.xgafv": {
|
||||
"enum": [
|
||||
"1",
|
||||
"2"
|
||||
],
|
||||
"description": "V1 error format.",
|
||||
"type": "string",
|
||||
"enumDescriptions": [
|
||||
"v1 error format",
|
||||
"v2 error format"
|
||||
],
|
||||
"location": "query"
|
||||
},
|
||||
"alt": {
|
||||
"enum": [
|
||||
"json",
|
||||
"media",
|
||||
"proto"
|
||||
],
|
||||
"type": "string",
|
||||
"enumDescriptions": [
|
||||
"Responses with Content-Type of application/json",
|
||||
"Media download with context-dependent Content-Type",
|
||||
"Responses with Content-Type of application/x-protobuf"
|
||||
],
|
||||
"location": "query",
|
||||
"description": "Data format for response.",
|
||||
"default": "json"
|
||||
},
|
||||
"key": {
|
||||
"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.",
|
||||
"type": "string",
|
||||
"location": "query"
|
||||
},
|
||||
"access_token": {
|
||||
"description": "OAuth access token.",
|
||||
"type": "string",
|
||||
"location": "query"
|
||||
},
|
||||
"quotaUser": {
|
||||
"location": "query",
|
||||
"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.",
|
||||
"type": "string"
|
||||
},
|
||||
"pp": {
|
||||
"description": "Pretty-print response.",
|
||||
"default": "true",
|
||||
"type": "boolean",
|
||||
"location": "query"
|
||||
},
|
||||
"oauth_token": {
|
||||
"location": "query",
|
||||
"description": "OAuth 2.0 token for the current user.",
|
||||
"type": "string"
|
||||
},
|
||||
"bearer_token": {
|
||||
"description": "OAuth bearer token.",
|
||||
"type": "string",
|
||||
"location": "query"
|
||||
}
|
||||
},
|
||||
"version": "v1",
|
||||
"baseUrl": "https://cloudfunctions.googleapis.com/",
|
||||
"servicePath": "",
|
||||
"kind": "discovery#restDescription",
|
||||
"description": "API for managing lightweight user-provided functions executed in response to events.",
|
||||
"basePath": "",
|
||||
"id": "cloudfunctions:v1",
|
||||
"documentationLink": "https://cloud.google.com/functions",
|
||||
"revision": "20170926"
|
||||
}
|
||||
|
|
1226
vendor/google.golang.org/api/cloudfunctions/v1beta2/cloudfunctions-api.json
generated
vendored
1226
vendor/google.golang.org/api/cloudfunctions/v1beta2/cloudfunctions-api.json
generated
vendored
File diff suppressed because it is too large
Load diff
10
vendor/google.golang.org/api/cloudfunctions/v1beta2/cloudfunctions-gen.go
generated
vendored
10
vendor/google.golang.org/api/cloudfunctions/v1beta2/cloudfunctions-gen.go
generated
vendored
|
@ -260,13 +260,13 @@ type CloudFunction struct {
|
|||
// ions/*/paths/*`
|
||||
// To refer to a moveable alias
|
||||
// (branch):
|
||||
// `https://source.developers.google.com/projects/*/repos/*/ali
|
||||
// ases/movable/*/paths/*`
|
||||
// `https://source.developers.google.com/projects/*/repos/*/mov
|
||||
// eable-aliases/*/paths/*`
|
||||
// In particular, to refer to HEAD use `master` moveable alias.
|
||||
// To refer to a specific fixed alias
|
||||
// (tag):
|
||||
// `https://source.developers.google.com/projects/*/repos/*/aliase
|
||||
// s/fixed/*/paths/*`
|
||||
// `https://source.developers.google.com/projects/*/repos/*/fixed-
|
||||
// aliases/*/paths/*`
|
||||
//
|
||||
// You may omit `paths/*` if you want to use the main directory.
|
||||
SourceRepositoryUrl string `json:"sourceRepositoryUrl,omitempty"`
|
||||
|
@ -345,7 +345,7 @@ type EventTrigger struct {
|
|||
// `providers/cloud.storage/eventTypes/object.change`
|
||||
//
|
||||
// Handle a write to the Firebase Realtime Database
|
||||
// `providers/firebase.database/eventTypes/data.write`
|
||||
// `providers/google.firebase.database/eventTypes/ref.write`
|
||||
EventType string `json:"eventType,omitempty"`
|
||||
|
||||
// FailurePolicy: Specifies policy for failed executions.
|
||||
|
|
1304
vendor/google.golang.org/api/cloudiot/v1/cloudiot-api.json
generated
vendored
Normal file
1304
vendor/google.golang.org/api/cloudiot/v1/cloudiot-api.json
generated
vendored
Normal file
File diff suppressed because it is too large
Load diff
4121
vendor/google.golang.org/api/cloudiot/v1/cloudiot-gen.go
generated
vendored
Normal file
4121
vendor/google.golang.org/api/cloudiot/v1/cloudiot-gen.go
generated
vendored
Normal file
File diff suppressed because it is too large
Load diff
1251
vendor/google.golang.org/api/cloudiot/v1beta1/cloudiot-api.json
generated
vendored
Normal file
1251
vendor/google.golang.org/api/cloudiot/v1beta1/cloudiot-api.json
generated
vendored
Normal file
File diff suppressed because it is too large
Load diff
4174
vendor/google.golang.org/api/cloudiot/v1beta1/cloudiot-gen.go
generated
vendored
Normal file
4174
vendor/google.golang.org/api/cloudiot/v1beta1/cloudiot-gen.go
generated
vendored
Normal file
File diff suppressed because it is too large
Load diff
1938
vendor/google.golang.org/api/cloudkms/v1/cloudkms-api.json
generated
vendored
1938
vendor/google.golang.org/api/cloudkms/v1/cloudkms-api.json
generated
vendored
File diff suppressed because it is too large
Load diff
2
vendor/google.golang.org/api/cloudmonitoring/v2beta2/cloudmonitoring-api.json
generated
vendored
2
vendor/google.golang.org/api/cloudmonitoring/v2beta2/cloudmonitoring-api.json
generated
vendored
|
@ -21,7 +21,7 @@
|
|||
"basePath": "/cloudmonitoring/v2beta2/projects/",
|
||||
"rootUrl": "https://www.googleapis.com/",
|
||||
"servicePath": "cloudmonitoring/v2beta2/projects/",
|
||||
"batchPath": "batch",
|
||||
"batchPath": "batch/cloudmonitoring/v2beta2",
|
||||
"parameters": {
|
||||
"alt": {
|
||||
"type": "string",
|
||||
|
|
2432
vendor/google.golang.org/api/cloudresourcemanager/v1/cloudresourcemanager-api.json
generated
vendored
2432
vendor/google.golang.org/api/cloudresourcemanager/v1/cloudresourcemanager-api.json
generated
vendored
File diff suppressed because it is too large
Load diff
780
vendor/google.golang.org/api/cloudresourcemanager/v1beta1/cloudresourcemanager-api.json
generated
vendored
780
vendor/google.golang.org/api/cloudresourcemanager/v1beta1/cloudresourcemanager-api.json
generated
vendored
File diff suppressed because it is too large
Load diff
1374
vendor/google.golang.org/api/cloudresourcemanager/v2beta1/cloudresourcemanager-api.json
generated
vendored
1374
vendor/google.golang.org/api/cloudresourcemanager/v2beta1/cloudresourcemanager-api.json
generated
vendored
File diff suppressed because it is too large
Load diff
1366
vendor/google.golang.org/api/cloudtasks/v2beta2/cloudtasks-api.json
generated
vendored
1366
vendor/google.golang.org/api/cloudtasks/v2beta2/cloudtasks-api.json
generated
vendored
File diff suppressed because it is too large
Load diff
13
vendor/google.golang.org/api/cloudtasks/v2beta2/cloudtasks-gen.go
generated
vendored
13
vendor/google.golang.org/api/cloudtasks/v2beta2/cloudtasks-gen.go
generated
vendored
|
@ -166,7 +166,7 @@ func (s *AcknowledgeTaskRequest) MarshalJSON() ([]byte, error) {
|
|||
// has
|
||||
// Queue.app_engine_http_target set.
|
||||
//
|
||||
// Using this type of target
|
||||
// Using AppEngineHttpRequest
|
||||
// requires
|
||||
// [`appengine.applications.get`](/appengine/docs/admin-api/acce
|
||||
// ss-control)
|
||||
|
@ -350,7 +350,7 @@ func (s *AppEngineHttpRequest) MarshalJSON() ([]byte, error) {
|
|||
// The documentation for AppEngineHttpRequest explains how the
|
||||
// task's host URL is constructed.
|
||||
//
|
||||
// Using this type of queue configuration
|
||||
// Using AppEngineHttpTarget
|
||||
// requires
|
||||
// [`appengine.applications.get`](/appengine/docs/admin-api/acce
|
||||
// ss-control)
|
||||
|
@ -3160,6 +3160,7 @@ type ProjectsLocationsQueuesGetIamPolicyCall struct {
|
|||
// specified resource parent:
|
||||
//
|
||||
// * `cloudtasks.queues.getIamPolicy`
|
||||
//
|
||||
func (r *ProjectsLocationsQueuesService) GetIamPolicy(resource string, getiampolicyrequest *GetIamPolicyRequest) *ProjectsLocationsQueuesGetIamPolicyCall {
|
||||
c := &ProjectsLocationsQueuesGetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
|
||||
c.resource = resource
|
||||
|
@ -3253,7 +3254,7 @@ func (c *ProjectsLocationsQueuesGetIamPolicyCall) Do(opts ...googleapi.CallOptio
|
|||
}
|
||||
return ret, nil
|
||||
// {
|
||||
// "description": "Gets the access control policy for a Queue.\nReturns an empty policy if the resource exists and does not have a policy\nset.\n\nAuthorization requires the following [Google IAM](/iam) permission on the\nspecified resource parent:\n\n* `cloudtasks.queues.getIamPolicy`",
|
||||
// "description": "Gets the access control policy for a Queue.\nReturns an empty policy if the resource exists and does not have a policy\nset.\n\nAuthorization requires the following [Google IAM](/iam) permission on the\nspecified resource parent:\n\n* `cloudtasks.queues.getIamPolicy`\n",
|
||||
// "flatPath": "v2beta2/projects/{projectsId}/locations/{locationsId}/queues/{queuesId}:getIamPolicy",
|
||||
// "httpMethod": "POST",
|
||||
// "id": "cloudtasks.projects.locations.queues.getIamPolicy",
|
||||
|
@ -4139,6 +4140,7 @@ type ProjectsLocationsQueuesSetIamPolicyCall struct {
|
|||
// specified resource parent:
|
||||
//
|
||||
// * `cloudtasks.queues.setIamPolicy`
|
||||
//
|
||||
func (r *ProjectsLocationsQueuesService) SetIamPolicy(resource string, setiampolicyrequest *SetIamPolicyRequest) *ProjectsLocationsQueuesSetIamPolicyCall {
|
||||
c := &ProjectsLocationsQueuesSetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
|
||||
c.resource = resource
|
||||
|
@ -4232,7 +4234,7 @@ func (c *ProjectsLocationsQueuesSetIamPolicyCall) Do(opts ...googleapi.CallOptio
|
|||
}
|
||||
return ret, nil
|
||||
// {
|
||||
// "description": "Sets the access control policy for a Queue. Replaces any existing\npolicy.\n\nAuthorization requires the following [Google IAM](/iam) permission on the\nspecified resource parent:\n\n* `cloudtasks.queues.setIamPolicy`",
|
||||
// "description": "Sets the access control policy for a Queue. Replaces any existing\npolicy.\n\nAuthorization requires the following [Google IAM](/iam) permission on the\nspecified resource parent:\n\n* `cloudtasks.queues.setIamPolicy`\n",
|
||||
// "flatPath": "v2beta2/projects/{projectsId}/locations/{locationsId}/queues/{queuesId}:setIamPolicy",
|
||||
// "httpMethod": "POST",
|
||||
// "id": "cloudtasks.projects.locations.queues.setIamPolicy",
|
||||
|
@ -4284,6 +4286,7 @@ type ProjectsLocationsQueuesTestIamPermissionsCall struct {
|
|||
// UIs and command-line tools, not for authorization checking. This
|
||||
// operation
|
||||
// may "fail open" without warning.
|
||||
//
|
||||
func (r *ProjectsLocationsQueuesService) TestIamPermissions(resource string, testiampermissionsrequest *TestIamPermissionsRequest) *ProjectsLocationsQueuesTestIamPermissionsCall {
|
||||
c := &ProjectsLocationsQueuesTestIamPermissionsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
|
||||
c.resource = resource
|
||||
|
@ -4377,7 +4380,7 @@ func (c *ProjectsLocationsQueuesTestIamPermissionsCall) Do(opts ...googleapi.Cal
|
|||
}
|
||||
return ret, nil
|
||||
// {
|
||||
// "description": "Returns permissions that a caller has on a Queue.\nIf the resource does not exist, this will return an empty set of\npermissions, not a google.rpc.Code.NOT_FOUND error.\n\nNote: This operation is designed to be used for building permission-aware\nUIs and command-line tools, not for authorization checking. This operation\nmay \"fail open\" without warning.",
|
||||
// "description": "Returns permissions that a caller has on a Queue.\nIf the resource does not exist, this will return an empty set of\npermissions, not a google.rpc.Code.NOT_FOUND error.\n\nNote: This operation is designed to be used for building permission-aware\nUIs and command-line tools, not for authorization checking. This operation\nmay \"fail open\" without warning.\n",
|
||||
// "flatPath": "v2beta2/projects/{projectsId}/locations/{locationsId}/queues/{queuesId}:testIamPermissions",
|
||||
// "httpMethod": "POST",
|
||||
// "id": "cloudtasks.projects.locations.queues.testIamPermissions",
|
||||
|
|
527
vendor/google.golang.org/api/cloudtrace/v1/cloudtrace-api.json
generated
vendored
527
vendor/google.golang.org/api/cloudtrace/v1/cloudtrace-api.json
generated
vendored
|
@ -1,254 +1,16 @@
|
|||
{
|
||||
"ownerName": "Google",
|
||||
"resources": {
|
||||
"projects": {
|
||||
"methods": {
|
||||
"patchTraces": {
|
||||
"parameters": {
|
||||
"projectId": {
|
||||
"description": "ID of the Cloud project where the trace data is stored.",
|
||||
"type": "string",
|
||||
"required": true,
|
||||
"location": "path"
|
||||
}
|
||||
},
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/cloud-platform",
|
||||
"https://www.googleapis.com/auth/trace.append"
|
||||
],
|
||||
"flatPath": "v1/projects/{projectId}/traces",
|
||||
"id": "cloudtrace.projects.patchTraces",
|
||||
"path": "v1/projects/{projectId}/traces",
|
||||
"description": "Sends new traces to Stackdriver Trace or updates existing traces. If the ID\nof a trace that you send matches that of an existing trace, any fields\nin the existing trace and its spans are overwritten by the provided values,\nand any new fields provided are merged with the existing trace data. If the\nID does not match, a new trace is created.",
|
||||
"request": {
|
||||
"$ref": "Traces"
|
||||
},
|
||||
"response": {
|
||||
"$ref": "Empty"
|
||||
},
|
||||
"parameterOrder": [
|
||||
"projectId"
|
||||
],
|
||||
"httpMethod": "PATCH"
|
||||
}
|
||||
},
|
||||
"resources": {
|
||||
"traces": {
|
||||
"methods": {
|
||||
"get": {
|
||||
"description": "Gets a single trace by its ID.",
|
||||
"httpMethod": "GET",
|
||||
"parameterOrder": [
|
||||
"projectId",
|
||||
"traceId"
|
||||
],
|
||||
"response": {
|
||||
"$ref": "Trace"
|
||||
},
|
||||
"parameters": {
|
||||
"projectId": {
|
||||
"location": "path",
|
||||
"description": "ID of the Cloud project where the trace data is stored.",
|
||||
"type": "string",
|
||||
"required": true
|
||||
},
|
||||
"traceId": {
|
||||
"location": "path",
|
||||
"description": "ID of the trace to return.",
|
||||
"type": "string",
|
||||
"required": true
|
||||
}
|
||||
},
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/cloud-platform",
|
||||
"https://www.googleapis.com/auth/trace.readonly"
|
||||
],
|
||||
"flatPath": "v1/projects/{projectId}/traces/{traceId}",
|
||||
"path": "v1/projects/{projectId}/traces/{traceId}",
|
||||
"id": "cloudtrace.projects.traces.get"
|
||||
},
|
||||
"list": {
|
||||
"httpMethod": "GET",
|
||||
"parameterOrder": [
|
||||
"projectId"
|
||||
],
|
||||
"response": {
|
||||
"$ref": "ListTracesResponse"
|
||||
},
|
||||
"parameters": {
|
||||
"endTime": {
|
||||
"type": "string",
|
||||
"location": "query",
|
||||
"format": "google-datetime",
|
||||
"description": "End of the time interval (inclusive) during which the trace data was\ncollected from the application."
|
||||
},
|
||||
"pageToken": {
|
||||
"type": "string",
|
||||
"location": "query",
|
||||
"description": "Token identifying the page of results to return. If provided, use the\nvalue of the `next_page_token` field from a previous request. Optional."
|
||||
},
|
||||
"startTime": {
|
||||
"format": "google-datetime",
|
||||
"description": "Start of the time interval (inclusive) during which the trace data was\ncollected from the application.",
|
||||
"type": "string",
|
||||
"location": "query"
|
||||
},
|
||||
"pageSize": {
|
||||
"location": "query",
|
||||
"format": "int32",
|
||||
"description": "Maximum number of traces to return. If not specified or \u003c= 0, the\nimplementation selects a reasonable value. The implementation may\nreturn fewer traces than the requested page size. Optional.",
|
||||
"type": "integer"
|
||||
},
|
||||
"view": {
|
||||
"description": "Type of data returned for traces in the list. Optional. Default is\n`MINIMAL`.",
|
||||
"type": "string",
|
||||
"location": "query",
|
||||
"enum": [
|
||||
"VIEW_TYPE_UNSPECIFIED",
|
||||
"MINIMAL",
|
||||
"ROOTSPAN",
|
||||
"COMPLETE"
|
||||
]
|
||||
},
|
||||
"orderBy": {
|
||||
"location": "query",
|
||||
"description": "Field used to sort the returned traces. Optional.\nCan be one of the following:\n\n* `trace_id`\n* `name` (`name` field of root span in the trace)\n* `duration` (difference between `end_time` and `start_time` fields of\n the root span)\n* `start` (`start_time` field of the root span)\n\nDescending order can be specified by appending `desc` to the sort field\n(for example, `name desc`).\n\nOnly one sort field is permitted.",
|
||||
"type": "string"
|
||||
},
|
||||
"projectId": {
|
||||
"location": "path",
|
||||
"description": "ID of the Cloud project where the trace data is stored.",
|
||||
"type": "string",
|
||||
"required": true
|
||||
},
|
||||
"filter": {
|
||||
"location": "query",
|
||||
"description": "An optional filter against labels for the request.\n\nBy default, searches use prefix matching. To specify exact match, prepend\na plus symbol (`+`) to the search term.\nMultiple terms are ANDed. Syntax:\n\n* `root:NAME_PREFIX` or `NAME_PREFIX`: Return traces where any root\n span starts with `NAME_PREFIX`.\n* `+root:NAME` or `+NAME`: Return traces where any root span's name is\n exactly `NAME`.\n* `span:NAME_PREFIX`: Return traces where any span starts with\n `NAME_PREFIX`.\n* `+span:NAME`: Return traces where any span's name is exactly\n `NAME`.\n* `latency:DURATION`: Return traces whose overall latency is\n greater or equal to than `DURATION`. Accepted units are nanoseconds\n (`ns`), milliseconds (`ms`), and seconds (`s`). Default is `ms`. For\n example, `latency:24ms` returns traces whose overall latency\n is greater than or equal to 24 milliseconds.\n* `label:LABEL_KEY`: Return all traces containing the specified\n label key (exact match, case-sensitive) regardless of the key:value\n pair's value (including empty values).\n* `LABEL_KEY:VALUE_PREFIX`: Return all traces containing the specified\n label key (exact match, case-sensitive) whose value starts with\n `VALUE_PREFIX`. Both a key and a value must be specified.\n* `+LABEL_KEY:VALUE`: Return all traces containing a key:value pair\n exactly matching the specified text. Both a key and a value must be\n specified.\n* `method:VALUE`: Equivalent to `/http/method:VALUE`.\n* `url:VALUE`: Equivalent to `/http/url:VALUE`.",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/cloud-platform",
|
||||
"https://www.googleapis.com/auth/trace.readonly"
|
||||
],
|
||||
"flatPath": "v1/projects/{projectId}/traces",
|
||||
"path": "v1/projects/{projectId}/traces",
|
||||
"id": "cloudtrace.projects.traces.list",
|
||||
"description": "Returns of a list of traces that match the specified filter conditions."
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"parameters": {
|
||||
"key": {
|
||||
"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.",
|
||||
"type": "string",
|
||||
"location": "query"
|
||||
},
|
||||
"access_token": {
|
||||
"location": "query",
|
||||
"description": "OAuth access token.",
|
||||
"type": "string"
|
||||
},
|
||||
"quotaUser": {
|
||||
"location": "query",
|
||||
"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.",
|
||||
"type": "string"
|
||||
},
|
||||
"pp": {
|
||||
"default": "true",
|
||||
"type": "boolean",
|
||||
"location": "query",
|
||||
"description": "Pretty-print response."
|
||||
},
|
||||
"bearer_token": {
|
||||
"description": "OAuth bearer token.",
|
||||
"type": "string",
|
||||
"location": "query"
|
||||
},
|
||||
"oauth_token": {
|
||||
"type": "string",
|
||||
"location": "query",
|
||||
"description": "OAuth 2.0 token for the current user."
|
||||
},
|
||||
"upload_protocol": {
|
||||
"type": "string",
|
||||
"location": "query",
|
||||
"description": "Upload protocol for media (e.g. \"raw\", \"multipart\")."
|
||||
},
|
||||
"prettyPrint": {
|
||||
"description": "Returns response with indentations and line breaks.",
|
||||
"default": "true",
|
||||
"type": "boolean",
|
||||
"location": "query"
|
||||
},
|
||||
"fields": {
|
||||
"description": "Selector specifying which fields to include in a partial response.",
|
||||
"type": "string",
|
||||
"location": "query"
|
||||
},
|
||||
"uploadType": {
|
||||
"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").",
|
||||
"type": "string",
|
||||
"location": "query"
|
||||
},
|
||||
"callback": {
|
||||
"location": "query",
|
||||
"description": "JSONP",
|
||||
"type": "string"
|
||||
},
|
||||
"$.xgafv": {
|
||||
"description": "V1 error format.",
|
||||
"type": "string",
|
||||
"enumDescriptions": [
|
||||
"v1 error format",
|
||||
"v2 error format"
|
||||
],
|
||||
"location": "query",
|
||||
"enum": [
|
||||
"1",
|
||||
"2"
|
||||
]
|
||||
},
|
||||
"alt": {
|
||||
"type": "string",
|
||||
"enumDescriptions": [
|
||||
"Responses with Content-Type of application/json",
|
||||
"Media download with context-dependent Content-Type",
|
||||
"Responses with Content-Type of application/x-protobuf"
|
||||
],
|
||||
"location": "query",
|
||||
"description": "Data format for response.",
|
||||
"default": "json",
|
||||
"enum": [
|
||||
"json",
|
||||
"media",
|
||||
"proto"
|
||||
]
|
||||
}
|
||||
},
|
||||
"version": "v1",
|
||||
"baseUrl": "https://cloudtrace.googleapis.com/",
|
||||
"servicePath": "",
|
||||
"description": "Send and retrieve trace data from Stackdriver Trace. Data is generated and available by default for all App Engine applications. Data from other applications can be written to Stackdriver Trace for display, reporting, and analysis.\n",
|
||||
"kind": "discovery#restDescription",
|
||||
"basePath": "",
|
||||
"revision": "20170913",
|
||||
"revision": "20170927",
|
||||
"documentationLink": "https://cloud.google.com/trace",
|
||||
"id": "cloudtrace:v1",
|
||||
"discoveryVersion": "v1",
|
||||
"version_module": true,
|
||||
"schemas": {
|
||||
"TraceSpan": {
|
||||
"id": "TraceSpan",
|
||||
"description": "A span represents a single timed event within a trace. Spans can be nested\nand form a trace tree. Often, a trace contains a root span that describes the\nend-to-end latency of an operation and, optionally, one or more subspans for\nits suboperations. Spans do not need to be contiguous. There may be gaps\nbetween spans in a trace.",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"name": {
|
||||
"description": "Name of the span. Must be less than 128 bytes. The span name is sanitized\nand displayed in the Stackdriver Trace tool in the\n{% dynamic print site_values.console_name %}.\nThe name may be a method name or some other per-call site name.\nFor the same executable and the same call point, a best practice is\nto use a consistent name, which makes it easier to correlate\ncross-trace spans.",
|
||||
"type": "string"
|
||||
},
|
||||
"spanId": {
|
||||
"format": "uint64",
|
||||
"description": "Identifier for the span. Must be a 64-bit integer other than 0 and\nunique within a trace.",
|
||||
|
@ -270,18 +32,18 @@
|
|||
"type": "string"
|
||||
},
|
||||
"kind": {
|
||||
"enumDescriptions": [
|
||||
"Unspecified.",
|
||||
"Indicates that the span covers server-side handling of an RPC or other\nremote network request.",
|
||||
"Indicates that the span covers the client-side wrapper around an RPC or\nother remote request."
|
||||
],
|
||||
"enum": [
|
||||
"SPAN_KIND_UNSPECIFIED",
|
||||
"RPC_SERVER",
|
||||
"RPC_CLIENT"
|
||||
],
|
||||
"description": "Distinguishes between spans generated in a particular context. For example,\ntwo spans with the same name may be distinguished using `RPC_CLIENT`\nand `RPC_SERVER` to identify queueing latency associated with the span.",
|
||||
"type": "string"
|
||||
"type": "string",
|
||||
"enumDescriptions": [
|
||||
"Unspecified.",
|
||||
"Indicates that the span covers server-side handling of an RPC or other\nremote network request.",
|
||||
"Indicates that the span covers the client-side wrapper around an RPC or\nother remote request."
|
||||
]
|
||||
},
|
||||
"labels": {
|
||||
"additionalProperties": {
|
||||
|
@ -289,9 +51,12 @@
|
|||
},
|
||||
"description": "Collection of labels associated with the span. Label keys must be less than\n128 bytes. Label values must be less than 16 kilobytes (10MB for\n`/stacktrace` values).\n\nSome predefined label keys exist, or you may create your own. When creating\nyour own, we recommend the following formats:\n\n* `/category/product/key` for agents of well-known products (e.g.\n `/db/mongodb/read_size`).\n* `short_host/path/key` for domain-specific keys (e.g.\n `foo.com/myproduct/bar`)\n\nPredefined labels include:\n\n* `/agent`\n* `/component`\n* `/error/message`\n* `/error/name`\n* `/http/client_city`\n* `/http/client_country`\n* `/http/client_protocol`\n* `/http/client_region`\n* `/http/host`\n* `/http/method`\n* `/http/redirected_url`\n* `/http/request/size`\n* `/http/response/size`\n* `/http/status_code`\n* `/http/url`\n* `/http/user_agent`\n* `/pid`\n* `/stacktrace`\n* `/tid`",
|
||||
"type": "object"
|
||||
},
|
||||
"name": {
|
||||
"description": "Name of the span. Must be less than 128 bytes. The span name is sanitized\nand displayed in the Stackdriver Trace tool in the\n{% dynamic print site_values.console_name %}.\nThe name may be a method name or some other per-call site name.\nFor the same executable and the same call point, a best practice is\nto use a consistent name, which makes it easier to correlate\ncross-trace spans.",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"id": "TraceSpan"
|
||||
}
|
||||
},
|
||||
"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 `{}`.",
|
||||
|
@ -300,24 +65,26 @@
|
|||
"id": "Empty"
|
||||
},
|
||||
"ListTracesResponse": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"nextPageToken": {
|
||||
"description": "If defined, indicates that there are more traces that match the request\nand that this value should be passed to the next request to continue\nretrieving additional traces.",
|
||||
"type": "string"
|
||||
},
|
||||
"traces": {
|
||||
"description": "List of trace records returned.",
|
||||
"items": {
|
||||
"$ref": "Trace"
|
||||
},
|
||||
"type": "array",
|
||||
"description": "List of trace records returned."
|
||||
"type": "array"
|
||||
}
|
||||
},
|
||||
"id": "ListTracesResponse",
|
||||
"description": "The response message for the `ListTraces` method."
|
||||
"description": "The response message for the `ListTraces` method.",
|
||||
"type": "object"
|
||||
},
|
||||
"Trace": {
|
||||
"description": "A trace describes how long it takes for an application to perform an\noperation. It consists of a set of spans, each of which represent a single\ntimed event within the operation.",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"spans": {
|
||||
"description": "Collection of spans in the trace.",
|
||||
|
@ -327,17 +94,15 @@
|
|||
"type": "array"
|
||||
},
|
||||
"projectId": {
|
||||
"type": "string",
|
||||
"description": "Project ID of the Cloud project where the trace data is stored."
|
||||
"description": "Project ID of the Cloud project where the trace data is stored.",
|
||||
"type": "string"
|
||||
},
|
||||
"traceId": {
|
||||
"type": "string",
|
||||
"description": "Globally unique identifier for the trace. This identifier is a 128-bit\nnumeric value formatted as a 32-byte hex string."
|
||||
}
|
||||
},
|
||||
"id": "Trace",
|
||||
"description": "A trace describes how long it takes for an application to perform an\noperation. It consists of a set of spans, each of which represent a single\ntimed event within the operation.",
|
||||
"type": "object"
|
||||
"id": "Trace"
|
||||
},
|
||||
"Traces": {
|
||||
"description": "List of new or updated traces.",
|
||||
|
@ -355,22 +120,22 @@
|
|||
}
|
||||
},
|
||||
"icons": {
|
||||
"x16": "http://www.google.com/images/icons/product/search-16.gif",
|
||||
"x32": "http://www.google.com/images/icons/product/search-32.gif"
|
||||
"x32": "http://www.google.com/images/icons/product/search-32.gif",
|
||||
"x16": "http://www.google.com/images/icons/product/search-16.gif"
|
||||
},
|
||||
"protocol": "rest",
|
||||
"canonicalName": "Cloud Trace",
|
||||
"auth": {
|
||||
"oauth2": {
|
||||
"scopes": {
|
||||
"https://www.googleapis.com/auth/trace.readonly": {
|
||||
"description": "Read Trace data for a project or application"
|
||||
},
|
||||
"https://www.googleapis.com/auth/trace.append": {
|
||||
"description": "Write Trace data for a project or application"
|
||||
},
|
||||
"https://www.googleapis.com/auth/cloud-platform": {
|
||||
"description": "View and manage your data across Google Cloud Platform services"
|
||||
},
|
||||
"https://www.googleapis.com/auth/trace.readonly": {
|
||||
"description": "Read Trace data for a project or application"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -379,5 +144,241 @@
|
|||
"ownerDomain": "google.com",
|
||||
"name": "cloudtrace",
|
||||
"batchPath": "batch",
|
||||
"title": "Stackdriver Trace API"
|
||||
"fullyEncodeReservedExpansion": true,
|
||||
"title": "Stackdriver Trace API",
|
||||
"ownerName": "Google",
|
||||
"resources": {
|
||||
"projects": {
|
||||
"methods": {
|
||||
"patchTraces": {
|
||||
"description": "Sends new traces to Stackdriver Trace or updates existing traces. If the ID\nof a trace that you send matches that of an existing trace, any fields\nin the existing trace and its spans are overwritten by the provided values,\nand any new fields provided are merged with the existing trace data. If the\nID does not match, a new trace is created.",
|
||||
"request": {
|
||||
"$ref": "Traces"
|
||||
},
|
||||
"response": {
|
||||
"$ref": "Empty"
|
||||
},
|
||||
"parameterOrder": [
|
||||
"projectId"
|
||||
],
|
||||
"httpMethod": "PATCH",
|
||||
"parameters": {
|
||||
"projectId": {
|
||||
"location": "path",
|
||||
"description": "ID of the Cloud project where the trace data is stored.",
|
||||
"type": "string",
|
||||
"required": true
|
||||
}
|
||||
},
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/cloud-platform",
|
||||
"https://www.googleapis.com/auth/trace.append"
|
||||
],
|
||||
"flatPath": "v1/projects/{projectId}/traces",
|
||||
"id": "cloudtrace.projects.patchTraces",
|
||||
"path": "v1/projects/{projectId}/traces"
|
||||
}
|
||||
},
|
||||
"resources": {
|
||||
"traces": {
|
||||
"methods": {
|
||||
"get": {
|
||||
"description": "Gets a single trace by its ID.",
|
||||
"httpMethod": "GET",
|
||||
"response": {
|
||||
"$ref": "Trace"
|
||||
},
|
||||
"parameterOrder": [
|
||||
"projectId",
|
||||
"traceId"
|
||||
],
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/cloud-platform",
|
||||
"https://www.googleapis.com/auth/trace.readonly"
|
||||
],
|
||||
"parameters": {
|
||||
"projectId": {
|
||||
"location": "path",
|
||||
"description": "ID of the Cloud project where the trace data is stored.",
|
||||
"type": "string",
|
||||
"required": true
|
||||
},
|
||||
"traceId": {
|
||||
"location": "path",
|
||||
"description": "ID of the trace to return.",
|
||||
"type": "string",
|
||||
"required": true
|
||||
}
|
||||
},
|
||||
"flatPath": "v1/projects/{projectId}/traces/{traceId}",
|
||||
"path": "v1/projects/{projectId}/traces/{traceId}",
|
||||
"id": "cloudtrace.projects.traces.get"
|
||||
},
|
||||
"list": {
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/cloud-platform",
|
||||
"https://www.googleapis.com/auth/trace.readonly"
|
||||
],
|
||||
"parameters": {
|
||||
"orderBy": {
|
||||
"description": "Field used to sort the returned traces. Optional.\nCan be one of the following:\n\n* `trace_id`\n* `name` (`name` field of root span in the trace)\n* `duration` (difference between `end_time` and `start_time` fields of\n the root span)\n* `start` (`start_time` field of the root span)\n\nDescending order can be specified by appending `desc` to the sort field\n(for example, `name desc`).\n\nOnly one sort field is permitted.",
|
||||
"type": "string",
|
||||
"location": "query"
|
||||
},
|
||||
"projectId": {
|
||||
"location": "path",
|
||||
"description": "ID of the Cloud project where the trace data is stored.",
|
||||
"type": "string",
|
||||
"required": true
|
||||
},
|
||||
"filter": {
|
||||
"description": "An optional filter against labels for the request.\n\nBy default, searches use prefix matching. To specify exact match, prepend\na plus symbol (`+`) to the search term.\nMultiple terms are ANDed. Syntax:\n\n* `root:NAME_PREFIX` or `NAME_PREFIX`: Return traces where any root\n span starts with `NAME_PREFIX`.\n* `+root:NAME` or `+NAME`: Return traces where any root span's name is\n exactly `NAME`.\n* `span:NAME_PREFIX`: Return traces where any span starts with\n `NAME_PREFIX`.\n* `+span:NAME`: Return traces where any span's name is exactly\n `NAME`.\n* `latency:DURATION`: Return traces whose overall latency is\n greater or equal to than `DURATION`. Accepted units are nanoseconds\n (`ns`), milliseconds (`ms`), and seconds (`s`). Default is `ms`. For\n example, `latency:24ms` returns traces whose overall latency\n is greater than or equal to 24 milliseconds.\n* `label:LABEL_KEY`: Return all traces containing the specified\n label key (exact match, case-sensitive) regardless of the key:value\n pair's value (including empty values).\n* `LABEL_KEY:VALUE_PREFIX`: Return all traces containing the specified\n label key (exact match, case-sensitive) whose value starts with\n `VALUE_PREFIX`. Both a key and a value must be specified.\n* `+LABEL_KEY:VALUE`: Return all traces containing a key:value pair\n exactly matching the specified text. Both a key and a value must be\n specified.\n* `method:VALUE`: Equivalent to `/http/method:VALUE`.\n* `url:VALUE`: Equivalent to `/http/url:VALUE`.",
|
||||
"type": "string",
|
||||
"location": "query"
|
||||
},
|
||||
"endTime": {
|
||||
"location": "query",
|
||||
"format": "google-datetime",
|
||||
"description": "End of the time interval (inclusive) during which the trace data was\ncollected from the application.",
|
||||
"type": "string"
|
||||
},
|
||||
"pageToken": {
|
||||
"description": "Token identifying the page of results to return. If provided, use the\nvalue of the `next_page_token` field from a previous request. Optional.",
|
||||
"type": "string",
|
||||
"location": "query"
|
||||
},
|
||||
"startTime": {
|
||||
"location": "query",
|
||||
"format": "google-datetime",
|
||||
"description": "Start of the time interval (inclusive) during which the trace data was\ncollected from the application.",
|
||||
"type": "string"
|
||||
},
|
||||
"pageSize": {
|
||||
"location": "query",
|
||||
"format": "int32",
|
||||
"description": "Maximum number of traces to return. If not specified or \u003c= 0, the\nimplementation selects a reasonable value. The implementation may\nreturn fewer traces than the requested page size. Optional.",
|
||||
"type": "integer"
|
||||
},
|
||||
"view": {
|
||||
"location": "query",
|
||||
"enum": [
|
||||
"VIEW_TYPE_UNSPECIFIED",
|
||||
"MINIMAL",
|
||||
"ROOTSPAN",
|
||||
"COMPLETE"
|
||||
],
|
||||
"description": "Type of data returned for traces in the list. Optional. Default is\n`MINIMAL`.",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"flatPath": "v1/projects/{projectId}/traces",
|
||||
"path": "v1/projects/{projectId}/traces",
|
||||
"id": "cloudtrace.projects.traces.list",
|
||||
"description": "Returns of a list of traces that match the specified filter conditions.",
|
||||
"httpMethod": "GET",
|
||||
"response": {
|
||||
"$ref": "ListTracesResponse"
|
||||
},
|
||||
"parameterOrder": [
|
||||
"projectId"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"parameters": {
|
||||
"access_token": {
|
||||
"location": "query",
|
||||
"description": "OAuth access token.",
|
||||
"type": "string"
|
||||
},
|
||||
"key": {
|
||||
"location": "query",
|
||||
"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.",
|
||||
"type": "string"
|
||||
},
|
||||
"quotaUser": {
|
||||
"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.",
|
||||
"type": "string",
|
||||
"location": "query"
|
||||
},
|
||||
"pp": {
|
||||
"location": "query",
|
||||
"description": "Pretty-print response.",
|
||||
"default": "true",
|
||||
"type": "boolean"
|
||||
},
|
||||
"bearer_token": {
|
||||
"location": "query",
|
||||
"description": "OAuth bearer token.",
|
||||
"type": "string"
|
||||
},
|
||||
"oauth_token": {
|
||||
"location": "query",
|
||||
"description": "OAuth 2.0 token for the current user.",
|
||||
"type": "string"
|
||||
},
|
||||
"upload_protocol": {
|
||||
"location": "query",
|
||||
"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").",
|
||||
"type": "string"
|
||||
},
|
||||
"prettyPrint": {
|
||||
"default": "true",
|
||||
"type": "boolean",
|
||||
"location": "query",
|
||||
"description": "Returns response with indentations and line breaks."
|
||||
},
|
||||
"uploadType": {
|
||||
"location": "query",
|
||||
"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").",
|
||||
"type": "string"
|
||||
},
|
||||
"fields": {
|
||||
"location": "query",
|
||||
"description": "Selector specifying which fields to include in a partial response.",
|
||||
"type": "string"
|
||||
},
|
||||
"$.xgafv": {
|
||||
"enumDescriptions": [
|
||||
"v1 error format",
|
||||
"v2 error format"
|
||||
],
|
||||
"location": "query",
|
||||
"enum": [
|
||||
"1",
|
||||
"2"
|
||||
],
|
||||
"description": "V1 error format.",
|
||||
"type": "string"
|
||||
},
|
||||
"callback": {
|
||||
"description": "JSONP",
|
||||
"type": "string",
|
||||
"location": "query"
|
||||
},
|
||||
"alt": {
|
||||
"enum": [
|
||||
"json",
|
||||
"media",
|
||||
"proto"
|
||||
],
|
||||
"type": "string",
|
||||
"enumDescriptions": [
|
||||
"Responses with Content-Type of application/json",
|
||||
"Media download with context-dependent Content-Type",
|
||||
"Responses with Content-Type of application/x-protobuf"
|
||||
],
|
||||
"location": "query",
|
||||
"description": "Data format for response.",
|
||||
"default": "json"
|
||||
}
|
||||
},
|
||||
"version": "v1",
|
||||
"baseUrl": "https://cloudtrace.googleapis.com/",
|
||||
"servicePath": "",
|
||||
"description": "Send and retrieve trace data from Stackdriver Trace. Data is generated and available by default for all App Engine applications. Data from other applications can be written to Stackdriver Trace for display, reporting, and analysis.\n",
|
||||
"kind": "discovery#restDescription"
|
||||
}
|
||||
|
|
631
vendor/google.golang.org/api/cloudtrace/v2/cloudtrace-api.json
generated
vendored
631
vendor/google.golang.org/api/cloudtrace/v2/cloudtrace-api.json
generated
vendored
|
@ -1,14 +1,189 @@
|
|||
{
|
||||
"servicePath": "",
|
||||
"description": "Send and retrieve trace data from Stackdriver Trace. Data is generated and available by default for all App Engine applications. Data from other applications can be written to Stackdriver Trace for display, reporting, and analysis.\n",
|
||||
"kind": "discovery#restDescription",
|
||||
"basePath": "",
|
||||
"id": "cloudtrace:v2",
|
||||
"documentationLink": "https://cloud.google.com/trace",
|
||||
"revision": "20170913",
|
||||
"revision": "20170927",
|
||||
"discoveryVersion": "v1",
|
||||
"version_module": true,
|
||||
"schemas": {
|
||||
"Empty": {
|
||||
"description": "A generic empty message that you can re-use to avoid defining duplicated\nempty messages in your APIs. A typical example is to use it as the request\nor the response type of an API method. For instance:\n\n service Foo {\n rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);\n }\n\nThe JSON representation for `Empty` is empty JSON object `{}`.",
|
||||
"type": "object",
|
||||
"properties": {},
|
||||
"id": "Empty"
|
||||
},
|
||||
"Span": {
|
||||
"description": "A span represents a single operation within a trace. Spans can be\nnested to form a trace tree. Often, a trace contains a root span\nthat describes the end-to-end latency, and one or more subspans for\nits sub-operations. A trace can also contain multiple root spans,\nor none at all. Spans do not need to be contiguous—there may be\ngaps or overlaps between spans in a trace.",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"parentSpanId": {
|
||||
"description": "The [SPAN_ID] of this span's parent span. If this is a root span,\nthen this field must be empty.",
|
||||
"type": "string"
|
||||
},
|
||||
"endTime": {
|
||||
"format": "google-datetime",
|
||||
"description": "The end time of the span. On the client side, this is the time kept by\nthe local machine where the span execution ends. On the server side, this\nis the time when the server application handler stops running.",
|
||||
"type": "string"
|
||||
},
|
||||
"startTime": {
|
||||
"format": "google-datetime",
|
||||
"description": "The start time of the span. On the client side, this is the time kept by\nthe local machine where the span execution starts. On the server side, this\nis the time when the server's application handler starts running.",
|
||||
"type": "string"
|
||||
},
|
||||
"displayName": {
|
||||
"description": "A description of the span's operation (up to 128 bytes).\nStackdriver Trace displays the description in the\n{% dynamic print site_values.console_name %}.\nFor example, the display name can be a qualified method name or a file name\nand a line number where the operation is called. A best practice is to use\nthe same display name within an application and at the same call point.\nThis makes it easier to correlate spans in different traces.",
|
||||
"$ref": "TruncatableString"
|
||||
},
|
||||
"timeEvents": {
|
||||
"$ref": "TimeEvents",
|
||||
"description": "The included time events. There can be up to 32 annotations and 128 network\nevents per span."
|
||||
},
|
||||
"links": {
|
||||
"$ref": "Links",
|
||||
"description": "A maximum of 128 links are allowed per Span."
|
||||
},
|
||||
"attributes": {
|
||||
"description": "A set of attributes on the span. There is a limit of 32 attributes per\nspan.",
|
||||
"$ref": "Attributes"
|
||||
},
|
||||
"spanId": {
|
||||
"description": "The [SPAN_ID] portion of the span's resource name.",
|
||||
"type": "string"
|
||||
},
|
||||
"childSpanCount": {
|
||||
"format": "uint32",
|
||||
"description": "An optional number of child spans that were generated while this span\nwas active. If set, allows implementation to detect missing child spans.",
|
||||
"type": "integer"
|
||||
},
|
||||
"sameProcessAsParentSpan": {
|
||||
"description": "A highly recommended but not required flag that identifies when a trace\ncrosses a process boundary. True when the parent_span belongs to the\nsame process as the current span.",
|
||||
"type": "boolean"
|
||||
},
|
||||
"status": {
|
||||
"$ref": "Status",
|
||||
"description": "An optional final status for this span."
|
||||
},
|
||||
"name": {
|
||||
"description": "The resource name of the span in the following format:\n\n projects/[PROJECT_ID]/traces/[TRACE_ID]/spans/SPAN_ID is a unique identifier for a trace within a project.\n[SPAN_ID] is a unique identifier for a span within a trace,\nassigned when the span is created.",
|
||||
"type": "string"
|
||||
},
|
||||
"stackTrace": {
|
||||
"$ref": "StackTrace",
|
||||
"description": "Stack trace captured at the start of the span."
|
||||
}
|
||||
},
|
||||
"id": "Span"
|
||||
},
|
||||
"AttributeValue": {
|
||||
"description": "The allowed types for [VALUE] in a `[KEY]:[VALUE]` attribute.",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"boolValue": {
|
||||
"description": "A Boolean value represented by `true` or `false`.",
|
||||
"type": "boolean"
|
||||
},
|
||||
"stringValue": {
|
||||
"$ref": "TruncatableString",
|
||||
"description": "A string up to 256 bytes long."
|
||||
},
|
||||
"intValue": {
|
||||
"format": "int64",
|
||||
"description": "A 64-bit signed integer.",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"id": "AttributeValue"
|
||||
},
|
||||
"Attributes": {
|
||||
"description": "A set of attributes, each in the format `[KEY]:[VALUE]`.",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"droppedAttributesCount": {
|
||||
"format": "int32",
|
||||
"description": "The number of attributes that were discarded. Attributes can be discarded\nbecause their keys are too long or because there are too many attributes.\nIf this value is 0 then all attributes are valid.",
|
||||
"type": "integer"
|
||||
},
|
||||
"attributeMap": {
|
||||
"additionalProperties": {
|
||||
"$ref": "AttributeValue"
|
||||
},
|
||||
"description": "The set of attributes. Each attribute's key can be up to 128 bytes\nlong. The value can be a string up to 256 bytes, an integer, or the\nBoolean values `true` and `false`. For example:\n\n \"/instance_id\": \"my-instance\"\n \"/http/user_agent\": \"\"\n \"/http/request_bytes\": 300\n \"abc.com/myattribute\": true",
|
||||
"type": "object"
|
||||
}
|
||||
},
|
||||
"id": "Attributes"
|
||||
},
|
||||
"Links": {
|
||||
"description": "A collection of links, which are references from this span to a span\nin the same or different trace.",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"droppedLinksCount": {
|
||||
"format": "int32",
|
||||
"description": "The number of dropped links after the maximum size was enforced. If\nthis value is 0, then no links were dropped.",
|
||||
"type": "integer"
|
||||
},
|
||||
"link": {
|
||||
"description": "A collection of links.",
|
||||
"items": {
|
||||
"$ref": "Link"
|
||||
},
|
||||
"type": "array"
|
||||
}
|
||||
},
|
||||
"id": "Links"
|
||||
},
|
||||
"StackTrace": {
|
||||
"description": "A call stack appearing in a trace.",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"stackTraceHashId": {
|
||||
"format": "uint64",
|
||||
"description": "The hash ID is used to conserve network bandwidth for duplicate\nstack traces within a single trace.\n\nOften multiple spans will have identical stack traces.\nThe first occurrence of a stack trace should contain both the\n`stackFrame` content and a value in `stackTraceHashId`.\n\nSubsequent spans within the same request can refer\nto that stack trace by only setting `stackTraceHashId`.",
|
||||
"type": "string"
|
||||
},
|
||||
"stackFrames": {
|
||||
"description": "Stack frames in this stack trace. A maximum of 128 frames are allowed.",
|
||||
"$ref": "StackFrames"
|
||||
}
|
||||
},
|
||||
"id": "StackTrace"
|
||||
},
|
||||
"TruncatableString": {
|
||||
"description": "Represents a string that might be shortened to a specified length.",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"truncatedByteCount": {
|
||||
"format": "int32",
|
||||
"description": "The number of bytes removed from the original string. If this\nvalue is 0, then the string was not shortened.",
|
||||
"type": "integer"
|
||||
},
|
||||
"value": {
|
||||
"description": "The shortened string. For example, if the original string was 500\nbytes long and the limit of the string was 128 bytes, then this\nvalue contains the first 128 bytes of the 500-byte string. Note that\ntruncation always happens on the character boundary, to ensure that\ntruncated string is still valid UTF8. In case of multi-byte characters,\nsize of truncated string can be less than truncation limit.",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"id": "TruncatableString"
|
||||
},
|
||||
"TimeEvent": {
|
||||
"description": "A time-stamped annotation or network event in the Span.",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"annotation": {
|
||||
"$ref": "Annotation",
|
||||
"description": "Text annotation with a set of attributes."
|
||||
},
|
||||
"time": {
|
||||
"format": "google-datetime",
|
||||
"description": "The timestamp indicating the time the event occurred.",
|
||||
"type": "string"
|
||||
},
|
||||
"networkEvent": {
|
||||
"$ref": "NetworkEvent",
|
||||
"description": "An event describing an RPC message sent/received on the network."
|
||||
}
|
||||
},
|
||||
"id": "TimeEvent"
|
||||
},
|
||||
"NetworkEvent": {
|
||||
"description": "An event describing an RPC message sent or received on the network.",
|
||||
"type": "object",
|
||||
|
@ -24,18 +199,18 @@
|
|||
"type": "string"
|
||||
},
|
||||
"type": {
|
||||
"enumDescriptions": [
|
||||
"Unknown event type.",
|
||||
"Indicates a sent RPC message.",
|
||||
"Indicates a received RPC message."
|
||||
],
|
||||
"enum": [
|
||||
"TYPE_UNSPECIFIED",
|
||||
"SENT",
|
||||
"RECV"
|
||||
],
|
||||
"description": "Type of NetworkEvent. Indicates whether the RPC message was sent or\nreceived.",
|
||||
"type": "string",
|
||||
"enumDescriptions": [
|
||||
"Unknown event type.",
|
||||
"Indicates a sent RPC message.",
|
||||
"Indicates a received RPC message."
|
||||
]
|
||||
"type": "string"
|
||||
},
|
||||
"messageId": {
|
||||
"format": "uint64",
|
||||
|
@ -43,20 +218,17 @@
|
|||
"type": "string"
|
||||
},
|
||||
"compressedMessageSize": {
|
||||
"type": "string",
|
||||
"format": "uint64",
|
||||
"description": "The number of compressed bytes sent or received."
|
||||
"description": "The number of compressed bytes sent or received.",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"id": "NetworkEvent"
|
||||
},
|
||||
"StackFrame": {
|
||||
"description": "Represents a single stack frame in a stack trace.",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"functionName": {
|
||||
"$ref": "TruncatableString",
|
||||
"description": "The fully-qualified name that uniquely identifies the function or\nmethod that is active in this frame (up to 1024 bytes)."
|
||||
},
|
||||
"lineNumber": {
|
||||
"format": "int64",
|
||||
"description": "The line number in `file_name` where the function call appears.",
|
||||
|
@ -67,13 +239,13 @@
|
|||
"description": "The binary module from where the code was loaded."
|
||||
},
|
||||
"columnNumber": {
|
||||
"type": "string",
|
||||
"format": "int64",
|
||||
"description": "The column number where the function call appears, if available.\nThis is important in JavaScript because of its anonymous functions."
|
||||
"description": "The column number where the function call appears, if available.\nThis is important in JavaScript because of its anonymous functions.",
|
||||
"type": "string"
|
||||
},
|
||||
"fileName": {
|
||||
"$ref": "TruncatableString",
|
||||
"description": "The name of the source file where the function call appears (up to 256\nbytes)."
|
||||
"description": "The name of the source file where the function call appears (up to 256\nbytes).",
|
||||
"$ref": "TruncatableString"
|
||||
},
|
||||
"sourceVersion": {
|
||||
"$ref": "TruncatableString",
|
||||
|
@ -82,17 +254,19 @@
|
|||
"originalFunctionName": {
|
||||
"$ref": "TruncatableString",
|
||||
"description": "An un-mangled function name, if `function_name` is\n[mangled](http://www.avabodh.com/cxxin/namemangling.html). The name can\nbe fully-qualified (up to 1024 bytes)."
|
||||
},
|
||||
"functionName": {
|
||||
"$ref": "TruncatableString",
|
||||
"description": "The fully-qualified name that uniquely identifies the function or\nmethod that is active in this frame (up to 1024 bytes)."
|
||||
}
|
||||
},
|
||||
"id": "StackFrame",
|
||||
"description": "Represents a single stack frame in a stack trace."
|
||||
"id": "StackFrame"
|
||||
},
|
||||
"Link": {
|
||||
"description": "A pointer from the current span to another span in the same trace or in a\ndifferent trace. For example, this can be used in batching operations,\nwhere a single batch handler processes multiple requests from different\ntraces or when the handler receives a request from a different project.",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"type": {
|
||||
"type": "string",
|
||||
"enumDescriptions": [
|
||||
"The relationship of the two spans is unknown.",
|
||||
"The linked span is a child of the current span.",
|
||||
|
@ -103,19 +277,20 @@
|
|||
"CHILD_LINKED_SPAN",
|
||||
"PARENT_LINKED_SPAN"
|
||||
],
|
||||
"description": "The relationship of the current span relative to the linked span."
|
||||
"description": "The relationship of the current span relative to the linked span.",
|
||||
"type": "string"
|
||||
},
|
||||
"attributes": {
|
||||
"$ref": "Attributes",
|
||||
"description": "A set of attributes on the link. There is a limit of 32 attributes per\nlink."
|
||||
"description": "A set of attributes on the link. There is a limit of 32 attributes per\nlink.",
|
||||
"$ref": "Attributes"
|
||||
},
|
||||
"traceId": {
|
||||
"type": "string",
|
||||
"description": "`TRACE_ID` identifies a trace within a project."
|
||||
"description": "`TRACE_ID` identifies a trace within a project.",
|
||||
"type": "string"
|
||||
},
|
||||
"spanId": {
|
||||
"type": "string",
|
||||
"description": "`SPAN_ID` identifies a span within a trace."
|
||||
"description": "`SPAN_ID` identifies a span within a trace.",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"id": "Link"
|
||||
|
@ -124,13 +299,13 @@
|
|||
"description": "Text annotation with a set of attributes.",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"attributes": {
|
||||
"$ref": "Attributes",
|
||||
"description": "A set of attributes on the annotation. There is a limit of 4 attributes\nper Annotation."
|
||||
},
|
||||
"description": {
|
||||
"$ref": "TruncatableString",
|
||||
"description": "A user-supplied message describing the event. The maximum length for\nthe description is 256 bytes."
|
||||
"description": "A user-supplied message describing the event. The maximum length for\nthe description is 256 bytes.",
|
||||
"$ref": "TruncatableString"
|
||||
},
|
||||
"attributes": {
|
||||
"description": "A set of attributes on the annotation. There is a limit of 4 attributes\nper Annotation.",
|
||||
"$ref": "Attributes"
|
||||
}
|
||||
},
|
||||
"id": "Annotation"
|
||||
|
@ -139,17 +314,17 @@
|
|||
"description": "A collection of stack frames, which can be truncated.",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"droppedFramesCount": {
|
||||
"format": "int32",
|
||||
"description": "The number of stack frames that were dropped because there\nwere too many stack frames.\nIf this value is 0, then no stack frames were dropped.",
|
||||
"type": "integer"
|
||||
},
|
||||
"frame": {
|
||||
"description": "Stack frames in this call stack.",
|
||||
"items": {
|
||||
"$ref": "StackFrame"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"droppedFramesCount": {
|
||||
"format": "int32",
|
||||
"description": "The number of stack frames that were dropped because there\nwere too many stack frames.\nIf this value is 0, then no stack frames were dropped.",
|
||||
"type": "integer"
|
||||
}
|
||||
},
|
||||
"id": "StackFrames"
|
||||
|
@ -159,21 +334,21 @@
|
|||
"type": "object",
|
||||
"properties": {
|
||||
"droppedNetworkEventsCount": {
|
||||
"type": "integer",
|
||||
"format": "int32",
|
||||
"description": "The number of dropped network events in all the included time events.\nIf the value is 0, then no network events were dropped."
|
||||
"description": "The number of dropped network events in all the included time events.\nIf the value is 0, then no network events were dropped.",
|
||||
"type": "integer"
|
||||
},
|
||||
"droppedAnnotationsCount": {
|
||||
"type": "integer",
|
||||
"format": "int32",
|
||||
"description": "The number of dropped annotations in all the included time events.\nIf the value is 0, then no annotations were dropped."
|
||||
"description": "The number of dropped annotations in all the included time events.\nIf the value is 0, then no annotations were dropped.",
|
||||
"type": "integer"
|
||||
},
|
||||
"timeEvent": {
|
||||
"description": "A collection of `TimeEvent`s.",
|
||||
"items": {
|
||||
"$ref": "TimeEvent"
|
||||
},
|
||||
"type": "array",
|
||||
"description": "A collection of `TimeEvent`s."
|
||||
"type": "array"
|
||||
}
|
||||
},
|
||||
"id": "TimeEvents"
|
||||
|
@ -187,236 +362,58 @@
|
|||
"description": "For example: main binary, kernel modules, and dynamic libraries\nsuch as libc.so, sharedlib.so (up to 256 bytes)."
|
||||
},
|
||||
"buildId": {
|
||||
"$ref": "TruncatableString",
|
||||
"description": "A unique identifier for the module, usually a hash of its\ncontents (up to 128 bytes)."
|
||||
"description": "A unique identifier for the module, usually a hash of its\ncontents (up to 128 bytes).",
|
||||
"$ref": "TruncatableString"
|
||||
}
|
||||
},
|
||||
"id": "Module"
|
||||
},
|
||||
"Status": {
|
||||
"description": "The `Status` type defines a logical error model that is suitable for different\nprogramming environments, including REST APIs and RPC APIs. It is used by\n[gRPC](https://github.com/grpc). The error model is designed to be:\n\n- Simple to use and understand for most users\n- Flexible enough to meet unexpected needs\n\n# Overview\n\nThe `Status` message contains three pieces of data: error code, error message,\nand error details. The error code should be an enum value of\ngoogle.rpc.Code, but it may accept additional error codes if needed. The\nerror message should be a developer-facing English message that helps\ndevelopers *understand* and *resolve* the error. If a localized user-facing\nerror message is needed, put the localized message in the error details or\nlocalize it in the client. The optional error details may contain arbitrary\ninformation about the error. There is a predefined set of error detail types\nin the package `google.rpc` that can be used for common error conditions.\n\n# Language mapping\n\nThe `Status` message is the logical representation of the error model, but it\nis not necessarily the actual wire format. When the `Status` message is\nexposed in different client libraries and different wire protocols, it can be\nmapped differently. For example, it will likely be mapped to some exceptions\nin Java, but more likely mapped to some error codes in C.\n\n# Other uses\n\nThe error model and the `Status` message can be used in a variety of\nenvironments, either with or without APIs, to provide a\nconsistent developer experience across different environments.\n\nExample uses of this error model include:\n\n- Partial errors. If a service needs to return partial errors to the client,\n it may embed the `Status` in the normal response to indicate the partial\n errors.\n\n- Workflow errors. A typical workflow has multiple steps. Each step may\n have a `Status` message for error reporting.\n\n- Batch operations. If a client uses batch request and batch response, the\n `Status` message should be used directly inside batch response, one for\n each error sub-response.\n\n- Asynchronous operations. If an API call embeds asynchronous operation\n results in its response, the status of those operations should be\n represented directly using the `Status` message.\n\n- Logging. If some API errors are stored in logs, the message `Status` could\n be used directly after any stripping needed for security/privacy reasons.",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"details": {
|
||||
"description": "A list of messages that carry the error details. There is a common set of\nmessage types for APIs to use.",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"additionalProperties": {
|
||||
"type": "any",
|
||||
"description": "Properties of the object. Contains field @type with type URL."
|
||||
}
|
||||
"description": "Properties of the object. Contains field @type with type URL.",
|
||||
"type": "any"
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"code": {
|
||||
"type": "integer",
|
||||
"format": "int32",
|
||||
"description": "The status code, which should be an enum value of google.rpc.Code."
|
||||
"description": "The status code, which should be an enum value of google.rpc.Code.",
|
||||
"type": "integer"
|
||||
},
|
||||
"message": {
|
||||
"type": "string",
|
||||
"description": "A developer-facing error message, which should be in English. Any\nuser-facing error message should be localized and sent in the\ngoogle.rpc.Status.details field, or localized by the client."
|
||||
"description": "A developer-facing error message, which should be in English. Any\nuser-facing error message should be localized and sent in the\ngoogle.rpc.Status.details field, or localized by the client.",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"id": "Status",
|
||||
"description": "The `Status` type defines a logical error model that is suitable for different\nprogramming environments, including REST APIs and RPC APIs. It is used by\n[gRPC](https://github.com/grpc). The error model is designed to be:\n\n- Simple to use and understand for most users\n- Flexible enough to meet unexpected needs\n\n# Overview\n\nThe `Status` message contains three pieces of data: error code, error message,\nand error details. The error code should be an enum value of\ngoogle.rpc.Code, but it may accept additional error codes if needed. The\nerror message should be a developer-facing English message that helps\ndevelopers *understand* and *resolve* the error. If a localized user-facing\nerror message is needed, put the localized message in the error details or\nlocalize it in the client. The optional error details may contain arbitrary\ninformation about the error. There is a predefined set of error detail types\nin the package `google.rpc` that can be used for common error conditions.\n\n# Language mapping\n\nThe `Status` message is the logical representation of the error model, but it\nis not necessarily the actual wire format. When the `Status` message is\nexposed in different client libraries and different wire protocols, it can be\nmapped differently. For example, it will likely be mapped to some exceptions\nin Java, but more likely mapped to some error codes in C.\n\n# Other uses\n\nThe error model and the `Status` message can be used in a variety of\nenvironments, either with or without APIs, to provide a\nconsistent developer experience across different environments.\n\nExample uses of this error model include:\n\n- Partial errors. If a service needs to return partial errors to the client,\n it may embed the `Status` in the normal response to indicate the partial\n errors.\n\n- Workflow errors. A typical workflow has multiple steps. Each step may\n have a `Status` message for error reporting.\n\n- Batch operations. If a client uses batch request and batch response, the\n `Status` message should be used directly inside batch response, one for\n each error sub-response.\n\n- Asynchronous operations. If an API call embeds asynchronous operation\n results in its response, the status of those operations should be\n represented directly using the `Status` message.\n\n- Logging. If some API errors are stored in logs, the message `Status` could\n be used directly after any stripping needed for security/privacy reasons."
|
||||
"id": "Status"
|
||||
},
|
||||
"BatchWriteSpansRequest": {
|
||||
"description": "The request message for the `BatchWriteSpans` method.",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"spans": {
|
||||
"description": "A collection of spans.",
|
||||
"items": {
|
||||
"$ref": "Span"
|
||||
},
|
||||
"type": "array",
|
||||
"description": "A collection of spans."
|
||||
}
|
||||
},
|
||||
"id": "BatchWriteSpansRequest"
|
||||
},
|
||||
"Empty": {
|
||||
"type": "object",
|
||||
"properties": {},
|
||||
"id": "Empty",
|
||||
"description": "A generic empty message that you can re-use to avoid defining duplicated\nempty messages in your APIs. A typical example is to use it as the request\nor the response type of an API method. For instance:\n\n service Foo {\n rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);\n }\n\nThe JSON representation for `Empty` is empty JSON object `{}`."
|
||||
},
|
||||
"Span": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"parentSpanId": {
|
||||
"description": "The [SPAN_ID] of this span's parent span. If this is a root span,\nthen this field must be empty.",
|
||||
"type": "string"
|
||||
},
|
||||
"endTime": {
|
||||
"format": "google-datetime",
|
||||
"description": "The end time of the span. On the client side, this is the time kept by\nthe local machine where the span execution ends. On the server side, this\nis the time when the server application handler stops running.",
|
||||
"type": "string"
|
||||
},
|
||||
"startTime": {
|
||||
"type": "string",
|
||||
"format": "google-datetime",
|
||||
"description": "The start time of the span. On the client side, this is the time kept by\nthe local machine where the span execution starts. On the server side, this\nis the time when the server's application handler starts running."
|
||||
},
|
||||
"displayName": {
|
||||
"$ref": "TruncatableString",
|
||||
"description": "A description of the span's operation (up to 128 bytes).\nStackdriver Trace displays the description in the\n{% dynamic print site_values.console_name %}.\nFor example, the display name can be a qualified method name or a file name\nand a line number where the operation is called. A best practice is to use\nthe same display name within an application and at the same call point.\nThis makes it easier to correlate spans in different traces."
|
||||
},
|
||||
"timeEvents": {
|
||||
"$ref": "TimeEvents",
|
||||
"description": "The included time events. There can be up to 32 annotations and 128 network\nevents per span."
|
||||
},
|
||||
"links": {
|
||||
"$ref": "Links",
|
||||
"description": "A maximum of 128 links are allowed per Span."
|
||||
},
|
||||
"attributes": {
|
||||
"$ref": "Attributes",
|
||||
"description": "A set of attributes on the span. There is a limit of 32 attributes per\nspan."
|
||||
},
|
||||
"spanId": {
|
||||
"description": "The [SPAN_ID] portion of the span's resource name.",
|
||||
"type": "string"
|
||||
},
|
||||
"childSpanCount": {
|
||||
"type": "integer",
|
||||
"format": "uint32",
|
||||
"description": "An optional number of child spans that were generated while this span\nwas active. If set, allows implementation to detect missing child spans."
|
||||
},
|
||||
"sameProcessAsParentSpan": {
|
||||
"description": "A highly recommended but not required flag that identifies when a trace\ncrosses a process boundary. True when the parent_span belongs to the\nsame process as the current span.",
|
||||
"type": "boolean"
|
||||
},
|
||||
"status": {
|
||||
"$ref": "Status",
|
||||
"description": "An optional final status for this span."
|
||||
},
|
||||
"name": {
|
||||
"type": "string",
|
||||
"description": "The resource name of the span in the following format:\n\n projects/[PROJECT_ID]traces/[TRACE_ID]/spans/SPAN_ID is a unique identifier for a trace within a project.\n[SPAN_ID] is a unique identifier for a span within a trace,\nassigned when the span is created."
|
||||
},
|
||||
"stackTrace": {
|
||||
"$ref": "StackTrace",
|
||||
"description": "Stack trace captured at the start of the span."
|
||||
}
|
||||
},
|
||||
"id": "Span",
|
||||
"description": "A span represents a single operation within a trace. Spans can be\nnested to form a trace tree. Often, a trace contains a root span\nthat describes the end-to-end latency, and one or more subspans for\nits sub-operations. A trace can also contain multiple root spans,\nor none at all. Spans do not need to be contiguous—there may be\ngaps or overlaps between spans in a trace."
|
||||
},
|
||||
"AttributeValue": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"intValue": {
|
||||
"format": "int64",
|
||||
"description": "A 64-bit signed integer.",
|
||||
"type": "string"
|
||||
},
|
||||
"boolValue": {
|
||||
"description": "A Boolean value represented by `true` or `false`.",
|
||||
"type": "boolean"
|
||||
},
|
||||
"stringValue": {
|
||||
"$ref": "TruncatableString",
|
||||
"description": "A string up to 256 bytes long."
|
||||
}
|
||||
},
|
||||
"id": "AttributeValue",
|
||||
"description": "The allowed types for [VALUE] in a `[KEY]:[VALUE]` attribute."
|
||||
},
|
||||
"Attributes": {
|
||||
"description": "A set of attributes, each in the format `[KEY]:[VALUE]`.",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"droppedAttributesCount": {
|
||||
"type": "integer",
|
||||
"format": "int32",
|
||||
"description": "The number of attributes that were discarded. Attributes can be discarded\nbecause their keys are too long or because there are too many attributes.\nIf this value is 0 then all attributes are valid."
|
||||
},
|
||||
"attributeMap": {
|
||||
"type": "object",
|
||||
"additionalProperties": {
|
||||
"$ref": "AttributeValue"
|
||||
},
|
||||
"description": "The set of attributes. Each attribute's key can be up to 128 bytes\nlong. The value can be a string up to 256 bytes, an integer, or the\nBoolean values `true` and `false`. For example:\n\n \"/instance_id\": \"my-instance\"\n \"/http/user_agent\": \"\"\n \"/http/request_bytes\": 300\n \"abc.com/myattribute\": true"
|
||||
}
|
||||
},
|
||||
"id": "Attributes"
|
||||
},
|
||||
"Links": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"droppedLinksCount": {
|
||||
"type": "integer",
|
||||
"format": "int32",
|
||||
"description": "The number of dropped links after the maximum size was enforced. If\nthis value is 0, then no links were dropped."
|
||||
},
|
||||
"link": {
|
||||
"description": "A collection of links.",
|
||||
"items": {
|
||||
"$ref": "Link"
|
||||
},
|
||||
"type": "array"
|
||||
}
|
||||
},
|
||||
"id": "Links",
|
||||
"description": "A collection of links, which are references from this span to a span\nin the same or different trace."
|
||||
},
|
||||
"TruncatableString": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"truncatedByteCount": {
|
||||
"type": "integer",
|
||||
"format": "int32",
|
||||
"description": "The number of bytes removed from the original string. If this\nvalue is 0, then the string was not shortened."
|
||||
},
|
||||
"value": {
|
||||
"type": "string",
|
||||
"description": "The shortened string. For example, if the original string was 500\nbytes long and the limit of the string was 128 bytes, then this\nvalue contains the first 128 bytes of the 500-byte string. Note that\ntruncation always happens on the character boundary, to ensure that\ntruncated string is still valid UTF8. In case of multi-byte characters,\nsize of truncated string can be less than truncation limit."
|
||||
}
|
||||
},
|
||||
"id": "TruncatableString",
|
||||
"description": "Represents a string that might be shortened to a specified length."
|
||||
},
|
||||
"StackTrace": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"stackFrames": {
|
||||
"$ref": "StackFrames",
|
||||
"description": "Stack frames in this stack trace. A maximum of 128 frames are allowed."
|
||||
},
|
||||
"stackTraceHashId": {
|
||||
"format": "uint64",
|
||||
"description": "The hash ID is used to conserve network bandwidth for duplicate\nstack traces within a single trace.\n\nOften multiple spans will have identical stack traces.\nThe first occurrence of a stack trace should contain both the\n`stackFrame` content and a value in `stackTraceHashId`.\n\nSubsequent spans within the same request can refer\nto that stack trace by only setting `stackTraceHashId`.",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"id": "StackTrace",
|
||||
"description": "A call stack appearing in a trace."
|
||||
},
|
||||
"TimeEvent": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"annotation": {
|
||||
"$ref": "Annotation",
|
||||
"description": "One or more key:value pairs."
|
||||
},
|
||||
"time": {
|
||||
"type": "string",
|
||||
"format": "google-datetime",
|
||||
"description": "The timestamp indicating the time the event occurred."
|
||||
},
|
||||
"networkEvent": {
|
||||
"$ref": "NetworkEvent",
|
||||
"description": "An event describing an RPC message sent/received on the network."
|
||||
}
|
||||
},
|
||||
"id": "TimeEvent",
|
||||
"description": "A time-stamped annotation or network event in the Span."
|
||||
"id": "BatchWriteSpansRequest"
|
||||
}
|
||||
},
|
||||
"protocol": "rest",
|
||||
"icons": {
|
||||
"x16": "http://www.google.com/images/icons/product/search-16.gif",
|
||||
"x32": "http://www.google.com/images/icons/product/search-32.gif"
|
||||
"x32": "http://www.google.com/images/icons/product/search-32.gif",
|
||||
"x16": "http://www.google.com/images/icons/product/search-16.gif"
|
||||
},
|
||||
"canonicalName": "Cloud Trace",
|
||||
"auth": {
|
||||
|
@ -435,6 +432,7 @@
|
|||
"ownerDomain": "google.com",
|
||||
"name": "cloudtrace",
|
||||
"batchPath": "batch",
|
||||
"fullyEncodeReservedExpansion": true,
|
||||
"title": "Stackdriver Trace API",
|
||||
"ownerName": "Google",
|
||||
"resources": {
|
||||
|
@ -443,17 +441,17 @@
|
|||
"traces": {
|
||||
"methods": {
|
||||
"batchWrite": {
|
||||
"httpMethod": "POST",
|
||||
"parameterOrder": [
|
||||
"name"
|
||||
],
|
||||
"description": "Sends new spans to Stackdriver Trace or updates existing traces. If the\nname of a trace that you send matches that of an existing trace, new spans\nare added to the existing trace. Attempt to update existing spans results\nundefined behavior. If the name does not match, a new trace is created\nwith given set of spans.",
|
||||
"request": {
|
||||
"$ref": "BatchWriteSpansRequest"
|
||||
},
|
||||
"response": {
|
||||
"$ref": "Empty"
|
||||
},
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/cloud-platform",
|
||||
"https://www.googleapis.com/auth/trace.append"
|
||||
"parameterOrder": [
|
||||
"name"
|
||||
],
|
||||
"httpMethod": "POST",
|
||||
"parameters": {
|
||||
"name": {
|
||||
"location": "path",
|
||||
|
@ -463,13 +461,13 @@
|
|||
"pattern": "^projects/[^/]+$"
|
||||
}
|
||||
},
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/cloud-platform",
|
||||
"https://www.googleapis.com/auth/trace.append"
|
||||
],
|
||||
"flatPath": "v2/projects/{projectsId}/traces:batchWrite",
|
||||
"path": "v2/{+name}/traces:batchWrite",
|
||||
"id": "cloudtrace.projects.traces.batchWrite",
|
||||
"request": {
|
||||
"$ref": "BatchWriteSpansRequest"
|
||||
},
|
||||
"description": "Sends new spans to Stackdriver Trace or updates existing traces. If the\nname of a trace that you send matches that of an existing trace, new spans\nare added to the existing trace. Attempt to update existing spans results\nundefined behavior. If the name does not match, a new trace is created\nwith given set of spans."
|
||||
"path": "v2/{+name}/traces:batchWrite"
|
||||
}
|
||||
},
|
||||
"resources": {
|
||||
|
@ -477,32 +475,32 @@
|
|||
"methods": {
|
||||
"create": {
|
||||
"flatPath": "v2/projects/{projectsId}/traces/{tracesId}/spans/{spansId}",
|
||||
"path": "v2/{+name}",
|
||||
"id": "cloudtrace.projects.traces.spans.create",
|
||||
"path": "v2/{+name}",
|
||||
"description": "Creates a new Span.",
|
||||
"request": {
|
||||
"$ref": "Span"
|
||||
},
|
||||
"description": "Creates a new Span.",
|
||||
"httpMethod": "PUT",
|
||||
"response": {
|
||||
"$ref": "Span"
|
||||
},
|
||||
"parameterOrder": [
|
||||
"name"
|
||||
],
|
||||
"response": {
|
||||
"$ref": "Span"
|
||||
"httpMethod": "PUT",
|
||||
"parameters": {
|
||||
"name": {
|
||||
"description": "The resource name of the span in the following format:\n\n projects/[PROJECT_ID]/traces/[TRACE_ID]/spans/SPAN_ID is a unique identifier for a trace within a project.\n[SPAN_ID] is a unique identifier for a span within a trace,\nassigned when the span is created.",
|
||||
"type": "string",
|
||||
"required": true,
|
||||
"pattern": "^projects/[^/]+/traces/[^/]+/spans/[^/]+$",
|
||||
"location": "path"
|
||||
}
|
||||
},
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/cloud-platform",
|
||||
"https://www.googleapis.com/auth/trace.append"
|
||||
],
|
||||
"parameters": {
|
||||
"name": {
|
||||
"type": "string",
|
||||
"required": true,
|
||||
"pattern": "^projects/[^/]+/traces/[^/]+/spans/[^/]+$",
|
||||
"location": "path",
|
||||
"description": "The resource name of the span in the following format:\n\n projects/[PROJECT_ID]traces/[TRACE_ID]/spans/SPAN_ID is a unique identifier for a trace within a project.\n[SPAN_ID] is a unique identifier for a span within a trace,\nassigned when the span is created."
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -512,52 +510,62 @@
|
|||
}
|
||||
},
|
||||
"parameters": {
|
||||
"upload_protocol": {
|
||||
"type": "string",
|
||||
"pp": {
|
||||
"location": "query",
|
||||
"description": "Upload protocol for media (e.g. \"raw\", \"multipart\")."
|
||||
},
|
||||
"prettyPrint": {
|
||||
"location": "query",
|
||||
"description": "Returns response with indentations and line breaks.",
|
||||
"description": "Pretty-print response.",
|
||||
"default": "true",
|
||||
"type": "boolean"
|
||||
},
|
||||
"fields": {
|
||||
"oauth_token": {
|
||||
"description": "OAuth 2.0 token for the current user.",
|
||||
"type": "string",
|
||||
"location": "query"
|
||||
},
|
||||
"bearer_token": {
|
||||
"location": "query",
|
||||
"description": "Selector specifying which fields to include in a partial response.",
|
||||
"description": "OAuth bearer token.",
|
||||
"type": "string"
|
||||
},
|
||||
"upload_protocol": {
|
||||
"location": "query",
|
||||
"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").",
|
||||
"type": "string"
|
||||
},
|
||||
"prettyPrint": {
|
||||
"description": "Returns response with indentations and line breaks.",
|
||||
"default": "true",
|
||||
"type": "boolean",
|
||||
"location": "query"
|
||||
},
|
||||
"fields": {
|
||||
"description": "Selector specifying which fields to include in a partial response.",
|
||||
"type": "string",
|
||||
"location": "query"
|
||||
},
|
||||
"uploadType": {
|
||||
"location": "query",
|
||||
"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").",
|
||||
"type": "string"
|
||||
},
|
||||
"callback": {
|
||||
"description": "JSONP",
|
||||
"type": "string",
|
||||
"location": "query"
|
||||
},
|
||||
"$.xgafv": {
|
||||
"enumDescriptions": [
|
||||
"v1 error format",
|
||||
"v2 error format"
|
||||
],
|
||||
"location": "query",
|
||||
"enum": [
|
||||
"1",
|
||||
"2"
|
||||
],
|
||||
"description": "V1 error format.",
|
||||
"type": "string",
|
||||
"enumDescriptions": [
|
||||
"v1 error format",
|
||||
"v2 error format"
|
||||
]
|
||||
},
|
||||
"callback": {
|
||||
"type": "string",
|
||||
"location": "query",
|
||||
"description": "JSONP"
|
||||
"type": "string"
|
||||
},
|
||||
"alt": {
|
||||
"enum": [
|
||||
"json",
|
||||
"media",
|
||||
"proto"
|
||||
],
|
||||
"type": "string",
|
||||
"enumDescriptions": [
|
||||
"Responses with Content-Type of application/json",
|
||||
"Media download with context-dependent Content-Type",
|
||||
|
@ -565,7 +573,13 @@
|
|||
],
|
||||
"location": "query",
|
||||
"description": "Data format for response.",
|
||||
"default": "json"
|
||||
"default": "json",
|
||||
"enum": [
|
||||
"json",
|
||||
"media",
|
||||
"proto"
|
||||
],
|
||||
"type": "string"
|
||||
},
|
||||
"key": {
|
||||
"location": "query",
|
||||
|
@ -573,32 +587,19 @@
|
|||
"type": "string"
|
||||
},
|
||||
"access_token": {
|
||||
"description": "OAuth access token.",
|
||||
"type": "string",
|
||||
"location": "query",
|
||||
"description": "OAuth access token."
|
||||
"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",
|
||||
"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters."
|
||||
},
|
||||
"pp": {
|
||||
"location": "query",
|
||||
"description": "Pretty-print response.",
|
||||
"default": "true",
|
||||
"type": "boolean"
|
||||
},
|
||||
"bearer_token": {
|
||||
"type": "string",
|
||||
"location": "query",
|
||||
"description": "OAuth bearer token."
|
||||
},
|
||||
"oauth_token": {
|
||||
"location": "query",
|
||||
"description": "OAuth 2.0 token for the current user.",
|
||||
"type": "string"
|
||||
"location": "query"
|
||||
}
|
||||
},
|
||||
"version": "v2",
|
||||
"baseUrl": "https://cloudtrace.googleapis.com/"
|
||||
"baseUrl": "https://cloudtrace.googleapis.com/",
|
||||
"kind": "discovery#restDescription",
|
||||
"description": "Send and retrieve trace data from Stackdriver Trace. Data is generated and available by default for all App Engine applications. Data from other applications can be written to Stackdriver Trace for display, reporting, and analysis.\n",
|
||||
"servicePath": ""
|
||||
}
|
||||
|
|
6
vendor/google.golang.org/api/cloudtrace/v2/cloudtrace-gen.go
generated
vendored
6
vendor/google.golang.org/api/cloudtrace/v2/cloudtrace-gen.go
generated
vendored
|
@ -500,7 +500,7 @@ type Span struct {
|
|||
|
||||
// Name: The resource name of the span in the following format:
|
||||
//
|
||||
// projects/[PROJECT_ID]traces/[TRACE_ID]/spans/SPAN_ID is a unique
|
||||
// projects/[PROJECT_ID]/traces/[TRACE_ID]/spans/SPAN_ID is a unique
|
||||
// identifier for a trace within a project.
|
||||
// [SPAN_ID] is a unique identifier for a span within a trace,
|
||||
// assigned when the span is created.
|
||||
|
@ -822,7 +822,7 @@ func (s *Status) MarshalJSON() ([]byte, error) {
|
|||
|
||||
// TimeEvent: A time-stamped annotation or network event in the Span.
|
||||
type TimeEvent struct {
|
||||
// Annotation: One or more key:value pairs.
|
||||
// Annotation: Text annotation with a set of attributes.
|
||||
Annotation *Annotation `json:"annotation,omitempty"`
|
||||
|
||||
// NetworkEvent: An event describing an RPC message sent/received on the
|
||||
|
@ -1201,7 +1201,7 @@ func (c *ProjectsTracesSpansCreateCall) Do(opts ...googleapi.CallOption) (*Span,
|
|||
// ],
|
||||
// "parameters": {
|
||||
// "name": {
|
||||
// "description": "The resource name of the span in the following format:\n\n projects/[PROJECT_ID]traces/[TRACE_ID]/spans/SPAN_ID is a unique identifier for a trace within a project.\n[SPAN_ID] is a unique identifier for a span within a trace,\nassigned when the span is created.",
|
||||
// "description": "The resource name of the span in the following format:\n\n projects/[PROJECT_ID]/traces/[TRACE_ID]/spans/SPAN_ID is a unique identifier for a trace within a project.\n[SPAN_ID] is a unique identifier for a span within a trace,\nassigned when the span is created.",
|
||||
// "location": "path",
|
||||
// "pattern": "^projects/[^/]+/traces/[^/]+/spans/[^/]+$",
|
||||
// "required": true,
|
||||
|
|
161
vendor/google.golang.org/api/compute/v0.alpha/compute-api.json
generated
vendored
161
vendor/google.golang.org/api/compute/v0.alpha/compute-api.json
generated
vendored
|
@ -1,11 +1,11 @@
|
|||
{
|
||||
"kind": "discovery#restDescription",
|
||||
"etag": "\"YWOzh2SDasdU84ArJnpYek-OMdg/CwN9bOpaV-xhJ_YHqke_sIbhsB0\"",
|
||||
"etag": "\"YWOzh2SDasdU84ArJnpYek-OMdg/3cMXWrWKedeDcxyJugoWfBBTcik\"",
|
||||
"discoveryVersion": "v1",
|
||||
"id": "compute:alpha",
|
||||
"name": "compute",
|
||||
"version": "alpha",
|
||||
"revision": "20170905",
|
||||
"revision": "20170908",
|
||||
"title": "Compute Engine API",
|
||||
"description": "Creates and runs virtual machines on Google Cloud Platform.",
|
||||
"ownerDomain": "google.com",
|
||||
|
@ -504,7 +504,7 @@
|
|||
"properties": {
|
||||
"address": {
|
||||
"type": "string",
|
||||
"description": "The static external IP address represented by this resource."
|
||||
"description": "The static IP address represented by this resource."
|
||||
},
|
||||
"addressType": {
|
||||
"type": "string",
|
||||
|
@ -1941,6 +1941,10 @@
|
|||
"description": "Lifetime of cookies in seconds if session_affinity is GENERATED_COOKIE. If set to 0, the cookie is non-persistent and lasts only until the end of the browser session (or equivalent). The maximum allowed value for TTL is one day.\n\nWhen the load balancing scheme is INTERNAL, this field is not used.",
|
||||
"format": "int32"
|
||||
},
|
||||
"appEngineBackend": {
|
||||
"$ref": "BackendServiceAppEngineBackend",
|
||||
"description": "Directs request to an App Engine app. cloudFunctionBackend and backends[] must be empty if this is set."
|
||||
},
|
||||
"backends": {
|
||||
"type": "array",
|
||||
"description": "The list of backends that serve this BackendService.",
|
||||
|
@ -1952,6 +1956,10 @@
|
|||
"$ref": "BackendServiceCdnPolicy",
|
||||
"description": "Cloud CDN configuration for this BackendService."
|
||||
},
|
||||
"cloudFunctionBackend": {
|
||||
"$ref": "BackendServiceCloudFunctionBackend",
|
||||
"description": "Directs request to a cloud function. appEngineBackend and backends[] must be empty if this is set."
|
||||
},
|
||||
"connectionDraining": {
|
||||
"$ref": "ConnectionDraining"
|
||||
},
|
||||
|
@ -2188,6 +2196,25 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
"BackendServiceAppEngineBackend": {
|
||||
"id": "BackendServiceAppEngineBackend",
|
||||
"type": "object",
|
||||
"description": "Configuration of a App Engine backend.",
|
||||
"properties": {
|
||||
"appEngineService": {
|
||||
"type": "string",
|
||||
"description": "Optional. App Engine app service name."
|
||||
},
|
||||
"targetProject": {
|
||||
"type": "string",
|
||||
"description": "Required. Project ID of the project hosting the app. This is the project ID of this project. Reference to another project is not allowed."
|
||||
},
|
||||
"version": {
|
||||
"type": "string",
|
||||
"description": "Optional. Version of App Engine app service. When empty, App Engine will do its normal traffic split."
|
||||
}
|
||||
}
|
||||
},
|
||||
"BackendServiceCdnPolicy": {
|
||||
"id": "BackendServiceCdnPolicy",
|
||||
"type": "object",
|
||||
|
@ -2211,6 +2238,21 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
"BackendServiceCloudFunctionBackend": {
|
||||
"id": "BackendServiceCloudFunctionBackend",
|
||||
"type": "object",
|
||||
"description": "Configuration of a Cloud Function backend.",
|
||||
"properties": {
|
||||
"functionName": {
|
||||
"type": "string",
|
||||
"description": "Required. A cloud function name. Special value ?*? represents all cloud functions in the project."
|
||||
},
|
||||
"targetProject": {
|
||||
"type": "string",
|
||||
"description": "Required. Project ID of the project hosting the cloud function."
|
||||
}
|
||||
}
|
||||
},
|
||||
"BackendServiceFailoverPolicy": {
|
||||
"id": "BackendServiceFailoverPolicy",
|
||||
"type": "object",
|
||||
|
@ -4688,7 +4730,7 @@
|
|||
"properties": {
|
||||
"type": {
|
||||
"type": "string",
|
||||
"description": "The type of supported feature. Currently only VIRTIO_SCSI_MULTIQUEUE is supported. For newer Windows images, the server might also populate this property with the value WINDOWS to indicate that this is a Windows image. This value is purely informational and does not enable or disable any features.",
|
||||
"description": "The type of supported feature. Currently only VIRTIO_SCSI_MULTIQUEUE is supported. For newer Windows images, the server might also populate this property with the value WINDOWS to indicate that this is a Windows image.",
|
||||
"enum": [
|
||||
"FEATURE_TYPE_UNSPECIFIED",
|
||||
"MULTI_IP_SUBNET",
|
||||
|
@ -6227,7 +6269,7 @@
|
|||
},
|
||||
"guestOsFeatures": {
|
||||
"type": "array",
|
||||
"description": "A list of features to enable on the guest OS. Applicable for bootable images only. Currently, only one feature can be enabled, VIRTIO_SCSI_MULTIQUEUE, which allows each virtual CPU to have its own queue. For Windows images, you can only enable VIRTIO_SCSI_MULTIQUEUE on images with driver version 1.2.0.1621 or higher. Linux images with kernel versions 3.17 and higher will support VIRTIO_SCSI_MULTIQUEUE.\n\nFor new Windows images, the server might also populate this field with the value WINDOWS, to indicate that this is a Windows image. This value is purely informational and does not enable or disable any features.",
|
||||
"description": "A list of features to enable on the guest OS. Applicable for bootable images only. Currently, only one feature can be enabled, VIRTIO_SCSI_MULTIQUEUE, which allows each virtual CPU to have its own queue. For Windows images, you can only enable VIRTIO_SCSI_MULTIQUEUE on images with driver version 1.2.0.1621 or higher. Linux images with kernel versions 3.17 and higher will support VIRTIO_SCSI_MULTIQUEUE.\n\nFor newer Windows images, the server might also populate this property with the value WINDOWS to indicate that this is a Windows image.",
|
||||
"items": {
|
||||
"$ref": "GuestOsFeature"
|
||||
}
|
||||
|
@ -15171,7 +15213,7 @@
|
|||
},
|
||||
"storageBytes": {
|
||||
"type": "string",
|
||||
"description": "[Output Only] A size of the the storage used by the snapshot. As snapshots share storage, this number is expected to change with snapshot creation/deletion.",
|
||||
"description": "[Output Only] A size of the storage used by the snapshot. As snapshots share storage, this number is expected to change with snapshot creation/deletion.",
|
||||
"format": "int64"
|
||||
},
|
||||
"storageBytesStatus": {
|
||||
|
@ -29027,6 +29069,113 @@
|
|||
"https://www.googleapis.com/auth/compute",
|
||||
"https://www.googleapis.com/auth/compute.readonly"
|
||||
]
|
||||
},
|
||||
"getIamPolicy": {
|
||||
"id": "compute.licenseCodes.getIamPolicy",
|
||||
"path": "{project}/global/licenseCodes/{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-z0-9](?:[-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/compute",
|
||||
"https://www.googleapis.com/auth/compute.readonly"
|
||||
]
|
||||
},
|
||||
"setIamPolicy": {
|
||||
"id": "compute.licenseCodes.setIamPolicy",
|
||||
"path": "{project}/global/licenseCodes/{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-z0-9](?:[-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/compute"
|
||||
]
|
||||
},
|
||||
"testIamPermissions": {
|
||||
"id": "compute.licenseCodes.testIamPermissions",
|
||||
"path": "{project}/global/licenseCodes/{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-z0-9_]{0,62}[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/compute",
|
||||
"https://www.googleapis.com/auth/compute.readonly"
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
542
vendor/google.golang.org/api/compute/v0.alpha/compute-gen.go
generated
vendored
542
vendor/google.golang.org/api/compute/v0.alpha/compute-gen.go
generated
vendored
|
@ -1409,7 +1409,7 @@ func (s *AccessConfig) MarshalJSON() ([]byte, error) {
|
|||
|
||||
// Address: A reserved address resource.
|
||||
type Address struct {
|
||||
// Address: The static external IP address represented by this resource.
|
||||
// Address: The static IP address represented by this resource.
|
||||
Address string `json:"address,omitempty"`
|
||||
|
||||
// AddressType: The type of address to reserve. If unspecified, defaults
|
||||
|
@ -3771,12 +3771,20 @@ type BackendService struct {
|
|||
// When the load balancing scheme is INTERNAL, this field is not used.
|
||||
AffinityCookieTtlSec int64 `json:"affinityCookieTtlSec,omitempty"`
|
||||
|
||||
// AppEngineBackend: Directs request to an App Engine app.
|
||||
// cloudFunctionBackend and backends[] must be empty if this is set.
|
||||
AppEngineBackend *BackendServiceAppEngineBackend `json:"appEngineBackend,omitempty"`
|
||||
|
||||
// Backends: The list of backends that serve this BackendService.
|
||||
Backends []*Backend `json:"backends,omitempty"`
|
||||
|
||||
// CdnPolicy: Cloud CDN configuration for this BackendService.
|
||||
CdnPolicy *BackendServiceCdnPolicy `json:"cdnPolicy,omitempty"`
|
||||
|
||||
// CloudFunctionBackend: Directs request to a cloud function.
|
||||
// appEngineBackend and backends[] must be empty if this is set.
|
||||
CloudFunctionBackend *BackendServiceCloudFunctionBackend `json:"cloudFunctionBackend,omitempty"`
|
||||
|
||||
ConnectionDraining *ConnectionDraining `json:"connectionDraining,omitempty"`
|
||||
|
||||
// CreationTimestamp: [Output Only] Creation timestamp in RFC3339 text
|
||||
|
@ -4090,6 +4098,45 @@ func (s *BackendServiceAggregatedListWarningData) MarshalJSON() ([]byte, error)
|
|||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
// BackendServiceAppEngineBackend: Configuration of a App Engine
|
||||
// backend.
|
||||
type BackendServiceAppEngineBackend struct {
|
||||
// AppEngineService: Optional. App Engine app service name.
|
||||
AppEngineService string `json:"appEngineService,omitempty"`
|
||||
|
||||
// TargetProject: Required. Project ID of the project hosting the app.
|
||||
// This is the project ID of this project. Reference to another project
|
||||
// is not allowed.
|
||||
TargetProject string `json:"targetProject,omitempty"`
|
||||
|
||||
// Version: Optional. Version of App Engine app service. When empty, App
|
||||
// Engine will do its normal traffic split.
|
||||
Version string `json:"version,omitempty"`
|
||||
|
||||
// ForceSendFields is a list of field names (e.g. "AppEngineService") to
|
||||
// unconditionally include in API requests. By default, fields with
|
||||
// empty values are omitted from API requests. However, any non-pointer,
|
||||
// non-interface field appearing in ForceSendFields will be sent to the
|
||||
// server regardless of whether the field is empty or not. This may be
|
||||
// used to include empty fields in Patch requests.
|
||||
ForceSendFields []string `json:"-"`
|
||||
|
||||
// NullFields is a list of field names (e.g. "AppEngineService") to
|
||||
// include in API requests with the JSON null value. By default, fields
|
||||
// with empty values are omitted from API requests. However, any field
|
||||
// with an empty value appearing in NullFields will be sent to the
|
||||
// server as null. It is an error if a field in this list has a
|
||||
// non-empty value. This may be used to include null fields in Patch
|
||||
// requests.
|
||||
NullFields []string `json:"-"`
|
||||
}
|
||||
|
||||
func (s *BackendServiceAppEngineBackend) MarshalJSON() ([]byte, error) {
|
||||
type noMethod BackendServiceAppEngineBackend
|
||||
raw := noMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
// BackendServiceCdnPolicy: Message containing Cloud CDN configuration
|
||||
// for a backend service.
|
||||
type BackendServiceCdnPolicy struct {
|
||||
|
@ -4134,6 +4181,40 @@ func (s *BackendServiceCdnPolicy) MarshalJSON() ([]byte, error) {
|
|||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
// BackendServiceCloudFunctionBackend: Configuration of a Cloud Function
|
||||
// backend.
|
||||
type BackendServiceCloudFunctionBackend struct {
|
||||
// FunctionName: Required. A cloud function name. Special value ?*?
|
||||
// represents all cloud functions in the project.
|
||||
FunctionName string `json:"functionName,omitempty"`
|
||||
|
||||
// TargetProject: Required. Project ID of the project hosting the cloud
|
||||
// function.
|
||||
TargetProject string `json:"targetProject,omitempty"`
|
||||
|
||||
// ForceSendFields is a list of field names (e.g. "FunctionName") to
|
||||
// unconditionally include in API requests. By default, fields with
|
||||
// empty values are omitted from API requests. However, any non-pointer,
|
||||
// non-interface field appearing in ForceSendFields will be sent to the
|
||||
// server regardless of whether the field is empty or not. This may be
|
||||
// used to include empty fields in Patch requests.
|
||||
ForceSendFields []string `json:"-"`
|
||||
|
||||
// NullFields is a list of field names (e.g. "FunctionName") to include
|
||||
// in API requests with the JSON null value. By default, fields with
|
||||
// empty values are omitted from API requests. However, any field with
|
||||
// an empty value appearing in NullFields will be sent to the server as
|
||||
// null. It is an error if a field in this list has a non-empty value.
|
||||
// This may be used to include null fields in Patch requests.
|
||||
NullFields []string `json:"-"`
|
||||
}
|
||||
|
||||
func (s *BackendServiceCloudFunctionBackend) MarshalJSON() ([]byte, error) {
|
||||
type noMethod BackendServiceCloudFunctionBackend
|
||||
raw := noMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
type BackendServiceFailoverPolicy struct {
|
||||
// DisableConnectionDrainOnFailover: On failover or failback, this field
|
||||
// indicates whether connection drain will be honored. Setting this to
|
||||
|
@ -8043,8 +8124,7 @@ type GuestOsFeature struct {
|
|||
// Type: The type of supported feature. Currently only
|
||||
// VIRTIO_SCSI_MULTIQUEUE is supported. For newer Windows images, the
|
||||
// server might also populate this property with the value WINDOWS to
|
||||
// indicate that this is a Windows image. This value is purely
|
||||
// informational and does not enable or disable any features.
|
||||
// indicate that this is a Windows image.
|
||||
//
|
||||
// Possible values:
|
||||
// "FEATURE_TYPE_UNSPECIFIED"
|
||||
|
@ -10276,10 +10356,9 @@ type Image struct {
|
|||
// higher. Linux images with kernel versions 3.17 and higher will
|
||||
// support VIRTIO_SCSI_MULTIQUEUE.
|
||||
//
|
||||
// For new Windows images, the server might also populate this field
|
||||
// with the value WINDOWS, to indicate that this is a Windows image.
|
||||
// This value is purely informational and does not enable or disable any
|
||||
// features.
|
||||
// For newer Windows images, the server might also populate this
|
||||
// property with the value WINDOWS to indicate that this is a Windows
|
||||
// image.
|
||||
GuestOsFeatures []*GuestOsFeature `json:"guestOsFeatures,omitempty"`
|
||||
|
||||
// Id: [Output Only] The unique identifier for the resource. This
|
||||
|
@ -23698,7 +23777,7 @@ type Snapshot struct {
|
|||
// "UPLOADING"
|
||||
Status string `json:"status,omitempty"`
|
||||
|
||||
// StorageBytes: [Output Only] A size of the the storage used by the
|
||||
// StorageBytes: [Output Only] A size of the storage used by the
|
||||
// snapshot. As snapshots share storage, this number is expected to
|
||||
// change with snapshot creation/deletion.
|
||||
StorageBytes int64 `json:"storageBytes,omitempty,string"`
|
||||
|
@ -70661,6 +70740,453 @@ func (c *LicenseCodesGetCall) Do(opts ...googleapi.CallOption) (*LicenseCode, er
|
|||
|
||||
}
|
||||
|
||||
// method id "compute.licenseCodes.getIamPolicy":
|
||||
|
||||
type LicenseCodesGetIamPolicyCall struct {
|
||||
s *Service
|
||||
project string
|
||||
resource string
|
||||
urlParams_ gensupport.URLParams
|
||||
ifNoneMatch_ string
|
||||
ctx_ context.Context
|
||||
header_ http.Header
|
||||
}
|
||||
|
||||
// GetIamPolicy: Gets the access control policy for a resource. May be
|
||||
// empty if no such policy or resource exists.
|
||||
func (r *LicenseCodesService) GetIamPolicy(project string, resource string) *LicenseCodesGetIamPolicyCall {
|
||||
c := &LicenseCodesGetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
|
||||
c.project = project
|
||||
c.resource = resource
|
||||
return c
|
||||
}
|
||||
|
||||
// Fields allows partial responses to be retrieved. See
|
||||
// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse
|
||||
// for more information.
|
||||
func (c *LicenseCodesGetIamPolicyCall) Fields(s ...googleapi.Field) *LicenseCodesGetIamPolicyCall {
|
||||
c.urlParams_.Set("fields", googleapi.CombineFields(s))
|
||||
return c
|
||||
}
|
||||
|
||||
// IfNoneMatch sets the optional parameter which makes the operation
|
||||
// fail if the object's ETag matches the given value. This is useful for
|
||||
// getting updates only after the object has changed since the last
|
||||
// request. Use googleapi.IsNotModified to check whether the response
|
||||
// error from Do is the result of In-None-Match.
|
||||
func (c *LicenseCodesGetIamPolicyCall) IfNoneMatch(entityTag string) *LicenseCodesGetIamPolicyCall {
|
||||
c.ifNoneMatch_ = entityTag
|
||||
return c
|
||||
}
|
||||
|
||||
// Context sets the context to be used in this call's Do method. Any
|
||||
// pending HTTP request will be aborted if the provided context is
|
||||
// canceled.
|
||||
func (c *LicenseCodesGetIamPolicyCall) Context(ctx context.Context) *LicenseCodesGetIamPolicyCall {
|
||||
c.ctx_ = ctx
|
||||
return c
|
||||
}
|
||||
|
||||
// Header returns an http.Header that can be modified by the caller to
|
||||
// add HTTP headers to the request.
|
||||
func (c *LicenseCodesGetIamPolicyCall) Header() http.Header {
|
||||
if c.header_ == nil {
|
||||
c.header_ = make(http.Header)
|
||||
}
|
||||
return c.header_
|
||||
}
|
||||
|
||||
func (c *LicenseCodesGetIamPolicyCall) doRequest(alt string) (*http.Response, error) {
|
||||
reqHeaders := make(http.Header)
|
||||
for k, v := range c.header_ {
|
||||
reqHeaders[k] = v
|
||||
}
|
||||
reqHeaders.Set("User-Agent", c.s.userAgent())
|
||||
if c.ifNoneMatch_ != "" {
|
||||
reqHeaders.Set("If-None-Match", c.ifNoneMatch_)
|
||||
}
|
||||
var body io.Reader = nil
|
||||
c.urlParams_.Set("alt", alt)
|
||||
urls := googleapi.ResolveRelative(c.s.BasePath, "{project}/global/licenseCodes/{resource}/getIamPolicy")
|
||||
urls += "?" + c.urlParams_.Encode()
|
||||
req, _ := http.NewRequest("GET", urls, body)
|
||||
req.Header = reqHeaders
|
||||
googleapi.Expand(req.URL, map[string]string{
|
||||
"project": c.project,
|
||||
"resource": c.resource,
|
||||
})
|
||||
return gensupport.SendRequest(c.ctx_, c.s.client, req)
|
||||
}
|
||||
|
||||
// Do executes the "compute.licenseCodes.getIamPolicy" call.
|
||||
// Exactly one of *Policy or error will be non-nil. Any non-2xx status
|
||||
// code is an error. Response headers are in either
|
||||
// *Policy.ServerResponse.Header or (if a response was returned at all)
|
||||
// in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to
|
||||
// check whether the returned error was because http.StatusNotModified
|
||||
// was returned.
|
||||
func (c *LicenseCodesGetIamPolicyCall) Do(opts ...googleapi.CallOption) (*Policy, error) {
|
||||
gensupport.SetOptions(c.urlParams_, opts...)
|
||||
res, err := c.doRequest("json")
|
||||
if res != nil && res.StatusCode == http.StatusNotModified {
|
||||
if res.Body != nil {
|
||||
res.Body.Close()
|
||||
}
|
||||
return nil, &googleapi.Error{
|
||||
Code: res.StatusCode,
|
||||
Header: res.Header,
|
||||
}
|
||||
}
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
defer googleapi.CloseBody(res)
|
||||
if err := googleapi.CheckResponse(res); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
ret := &Policy{
|
||||
ServerResponse: googleapi.ServerResponse{
|
||||
Header: res.Header,
|
||||
HTTPStatusCode: res.StatusCode,
|
||||
},
|
||||
}
|
||||
target := &ret
|
||||
if err := json.NewDecoder(res.Body).Decode(target); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return ret, nil
|
||||
// {
|
||||
// "description": "Gets the access control policy for a resource. May be empty if no such policy or resource exists.",
|
||||
// "httpMethod": "GET",
|
||||
// "id": "compute.licenseCodes.getIamPolicy",
|
||||
// "parameterOrder": [
|
||||
// "project",
|
||||
// "resource"
|
||||
// ],
|
||||
// "parameters": {
|
||||
// "project": {
|
||||
// "description": "Project ID for this request.",
|
||||
// "location": "path",
|
||||
// "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])?))",
|
||||
// "required": true,
|
||||
// "type": "string"
|
||||
// },
|
||||
// "resource": {
|
||||
// "description": "Name of the resource for this request.",
|
||||
// "location": "path",
|
||||
// "pattern": "[a-z0-9](?:[-a-z0-9_]{0,61}[a-z0-9])?",
|
||||
// "required": true,
|
||||
// "type": "string"
|
||||
// }
|
||||
// },
|
||||
// "path": "{project}/global/licenseCodes/{resource}/getIamPolicy",
|
||||
// "response": {
|
||||
// "$ref": "Policy"
|
||||
// },
|
||||
// "scopes": [
|
||||
// "https://www.googleapis.com/auth/cloud-platform",
|
||||
// "https://www.googleapis.com/auth/compute",
|
||||
// "https://www.googleapis.com/auth/compute.readonly"
|
||||
// ]
|
||||
// }
|
||||
|
||||
}
|
||||
|
||||
// method id "compute.licenseCodes.setIamPolicy":
|
||||
|
||||
type LicenseCodesSetIamPolicyCall struct {
|
||||
s *Service
|
||||
project string
|
||||
resource string
|
||||
policy *Policy
|
||||
urlParams_ gensupport.URLParams
|
||||
ctx_ context.Context
|
||||
header_ http.Header
|
||||
}
|
||||
|
||||
// SetIamPolicy: Sets the access control policy on the specified
|
||||
// resource. Replaces any existing policy.
|
||||
func (r *LicenseCodesService) SetIamPolicy(project string, resource string, policy *Policy) *LicenseCodesSetIamPolicyCall {
|
||||
c := &LicenseCodesSetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
|
||||
c.project = project
|
||||
c.resource = resource
|
||||
c.policy = policy
|
||||
return c
|
||||
}
|
||||
|
||||
// Fields allows partial responses to be retrieved. See
|
||||
// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse
|
||||
// for more information.
|
||||
func (c *LicenseCodesSetIamPolicyCall) Fields(s ...googleapi.Field) *LicenseCodesSetIamPolicyCall {
|
||||
c.urlParams_.Set("fields", googleapi.CombineFields(s))
|
||||
return c
|
||||
}
|
||||
|
||||
// Context sets the context to be used in this call's Do method. Any
|
||||
// pending HTTP request will be aborted if the provided context is
|
||||
// canceled.
|
||||
func (c *LicenseCodesSetIamPolicyCall) Context(ctx context.Context) *LicenseCodesSetIamPolicyCall {
|
||||
c.ctx_ = ctx
|
||||
return c
|
||||
}
|
||||
|
||||
// Header returns an http.Header that can be modified by the caller to
|
||||
// add HTTP headers to the request.
|
||||
func (c *LicenseCodesSetIamPolicyCall) Header() http.Header {
|
||||
if c.header_ == nil {
|
||||
c.header_ = make(http.Header)
|
||||
}
|
||||
return c.header_
|
||||
}
|
||||
|
||||
func (c *LicenseCodesSetIamPolicyCall) doRequest(alt string) (*http.Response, error) {
|
||||
reqHeaders := make(http.Header)
|
||||
for k, v := range c.header_ {
|
||||
reqHeaders[k] = v
|
||||
}
|
||||
reqHeaders.Set("User-Agent", c.s.userAgent())
|
||||
var body io.Reader = nil
|
||||
body, err := googleapi.WithoutDataWrapper.JSONReader(c.policy)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
reqHeaders.Set("Content-Type", "application/json")
|
||||
c.urlParams_.Set("alt", alt)
|
||||
urls := googleapi.ResolveRelative(c.s.BasePath, "{project}/global/licenseCodes/{resource}/setIamPolicy")
|
||||
urls += "?" + c.urlParams_.Encode()
|
||||
req, _ := http.NewRequest("POST", urls, body)
|
||||
req.Header = reqHeaders
|
||||
googleapi.Expand(req.URL, map[string]string{
|
||||
"project": c.project,
|
||||
"resource": c.resource,
|
||||
})
|
||||
return gensupport.SendRequest(c.ctx_, c.s.client, req)
|
||||
}
|
||||
|
||||
// Do executes the "compute.licenseCodes.setIamPolicy" call.
|
||||
// Exactly one of *Policy or error will be non-nil. Any non-2xx status
|
||||
// code is an error. Response headers are in either
|
||||
// *Policy.ServerResponse.Header or (if a response was returned at all)
|
||||
// in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to
|
||||
// check whether the returned error was because http.StatusNotModified
|
||||
// was returned.
|
||||
func (c *LicenseCodesSetIamPolicyCall) Do(opts ...googleapi.CallOption) (*Policy, error) {
|
||||
gensupport.SetOptions(c.urlParams_, opts...)
|
||||
res, err := c.doRequest("json")
|
||||
if res != nil && res.StatusCode == http.StatusNotModified {
|
||||
if res.Body != nil {
|
||||
res.Body.Close()
|
||||
}
|
||||
return nil, &googleapi.Error{
|
||||
Code: res.StatusCode,
|
||||
Header: res.Header,
|
||||
}
|
||||
}
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
defer googleapi.CloseBody(res)
|
||||
if err := googleapi.CheckResponse(res); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
ret := &Policy{
|
||||
ServerResponse: googleapi.ServerResponse{
|
||||
Header: res.Header,
|
||||
HTTPStatusCode: res.StatusCode,
|
||||
},
|
||||
}
|
||||
target := &ret
|
||||
if err := json.NewDecoder(res.Body).Decode(target); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return ret, nil
|
||||
// {
|
||||
// "description": "Sets the access control policy on the specified resource. Replaces any existing policy.",
|
||||
// "httpMethod": "POST",
|
||||
// "id": "compute.licenseCodes.setIamPolicy",
|
||||
// "parameterOrder": [
|
||||
// "project",
|
||||
// "resource"
|
||||
// ],
|
||||
// "parameters": {
|
||||
// "project": {
|
||||
// "description": "Project ID for this request.",
|
||||
// "location": "path",
|
||||
// "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])?))",
|
||||
// "required": true,
|
||||
// "type": "string"
|
||||
// },
|
||||
// "resource": {
|
||||
// "description": "Name of the resource for this request.",
|
||||
// "location": "path",
|
||||
// "pattern": "[a-z0-9](?:[-a-z0-9_]{0,61}[a-z0-9])?",
|
||||
// "required": true,
|
||||
// "type": "string"
|
||||
// }
|
||||
// },
|
||||
// "path": "{project}/global/licenseCodes/{resource}/setIamPolicy",
|
||||
// "request": {
|
||||
// "$ref": "Policy"
|
||||
// },
|
||||
// "response": {
|
||||
// "$ref": "Policy"
|
||||
// },
|
||||
// "scopes": [
|
||||
// "https://www.googleapis.com/auth/cloud-platform",
|
||||
// "https://www.googleapis.com/auth/compute"
|
||||
// ]
|
||||
// }
|
||||
|
||||
}
|
||||
|
||||
// method id "compute.licenseCodes.testIamPermissions":
|
||||
|
||||
type LicenseCodesTestIamPermissionsCall struct {
|
||||
s *Service
|
||||
project string
|
||||
resource string
|
||||
testpermissionsrequest *TestPermissionsRequest
|
||||
urlParams_ gensupport.URLParams
|
||||
ctx_ context.Context
|
||||
header_ http.Header
|
||||
}
|
||||
|
||||
// TestIamPermissions: Returns permissions that a caller has on the
|
||||
// specified resource.
|
||||
func (r *LicenseCodesService) TestIamPermissions(project string, resource string, testpermissionsrequest *TestPermissionsRequest) *LicenseCodesTestIamPermissionsCall {
|
||||
c := &LicenseCodesTestIamPermissionsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
|
||||
c.project = project
|
||||
c.resource = resource
|
||||
c.testpermissionsrequest = testpermissionsrequest
|
||||
return c
|
||||
}
|
||||
|
||||
// Fields allows partial responses to be retrieved. See
|
||||
// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse
|
||||
// for more information.
|
||||
func (c *LicenseCodesTestIamPermissionsCall) Fields(s ...googleapi.Field) *LicenseCodesTestIamPermissionsCall {
|
||||
c.urlParams_.Set("fields", googleapi.CombineFields(s))
|
||||
return c
|
||||
}
|
||||
|
||||
// Context sets the context to be used in this call's Do method. Any
|
||||
// pending HTTP request will be aborted if the provided context is
|
||||
// canceled.
|
||||
func (c *LicenseCodesTestIamPermissionsCall) Context(ctx context.Context) *LicenseCodesTestIamPermissionsCall {
|
||||
c.ctx_ = ctx
|
||||
return c
|
||||
}
|
||||
|
||||
// Header returns an http.Header that can be modified by the caller to
|
||||
// add HTTP headers to the request.
|
||||
func (c *LicenseCodesTestIamPermissionsCall) Header() http.Header {
|
||||
if c.header_ == nil {
|
||||
c.header_ = make(http.Header)
|
||||
}
|
||||
return c.header_
|
||||
}
|
||||
|
||||
func (c *LicenseCodesTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) {
|
||||
reqHeaders := make(http.Header)
|
||||
for k, v := range c.header_ {
|
||||
reqHeaders[k] = v
|
||||
}
|
||||
reqHeaders.Set("User-Agent", c.s.userAgent())
|
||||
var body io.Reader = nil
|
||||
body, err := googleapi.WithoutDataWrapper.JSONReader(c.testpermissionsrequest)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
reqHeaders.Set("Content-Type", "application/json")
|
||||
c.urlParams_.Set("alt", alt)
|
||||
urls := googleapi.ResolveRelative(c.s.BasePath, "{project}/global/licenseCodes/{resource}/testIamPermissions")
|
||||
urls += "?" + c.urlParams_.Encode()
|
||||
req, _ := http.NewRequest("POST", urls, body)
|
||||
req.Header = reqHeaders
|
||||
googleapi.Expand(req.URL, map[string]string{
|
||||
"project": c.project,
|
||||
"resource": c.resource,
|
||||
})
|
||||
return gensupport.SendRequest(c.ctx_, c.s.client, req)
|
||||
}
|
||||
|
||||
// Do executes the "compute.licenseCodes.testIamPermissions" call.
|
||||
// Exactly one of *TestPermissionsResponse or error will be non-nil. Any
|
||||
// non-2xx status code is an error. Response headers are in either
|
||||
// *TestPermissionsResponse.ServerResponse.Header or (if a response was
|
||||
// returned at all) in error.(*googleapi.Error).Header. Use
|
||||
// googleapi.IsNotModified to check whether the returned error was
|
||||
// because http.StatusNotModified was returned.
|
||||
func (c *LicenseCodesTestIamPermissionsCall) Do(opts ...googleapi.CallOption) (*TestPermissionsResponse, error) {
|
||||
gensupport.SetOptions(c.urlParams_, opts...)
|
||||
res, err := c.doRequest("json")
|
||||
if res != nil && res.StatusCode == http.StatusNotModified {
|
||||
if res.Body != nil {
|
||||
res.Body.Close()
|
||||
}
|
||||
return nil, &googleapi.Error{
|
||||
Code: res.StatusCode,
|
||||
Header: res.Header,
|
||||
}
|
||||
}
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
defer googleapi.CloseBody(res)
|
||||
if err := googleapi.CheckResponse(res); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
ret := &TestPermissionsResponse{
|
||||
ServerResponse: googleapi.ServerResponse{
|
||||
Header: res.Header,
|
||||
HTTPStatusCode: res.StatusCode,
|
||||
},
|
||||
}
|
||||
target := &ret
|
||||
if err := json.NewDecoder(res.Body).Decode(target); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return ret, nil
|
||||
// {
|
||||
// "description": "Returns permissions that a caller has on the specified resource.",
|
||||
// "httpMethod": "POST",
|
||||
// "id": "compute.licenseCodes.testIamPermissions",
|
||||
// "parameterOrder": [
|
||||
// "project",
|
||||
// "resource"
|
||||
// ],
|
||||
// "parameters": {
|
||||
// "project": {
|
||||
// "description": "Project ID for this request.",
|
||||
// "location": "path",
|
||||
// "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])?))",
|
||||
// "required": true,
|
||||
// "type": "string"
|
||||
// },
|
||||
// "resource": {
|
||||
// "description": "Name of the resource for this request.",
|
||||
// "location": "path",
|
||||
// "pattern": "(?:[-a-z0-9_]{0,62}[a-z0-9])?",
|
||||
// "required": true,
|
||||
// "type": "string"
|
||||
// }
|
||||
// },
|
||||
// "path": "{project}/global/licenseCodes/{resource}/testIamPermissions",
|
||||
// "request": {
|
||||
// "$ref": "TestPermissionsRequest"
|
||||
// },
|
||||
// "response": {
|
||||
// "$ref": "TestPermissionsResponse"
|
||||
// },
|
||||
// "scopes": [
|
||||
// "https://www.googleapis.com/auth/cloud-platform",
|
||||
// "https://www.googleapis.com/auth/compute",
|
||||
// "https://www.googleapis.com/auth/compute.readonly"
|
||||
// ]
|
||||
// }
|
||||
|
||||
}
|
||||
|
||||
// method id "compute.licenses.delete":
|
||||
|
||||
type LicensesDeleteCall struct {
|
||||
|
|
195
vendor/google.golang.org/api/compute/v0.beta/compute-api.json
generated
vendored
195
vendor/google.golang.org/api/compute/v0.beta/compute-api.json
generated
vendored
|
@ -1,11 +1,11 @@
|
|||
{
|
||||
"kind": "discovery#restDescription",
|
||||
"etag": "\"YWOzh2SDasdU84ArJnpYek-OMdg/QIBUrC-C0KuVnsoUFunufep6MGE\"",
|
||||
"etag": "\"YWOzh2SDasdU84ArJnpYek-OMdg/2Jt9iILNSBvotCe8YWfswUcsXKc\"",
|
||||
"discoveryVersion": "v1",
|
||||
"id": "compute:beta",
|
||||
"name": "compute",
|
||||
"version": "beta",
|
||||
"revision": "20170905",
|
||||
"revision": "20170908",
|
||||
"title": "Compute Engine API",
|
||||
"description": "Creates and runs virtual machines on Google Cloud Platform.",
|
||||
"ownerDomain": "google.com",
|
||||
|
@ -454,6 +454,14 @@
|
|||
"type": "string",
|
||||
"description": "An external IP address associated with this instance. Specify an unused static external IP address available to the project or leave this field undefined to use an IP from a shared ephemeral IP address pool. If you specify a static external IP address, it must live in the same region as the zone of the instance."
|
||||
},
|
||||
"publicPtrDomainName": {
|
||||
"type": "string",
|
||||
"description": "The DNS domain name for the public PTR record. This field can only be set when the set_public_ptr field is enabled."
|
||||
},
|
||||
"setPublicPtr": {
|
||||
"type": "boolean",
|
||||
"description": "Specifies whether a public DNS ?PTR? record should be created to map the external IP address of the instance to a DNS domain name."
|
||||
},
|
||||
"type": {
|
||||
"type": "string",
|
||||
"description": "The type of configuration. The default and only option is ONE_TO_ONE_NAT.",
|
||||
|
@ -474,7 +482,7 @@
|
|||
"properties": {
|
||||
"address": {
|
||||
"type": "string",
|
||||
"description": "The static external IP address represented by this resource."
|
||||
"description": "The static IP address represented by this resource."
|
||||
},
|
||||
"addressType": {
|
||||
"type": "string",
|
||||
|
@ -4408,7 +4416,7 @@
|
|||
"properties": {
|
||||
"type": {
|
||||
"type": "string",
|
||||
"description": "The type of supported feature. Currently only VIRTIO_SCSI_MULTIQUEUE is supported. For newer Windows images, the server might also populate this property with the value WINDOWS to indicate that this is a Windows image. This value is purely informational and does not enable or disable any features.",
|
||||
"description": "The type of supported feature. Currently only VIRTIO_SCSI_MULTIQUEUE is supported. For newer Windows images, the server might also populate this property with the value WINDOWS to indicate that this is a Windows image.",
|
||||
"enum": [
|
||||
"FEATURE_TYPE_UNSPECIFIED",
|
||||
"MULTI_IP_SUBNET",
|
||||
|
@ -5113,7 +5121,7 @@
|
|||
},
|
||||
"guestOsFeatures": {
|
||||
"type": "array",
|
||||
"description": "A list of features to enable on the guest OS. Applicable for bootable images only. Currently, only one feature can be enabled, VIRTIO_SCSI_MULTIQUEUE, which allows each virtual CPU to have its own queue. For Windows images, you can only enable VIRTIO_SCSI_MULTIQUEUE on images with driver version 1.2.0.1621 or higher. Linux images with kernel versions 3.17 and higher will support VIRTIO_SCSI_MULTIQUEUE.\n\nFor new Windows images, the server might also populate this field with the value WINDOWS, to indicate that this is a Windows image. This value is purely informational and does not enable or disable any features.",
|
||||
"description": "A list of features to enable on the guest OS. Applicable for bootable images only. Currently, only one feature can be enabled, VIRTIO_SCSI_MULTIQUEUE, which allows each virtual CPU to have its own queue. For Windows images, you can only enable VIRTIO_SCSI_MULTIQUEUE on images with driver version 1.2.0.1621 or higher. Linux images with kernel versions 3.17 and higher will support VIRTIO_SCSI_MULTIQUEUE.\n\nFor newer Windows images, the server might also populate this property with the value WINDOWS to indicate that this is a Windows image.",
|
||||
"items": {
|
||||
"$ref": "GuestOsFeature"
|
||||
}
|
||||
|
@ -9063,6 +9071,11 @@
|
|||
"$ref": "AliasIpRange"
|
||||
}
|
||||
},
|
||||
"fingerprint": {
|
||||
"type": "string",
|
||||
"description": "Fingerprint hash of contents stored in this network interface. This field will be ignored when inserting an Instance or adding a NetworkInterface. An up-to-date fingerprint must be provided in order to update the NetworkInterface.",
|
||||
"format": "byte"
|
||||
},
|
||||
"kind": {
|
||||
"type": "string",
|
||||
"description": "[Output Only] Type of the resource. Always compute#networkInterface for network interfaces.",
|
||||
|
@ -12126,7 +12139,7 @@
|
|||
},
|
||||
"storageBytes": {
|
||||
"type": "string",
|
||||
"description": "[Output Only] A size of the the storage used by the snapshot. As snapshots share storage, this number is expected to change with snapshot creation/deletion.",
|
||||
"description": "[Output Only] A size of the storage used by the snapshot. As snapshots share storage, this number is expected to change with snapshot creation/deletion.",
|
||||
"format": "int64"
|
||||
},
|
||||
"storageBytesStatus": {
|
||||
|
@ -12390,6 +12403,10 @@
|
|||
"type": "object",
|
||||
"description": "A Subnetwork resource.",
|
||||
"properties": {
|
||||
"allowSubnetCidrRoutesOverlap": {
|
||||
"type": "boolean",
|
||||
"description": "Whether this subnetwork can conflict with static routes. Setting this to true allows this subnetwork's primary and secondary ranges to conflict with routes that have already been configured on the corresponding network. Static routes will take precedence over the subnetwork route if the route prefix length is at least as large as the subnetwork prefix length.\n\nAlso, packets destined to IPs within subnetwork may contain private/sensitive data and are prevented from leaving the virtual network. Setting this field to true will disable this feature.\n\nThe default value is false and applies to all existing subnetworks and automatically created subnetworks.\n\nThis field cannot be set to true at resource creation time."
|
||||
},
|
||||
"creationTimestamp": {
|
||||
"type": "string",
|
||||
"description": "[Output Only] Creation timestamp in RFC3339 text format."
|
||||
|
@ -12398,6 +12415,11 @@
|
|||
"type": "string",
|
||||
"description": "An optional description of this resource. Provide this property when you create the resource. This field can be set only at resource creation time."
|
||||
},
|
||||
"fingerprint": {
|
||||
"type": "string",
|
||||
"description": "Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking. This field will be ignored when inserting a Subnetwork. An up-to-date fingerprint must be provided in order to update the Subnetwork.",
|
||||
"format": "byte"
|
||||
},
|
||||
"gatewayAddress": {
|
||||
"type": "string",
|
||||
"description": "[Output Only] The gateway address for default routes to reach destination addresses outside this subnetwork. This field can be set only at resource creation time."
|
||||
|
@ -22977,6 +22999,118 @@
|
|||
"https://www.googleapis.com/auth/compute",
|
||||
"https://www.googleapis.com/auth/compute.readonly"
|
||||
]
|
||||
},
|
||||
"updateAccessConfig": {
|
||||
"id": "compute.instances.updateAccessConfig",
|
||||
"path": "{project}/zones/{zone}/instances/{instance}/updateAccessConfig",
|
||||
"httpMethod": "POST",
|
||||
"description": "Updates the specified access config from an instance's network interface with the data included in the request. This method supports PATCH semantics and uses the JSON merge patch format and processing rules.",
|
||||
"parameters": {
|
||||
"instance": {
|
||||
"type": "string",
|
||||
"description": "The instance name for this request.",
|
||||
"required": true,
|
||||
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
|
||||
"location": "path"
|
||||
},
|
||||
"networkInterface": {
|
||||
"type": "string",
|
||||
"description": "The name of the network interface where the access config is attached.",
|
||||
"required": true,
|
||||
"location": "query"
|
||||
},
|
||||
"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"
|
||||
},
|
||||
"requestId": {
|
||||
"type": "string",
|
||||
"description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.\n\nFor example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).",
|
||||
"location": "query"
|
||||
},
|
||||
"zone": {
|
||||
"type": "string",
|
||||
"description": "The name of the zone for this request.",
|
||||
"required": true,
|
||||
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
|
||||
"location": "path"
|
||||
}
|
||||
},
|
||||
"parameterOrder": [
|
||||
"project",
|
||||
"zone",
|
||||
"instance",
|
||||
"networkInterface"
|
||||
],
|
||||
"request": {
|
||||
"$ref": "AccessConfig"
|
||||
},
|
||||
"response": {
|
||||
"$ref": "Operation"
|
||||
},
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/cloud-platform",
|
||||
"https://www.googleapis.com/auth/compute"
|
||||
]
|
||||
},
|
||||
"updateNetworkInterface": {
|
||||
"id": "compute.instances.updateNetworkInterface",
|
||||
"path": "{project}/zones/{zone}/instances/{instance}/updateNetworkInterface",
|
||||
"httpMethod": "PATCH",
|
||||
"description": "Updates an instance's network interface. This method follows PATCH semantics.",
|
||||
"parameters": {
|
||||
"instance": {
|
||||
"type": "string",
|
||||
"description": "The instance name for this request.",
|
||||
"required": true,
|
||||
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
|
||||
"location": "path"
|
||||
},
|
||||
"networkInterface": {
|
||||
"type": "string",
|
||||
"description": "The name of the network interface to update.",
|
||||
"required": true,
|
||||
"location": "query"
|
||||
},
|
||||
"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"
|
||||
},
|
||||
"requestId": {
|
||||
"type": "string",
|
||||
"description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.\n\nFor example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).",
|
||||
"location": "query"
|
||||
},
|
||||
"zone": {
|
||||
"type": "string",
|
||||
"description": "The name of the zone for this request.",
|
||||
"required": true,
|
||||
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
|
||||
"location": "path"
|
||||
}
|
||||
},
|
||||
"parameterOrder": [
|
||||
"project",
|
||||
"zone",
|
||||
"instance",
|
||||
"networkInterface"
|
||||
],
|
||||
"request": {
|
||||
"$ref": "NetworkInterface"
|
||||
},
|
||||
"response": {
|
||||
"$ref": "Operation"
|
||||
},
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/cloud-platform",
|
||||
"https://www.googleapis.com/auth/compute"
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
|
@ -28263,6 +28397,55 @@
|
|||
"https://www.googleapis.com/auth/compute.readonly"
|
||||
]
|
||||
},
|
||||
"patch": {
|
||||
"id": "compute.subnetworks.patch",
|
||||
"path": "{project}/regions/{region}/subnetworks/{subnetwork}",
|
||||
"httpMethod": "PATCH",
|
||||
"description": "Patches the specified subnetwork with the data included in the request. Only the following fields within the subnetwork resource can be specified in the request: secondary_ip_range and allow_subnet_cidr_routes_overlap. It is also mandatory to specify the current fingeprint of the subnetwork resource being patched.",
|
||||
"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"
|
||||
},
|
||||
"region": {
|
||||
"type": "string",
|
||||
"description": "Name of the region scoping this request.",
|
||||
"required": true,
|
||||
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
|
||||
"location": "path"
|
||||
},
|
||||
"requestId": {
|
||||
"type": "string",
|
||||
"description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.\n\nFor example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).",
|
||||
"location": "query"
|
||||
},
|
||||
"subnetwork": {
|
||||
"type": "string",
|
||||
"description": "Name of the Subnetwork resource to patch.",
|
||||
"required": true,
|
||||
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
|
||||
"location": "path"
|
||||
}
|
||||
},
|
||||
"parameterOrder": [
|
||||
"project",
|
||||
"region",
|
||||
"subnetwork"
|
||||
],
|
||||
"request": {
|
||||
"$ref": "Subnetwork"
|
||||
},
|
||||
"response": {
|
||||
"$ref": "Operation"
|
||||
},
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/cloud-platform",
|
||||
"https://www.googleapis.com/auth/compute"
|
||||
]
|
||||
},
|
||||
"setIamPolicy": {
|
||||
"id": "compute.subnetworks.setIamPolicy",
|
||||
"path": "{project}/regions/{region}/subnetworks/{resource}/setIamPolicy",
|
||||
|
|
646
vendor/google.golang.org/api/compute/v0.beta/compute-gen.go
generated
vendored
646
vendor/google.golang.org/api/compute/v0.beta/compute-gen.go
generated
vendored
|
@ -1247,6 +1247,15 @@ type AccessConfig struct {
|
|||
// live in the same region as the zone of the instance.
|
||||
NatIP string `json:"natIP,omitempty"`
|
||||
|
||||
// PublicPtrDomainName: The DNS domain name for the public PTR record.
|
||||
// This field can only be set when the set_public_ptr field is enabled.
|
||||
PublicPtrDomainName string `json:"publicPtrDomainName,omitempty"`
|
||||
|
||||
// SetPublicPtr: Specifies whether a public DNS ?PTR? record should be
|
||||
// created to map the external IP address of the instance to a DNS
|
||||
// domain name.
|
||||
SetPublicPtr bool `json:"setPublicPtr,omitempty"`
|
||||
|
||||
// Type: The type of configuration. The default and only option is
|
||||
// ONE_TO_ONE_NAT.
|
||||
//
|
||||
|
@ -1279,7 +1288,7 @@ func (s *AccessConfig) MarshalJSON() ([]byte, error) {
|
|||
|
||||
// Address: A reserved address resource.
|
||||
type Address struct {
|
||||
// Address: The static external IP address represented by this resource.
|
||||
// Address: The static IP address represented by this resource.
|
||||
Address string `json:"address,omitempty"`
|
||||
|
||||
// AddressType: The type of address to reserve. If unspecified, defaults
|
||||
|
@ -7467,8 +7476,7 @@ type GuestOsFeature struct {
|
|||
// Type: The type of supported feature. Currently only
|
||||
// VIRTIO_SCSI_MULTIQUEUE is supported. For newer Windows images, the
|
||||
// server might also populate this property with the value WINDOWS to
|
||||
// indicate that this is a Windows image. This value is purely
|
||||
// informational and does not enable or disable any features.
|
||||
// indicate that this is a Windows image.
|
||||
//
|
||||
// Possible values:
|
||||
// "FEATURE_TYPE_UNSPECIFIED"
|
||||
|
@ -8476,10 +8484,9 @@ type Image struct {
|
|||
// higher. Linux images with kernel versions 3.17 and higher will
|
||||
// support VIRTIO_SCSI_MULTIQUEUE.
|
||||
//
|
||||
// For new Windows images, the server might also populate this field
|
||||
// with the value WINDOWS, to indicate that this is a Windows image.
|
||||
// This value is purely informational and does not enable or disable any
|
||||
// features.
|
||||
// For newer Windows images, the server might also populate this
|
||||
// property with the value WINDOWS to indicate that this is a Windows
|
||||
// image.
|
||||
GuestOsFeatures []*GuestOsFeature `json:"guestOsFeatures,omitempty"`
|
||||
|
||||
// Id: [Output Only] The unique identifier for the resource. This
|
||||
|
@ -14438,6 +14445,12 @@ type NetworkInterface struct {
|
|||
// subnet-mode networks.
|
||||
AliasIpRanges []*AliasIpRange `json:"aliasIpRanges,omitempty"`
|
||||
|
||||
// Fingerprint: Fingerprint hash of contents stored in this network
|
||||
// interface. This field will be ignored when inserting an Instance or
|
||||
// adding a NetworkInterface. An up-to-date fingerprint must be provided
|
||||
// in order to update the NetworkInterface.
|
||||
Fingerprint string `json:"fingerprint,omitempty"`
|
||||
|
||||
// Kind: [Output Only] Type of the resource. Always
|
||||
// compute#networkInterface for network interfaces.
|
||||
Kind string `json:"kind,omitempty"`
|
||||
|
@ -19088,7 +19101,7 @@ type Snapshot struct {
|
|||
// "UPLOADING"
|
||||
Status string `json:"status,omitempty"`
|
||||
|
||||
// StorageBytes: [Output Only] A size of the the storage used by the
|
||||
// StorageBytes: [Output Only] A size of the storage used by the
|
||||
// snapshot. As snapshots share storage, this number is expected to
|
||||
// change with snapshot creation/deletion.
|
||||
StorageBytes int64 `json:"storageBytes,omitempty,string"`
|
||||
|
@ -19499,6 +19512,23 @@ func (s *SslCertificateListWarningData) MarshalJSON() ([]byte, error) {
|
|||
|
||||
// Subnetwork: A Subnetwork resource.
|
||||
type Subnetwork struct {
|
||||
// AllowSubnetCidrRoutesOverlap: Whether this subnetwork can conflict
|
||||
// with static routes. Setting this to true allows this subnetwork's
|
||||
// primary and secondary ranges to conflict with routes that have
|
||||
// already been configured on the corresponding network. Static routes
|
||||
// will take precedence over the subnetwork route if the route prefix
|
||||
// length is at least as large as the subnetwork prefix length.
|
||||
//
|
||||
// Also, packets destined to IPs within subnetwork may contain
|
||||
// private/sensitive data and are prevented from leaving the virtual
|
||||
// network. Setting this field to true will disable this feature.
|
||||
//
|
||||
// The default value is false and applies to all existing subnetworks
|
||||
// and automatically created subnetworks.
|
||||
//
|
||||
// This field cannot be set to true at resource creation time.
|
||||
AllowSubnetCidrRoutesOverlap bool `json:"allowSubnetCidrRoutesOverlap,omitempty"`
|
||||
|
||||
// CreationTimestamp: [Output Only] Creation timestamp in RFC3339 text
|
||||
// format.
|
||||
CreationTimestamp string `json:"creationTimestamp,omitempty"`
|
||||
|
@ -19508,6 +19538,12 @@ type Subnetwork struct {
|
|||
// resource creation time.
|
||||
Description string `json:"description,omitempty"`
|
||||
|
||||
// Fingerprint: Fingerprint of this resource. A hash of the contents
|
||||
// stored in this object. This field is used in optimistic locking. This
|
||||
// field will be ignored when inserting a Subnetwork. An up-to-date
|
||||
// fingerprint must be provided in order to update the Subnetwork.
|
||||
Fingerprint string `json:"fingerprint,omitempty"`
|
||||
|
||||
// GatewayAddress: [Output Only] The gateway address for default routes
|
||||
// to reach destination addresses outside this subnetwork. This field
|
||||
// can be set only at resource creation time.
|
||||
|
@ -19566,21 +19602,22 @@ type Subnetwork struct {
|
|||
// server.
|
||||
googleapi.ServerResponse `json:"-"`
|
||||
|
||||
// ForceSendFields is a list of field names (e.g. "CreationTimestamp")
|
||||
// to unconditionally include in API requests. By default, fields with
|
||||
// empty values are omitted from API requests. However, any non-pointer,
|
||||
// non-interface field appearing in ForceSendFields will be sent to the
|
||||
// server regardless of whether the field is empty or not. This may be
|
||||
// used to include empty fields in Patch requests.
|
||||
// ForceSendFields is a list of field names (e.g.
|
||||
// "AllowSubnetCidrRoutesOverlap") to unconditionally include in API
|
||||
// requests. By default, fields with empty values are omitted from API
|
||||
// requests. However, any non-pointer, non-interface field appearing in
|
||||
// ForceSendFields will be sent to the server regardless of whether the
|
||||
// field is empty or not. This may be used to include empty fields in
|
||||
// Patch requests.
|
||||
ForceSendFields []string `json:"-"`
|
||||
|
||||
// NullFields is a list of field names (e.g. "CreationTimestamp") to
|
||||
// include in API requests with the JSON null value. By default, fields
|
||||
// with empty values are omitted from API requests. However, any field
|
||||
// with an empty value appearing in NullFields will be sent to the
|
||||
// server as null. It is an error if a field in this list has a
|
||||
// non-empty value. This may be used to include null fields in Patch
|
||||
// requests.
|
||||
// NullFields is a list of field names (e.g.
|
||||
// "AllowSubnetCidrRoutesOverlap") to include in API requests with the
|
||||
// JSON null value. By default, fields with empty values are omitted
|
||||
// from API requests. However, any field with an empty value appearing
|
||||
// in NullFields will be sent to the server as null. It is an error if a
|
||||
// field in this list has a non-empty value. This may be used to include
|
||||
// null fields in Patch requests.
|
||||
NullFields []string `json:"-"`
|
||||
}
|
||||
|
||||
|
@ -55146,6 +55183,388 @@ func (c *InstancesTestIamPermissionsCall) Do(opts ...googleapi.CallOption) (*Tes
|
|||
|
||||
}
|
||||
|
||||
// method id "compute.instances.updateAccessConfig":
|
||||
|
||||
type InstancesUpdateAccessConfigCall struct {
|
||||
s *Service
|
||||
project string
|
||||
zone string
|
||||
instance string
|
||||
accessconfig *AccessConfig
|
||||
urlParams_ gensupport.URLParams
|
||||
ctx_ context.Context
|
||||
header_ http.Header
|
||||
}
|
||||
|
||||
// UpdateAccessConfig: Updates the specified access config from an
|
||||
// instance's network interface with the data included in the request.
|
||||
// This method supports PATCH semantics and uses the JSON merge patch
|
||||
// format and processing rules.
|
||||
func (r *InstancesService) UpdateAccessConfig(project string, zone string, instance string, networkInterface string, accessconfig *AccessConfig) *InstancesUpdateAccessConfigCall {
|
||||
c := &InstancesUpdateAccessConfigCall{s: r.s, urlParams_: make(gensupport.URLParams)}
|
||||
c.project = project
|
||||
c.zone = zone
|
||||
c.instance = instance
|
||||
c.urlParams_.Set("networkInterface", networkInterface)
|
||||
c.accessconfig = accessconfig
|
||||
return c
|
||||
}
|
||||
|
||||
// RequestId sets the optional parameter "requestId": An optional
|
||||
// request ID to identify requests. Specify a unique request ID so that
|
||||
// if you must retry your request, the server will know to ignore the
|
||||
// request if it has already been completed.
|
||||
//
|
||||
// For example, consider a situation where you make an initial request
|
||||
// and the request times out. If you make the request again with the
|
||||
// same request ID, the server can check if original operation with the
|
||||
// same request ID was received, and if so, will ignore the second
|
||||
// request. This prevents clients from accidentally creating duplicate
|
||||
// commitments.
|
||||
//
|
||||
// The request ID must be a valid UUID with the exception that zero UUID
|
||||
// is not supported (00000000-0000-0000-0000-000000000000).
|
||||
func (c *InstancesUpdateAccessConfigCall) RequestId(requestId string) *InstancesUpdateAccessConfigCall {
|
||||
c.urlParams_.Set("requestId", requestId)
|
||||
return c
|
||||
}
|
||||
|
||||
// Fields allows partial responses to be retrieved. See
|
||||
// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse
|
||||
// for more information.
|
||||
func (c *InstancesUpdateAccessConfigCall) Fields(s ...googleapi.Field) *InstancesUpdateAccessConfigCall {
|
||||
c.urlParams_.Set("fields", googleapi.CombineFields(s))
|
||||
return c
|
||||
}
|
||||
|
||||
// Context sets the context to be used in this call's Do method. Any
|
||||
// pending HTTP request will be aborted if the provided context is
|
||||
// canceled.
|
||||
func (c *InstancesUpdateAccessConfigCall) Context(ctx context.Context) *InstancesUpdateAccessConfigCall {
|
||||
c.ctx_ = ctx
|
||||
return c
|
||||
}
|
||||
|
||||
// Header returns an http.Header that can be modified by the caller to
|
||||
// add HTTP headers to the request.
|
||||
func (c *InstancesUpdateAccessConfigCall) Header() http.Header {
|
||||
if c.header_ == nil {
|
||||
c.header_ = make(http.Header)
|
||||
}
|
||||
return c.header_
|
||||
}
|
||||
|
||||
func (c *InstancesUpdateAccessConfigCall) doRequest(alt string) (*http.Response, error) {
|
||||
reqHeaders := make(http.Header)
|
||||
for k, v := range c.header_ {
|
||||
reqHeaders[k] = v
|
||||
}
|
||||
reqHeaders.Set("User-Agent", c.s.userAgent())
|
||||
var body io.Reader = nil
|
||||
body, err := googleapi.WithoutDataWrapper.JSONReader(c.accessconfig)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
reqHeaders.Set("Content-Type", "application/json")
|
||||
c.urlParams_.Set("alt", alt)
|
||||
urls := googleapi.ResolveRelative(c.s.BasePath, "{project}/zones/{zone}/instances/{instance}/updateAccessConfig")
|
||||
urls += "?" + c.urlParams_.Encode()
|
||||
req, _ := http.NewRequest("POST", urls, body)
|
||||
req.Header = reqHeaders
|
||||
googleapi.Expand(req.URL, map[string]string{
|
||||
"project": c.project,
|
||||
"zone": c.zone,
|
||||
"instance": c.instance,
|
||||
})
|
||||
return gensupport.SendRequest(c.ctx_, c.s.client, req)
|
||||
}
|
||||
|
||||
// Do executes the "compute.instances.updateAccessConfig" call.
|
||||
// Exactly one of *Operation or error will be non-nil. Any non-2xx
|
||||
// status code is an error. Response headers are in either
|
||||
// *Operation.ServerResponse.Header or (if a response was returned at
|
||||
// all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified
|
||||
// to check whether the returned error was because
|
||||
// http.StatusNotModified was returned.
|
||||
func (c *InstancesUpdateAccessConfigCall) Do(opts ...googleapi.CallOption) (*Operation, error) {
|
||||
gensupport.SetOptions(c.urlParams_, opts...)
|
||||
res, err := c.doRequest("json")
|
||||
if res != nil && res.StatusCode == http.StatusNotModified {
|
||||
if res.Body != nil {
|
||||
res.Body.Close()
|
||||
}
|
||||
return nil, &googleapi.Error{
|
||||
Code: res.StatusCode,
|
||||
Header: res.Header,
|
||||
}
|
||||
}
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
defer googleapi.CloseBody(res)
|
||||
if err := googleapi.CheckResponse(res); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
ret := &Operation{
|
||||
ServerResponse: googleapi.ServerResponse{
|
||||
Header: res.Header,
|
||||
HTTPStatusCode: res.StatusCode,
|
||||
},
|
||||
}
|
||||
target := &ret
|
||||
if err := json.NewDecoder(res.Body).Decode(target); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return ret, nil
|
||||
// {
|
||||
// "description": "Updates the specified access config from an instance's network interface with the data included in the request. This method supports PATCH semantics and uses the JSON merge patch format and processing rules.",
|
||||
// "httpMethod": "POST",
|
||||
// "id": "compute.instances.updateAccessConfig",
|
||||
// "parameterOrder": [
|
||||
// "project",
|
||||
// "zone",
|
||||
// "instance",
|
||||
// "networkInterface"
|
||||
// ],
|
||||
// "parameters": {
|
||||
// "instance": {
|
||||
// "description": "The instance name for this request.",
|
||||
// "location": "path",
|
||||
// "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
|
||||
// "required": true,
|
||||
// "type": "string"
|
||||
// },
|
||||
// "networkInterface": {
|
||||
// "description": "The name of the network interface where the access config is attached.",
|
||||
// "location": "query",
|
||||
// "required": true,
|
||||
// "type": "string"
|
||||
// },
|
||||
// "project": {
|
||||
// "description": "Project ID for this request.",
|
||||
// "location": "path",
|
||||
// "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])?))",
|
||||
// "required": true,
|
||||
// "type": "string"
|
||||
// },
|
||||
// "requestId": {
|
||||
// "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.\n\nFor example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).",
|
||||
// "location": "query",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "zone": {
|
||||
// "description": "The name of the zone for this request.",
|
||||
// "location": "path",
|
||||
// "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
|
||||
// "required": true,
|
||||
// "type": "string"
|
||||
// }
|
||||
// },
|
||||
// "path": "{project}/zones/{zone}/instances/{instance}/updateAccessConfig",
|
||||
// "request": {
|
||||
// "$ref": "AccessConfig"
|
||||
// },
|
||||
// "response": {
|
||||
// "$ref": "Operation"
|
||||
// },
|
||||
// "scopes": [
|
||||
// "https://www.googleapis.com/auth/cloud-platform",
|
||||
// "https://www.googleapis.com/auth/compute"
|
||||
// ]
|
||||
// }
|
||||
|
||||
}
|
||||
|
||||
// method id "compute.instances.updateNetworkInterface":
|
||||
|
||||
type InstancesUpdateNetworkInterfaceCall struct {
|
||||
s *Service
|
||||
project string
|
||||
zone string
|
||||
instance string
|
||||
networkinterface *NetworkInterface
|
||||
urlParams_ gensupport.URLParams
|
||||
ctx_ context.Context
|
||||
header_ http.Header
|
||||
}
|
||||
|
||||
// UpdateNetworkInterface: Updates an instance's network interface. This
|
||||
// method follows PATCH semantics.
|
||||
func (r *InstancesService) UpdateNetworkInterface(project string, zone string, instance string, networkInterface string, networkinterface *NetworkInterface) *InstancesUpdateNetworkInterfaceCall {
|
||||
c := &InstancesUpdateNetworkInterfaceCall{s: r.s, urlParams_: make(gensupport.URLParams)}
|
||||
c.project = project
|
||||
c.zone = zone
|
||||
c.instance = instance
|
||||
c.urlParams_.Set("networkInterface", networkInterface)
|
||||
c.networkinterface = networkinterface
|
||||
return c
|
||||
}
|
||||
|
||||
// RequestId sets the optional parameter "requestId": An optional
|
||||
// request ID to identify requests. Specify a unique request ID so that
|
||||
// if you must retry your request, the server will know to ignore the
|
||||
// request if it has already been completed.
|
||||
//
|
||||
// For example, consider a situation where you make an initial request
|
||||
// and the request times out. If you make the request again with the
|
||||
// same request ID, the server can check if original operation with the
|
||||
// same request ID was received, and if so, will ignore the second
|
||||
// request. This prevents clients from accidentally creating duplicate
|
||||
// commitments.
|
||||
//
|
||||
// The request ID must be a valid UUID with the exception that zero UUID
|
||||
// is not supported (00000000-0000-0000-0000-000000000000).
|
||||
func (c *InstancesUpdateNetworkInterfaceCall) RequestId(requestId string) *InstancesUpdateNetworkInterfaceCall {
|
||||
c.urlParams_.Set("requestId", requestId)
|
||||
return c
|
||||
}
|
||||
|
||||
// Fields allows partial responses to be retrieved. See
|
||||
// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse
|
||||
// for more information.
|
||||
func (c *InstancesUpdateNetworkInterfaceCall) Fields(s ...googleapi.Field) *InstancesUpdateNetworkInterfaceCall {
|
||||
c.urlParams_.Set("fields", googleapi.CombineFields(s))
|
||||
return c
|
||||
}
|
||||
|
||||
// Context sets the context to be used in this call's Do method. Any
|
||||
// pending HTTP request will be aborted if the provided context is
|
||||
// canceled.
|
||||
func (c *InstancesUpdateNetworkInterfaceCall) Context(ctx context.Context) *InstancesUpdateNetworkInterfaceCall {
|
||||
c.ctx_ = ctx
|
||||
return c
|
||||
}
|
||||
|
||||
// Header returns an http.Header that can be modified by the caller to
|
||||
// add HTTP headers to the request.
|
||||
func (c *InstancesUpdateNetworkInterfaceCall) Header() http.Header {
|
||||
if c.header_ == nil {
|
||||
c.header_ = make(http.Header)
|
||||
}
|
||||
return c.header_
|
||||
}
|
||||
|
||||
func (c *InstancesUpdateNetworkInterfaceCall) doRequest(alt string) (*http.Response, error) {
|
||||
reqHeaders := make(http.Header)
|
||||
for k, v := range c.header_ {
|
||||
reqHeaders[k] = v
|
||||
}
|
||||
reqHeaders.Set("User-Agent", c.s.userAgent())
|
||||
var body io.Reader = nil
|
||||
body, err := googleapi.WithoutDataWrapper.JSONReader(c.networkinterface)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
reqHeaders.Set("Content-Type", "application/json")
|
||||
c.urlParams_.Set("alt", alt)
|
||||
urls := googleapi.ResolveRelative(c.s.BasePath, "{project}/zones/{zone}/instances/{instance}/updateNetworkInterface")
|
||||
urls += "?" + c.urlParams_.Encode()
|
||||
req, _ := http.NewRequest("PATCH", urls, body)
|
||||
req.Header = reqHeaders
|
||||
googleapi.Expand(req.URL, map[string]string{
|
||||
"project": c.project,
|
||||
"zone": c.zone,
|
||||
"instance": c.instance,
|
||||
})
|
||||
return gensupport.SendRequest(c.ctx_, c.s.client, req)
|
||||
}
|
||||
|
||||
// Do executes the "compute.instances.updateNetworkInterface" call.
|
||||
// Exactly one of *Operation or error will be non-nil. Any non-2xx
|
||||
// status code is an error. Response headers are in either
|
||||
// *Operation.ServerResponse.Header or (if a response was returned at
|
||||
// all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified
|
||||
// to check whether the returned error was because
|
||||
// http.StatusNotModified was returned.
|
||||
func (c *InstancesUpdateNetworkInterfaceCall) Do(opts ...googleapi.CallOption) (*Operation, error) {
|
||||
gensupport.SetOptions(c.urlParams_, opts...)
|
||||
res, err := c.doRequest("json")
|
||||
if res != nil && res.StatusCode == http.StatusNotModified {
|
||||
if res.Body != nil {
|
||||
res.Body.Close()
|
||||
}
|
||||
return nil, &googleapi.Error{
|
||||
Code: res.StatusCode,
|
||||
Header: res.Header,
|
||||
}
|
||||
}
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
defer googleapi.CloseBody(res)
|
||||
if err := googleapi.CheckResponse(res); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
ret := &Operation{
|
||||
ServerResponse: googleapi.ServerResponse{
|
||||
Header: res.Header,
|
||||
HTTPStatusCode: res.StatusCode,
|
||||
},
|
||||
}
|
||||
target := &ret
|
||||
if err := json.NewDecoder(res.Body).Decode(target); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return ret, nil
|
||||
// {
|
||||
// "description": "Updates an instance's network interface. This method follows PATCH semantics.",
|
||||
// "httpMethod": "PATCH",
|
||||
// "id": "compute.instances.updateNetworkInterface",
|
||||
// "parameterOrder": [
|
||||
// "project",
|
||||
// "zone",
|
||||
// "instance",
|
||||
// "networkInterface"
|
||||
// ],
|
||||
// "parameters": {
|
||||
// "instance": {
|
||||
// "description": "The instance name for this request.",
|
||||
// "location": "path",
|
||||
// "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
|
||||
// "required": true,
|
||||
// "type": "string"
|
||||
// },
|
||||
// "networkInterface": {
|
||||
// "description": "The name of the network interface to update.",
|
||||
// "location": "query",
|
||||
// "required": true,
|
||||
// "type": "string"
|
||||
// },
|
||||
// "project": {
|
||||
// "description": "Project ID for this request.",
|
||||
// "location": "path",
|
||||
// "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])?))",
|
||||
// "required": true,
|
||||
// "type": "string"
|
||||
// },
|
||||
// "requestId": {
|
||||
// "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.\n\nFor example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).",
|
||||
// "location": "query",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "zone": {
|
||||
// "description": "The name of the zone for this request.",
|
||||
// "location": "path",
|
||||
// "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
|
||||
// "required": true,
|
||||
// "type": "string"
|
||||
// }
|
||||
// },
|
||||
// "path": "{project}/zones/{zone}/instances/{instance}/updateNetworkInterface",
|
||||
// "request": {
|
||||
// "$ref": "NetworkInterface"
|
||||
// },
|
||||
// "response": {
|
||||
// "$ref": "Operation"
|
||||
// },
|
||||
// "scopes": [
|
||||
// "https://www.googleapis.com/auth/cloud-platform",
|
||||
// "https://www.googleapis.com/auth/compute"
|
||||
// ]
|
||||
// }
|
||||
|
||||
}
|
||||
|
||||
// method id "compute.interconnectAttachments.aggregatedList":
|
||||
|
||||
type InterconnectAttachmentsAggregatedListCall struct {
|
||||
|
@ -77404,6 +77823,191 @@ func (c *SubnetworksListCall) Pages(ctx context.Context, f func(*SubnetworkList)
|
|||
}
|
||||
}
|
||||
|
||||
// method id "compute.subnetworks.patch":
|
||||
|
||||
type SubnetworksPatchCall struct {
|
||||
s *Service
|
||||
project string
|
||||
region string
|
||||
subnetwork string
|
||||
subnetwork2 *Subnetwork
|
||||
urlParams_ gensupport.URLParams
|
||||
ctx_ context.Context
|
||||
header_ http.Header
|
||||
}
|
||||
|
||||
// Patch: Patches the specified subnetwork with the data included in the
|
||||
// request. Only the following fields within the subnetwork resource can
|
||||
// be specified in the request: secondary_ip_range and
|
||||
// allow_subnet_cidr_routes_overlap. It is also mandatory to specify the
|
||||
// current fingeprint of the subnetwork resource being patched.
|
||||
func (r *SubnetworksService) Patch(project string, region string, subnetwork string, subnetwork2 *Subnetwork) *SubnetworksPatchCall {
|
||||
c := &SubnetworksPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
|
||||
c.project = project
|
||||
c.region = region
|
||||
c.subnetwork = subnetwork
|
||||
c.subnetwork2 = subnetwork2
|
||||
return c
|
||||
}
|
||||
|
||||
// RequestId sets the optional parameter "requestId": An optional
|
||||
// request ID to identify requests. Specify a unique request ID so that
|
||||
// if you must retry your request, the server will know to ignore the
|
||||
// request if it has already been completed.
|
||||
//
|
||||
// For example, consider a situation where you make an initial request
|
||||
// and the request times out. If you make the request again with the
|
||||
// same request ID, the server can check if original operation with the
|
||||
// same request ID was received, and if so, will ignore the second
|
||||
// request. This prevents clients from accidentally creating duplicate
|
||||
// commitments.
|
||||
//
|
||||
// The request ID must be a valid UUID with the exception that zero UUID
|
||||
// is not supported (00000000-0000-0000-0000-000000000000).
|
||||
func (c *SubnetworksPatchCall) RequestId(requestId string) *SubnetworksPatchCall {
|
||||
c.urlParams_.Set("requestId", requestId)
|
||||
return c
|
||||
}
|
||||
|
||||
// Fields allows partial responses to be retrieved. See
|
||||
// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse
|
||||
// for more information.
|
||||
func (c *SubnetworksPatchCall) Fields(s ...googleapi.Field) *SubnetworksPatchCall {
|
||||
c.urlParams_.Set("fields", googleapi.CombineFields(s))
|
||||
return c
|
||||
}
|
||||
|
||||
// Context sets the context to be used in this call's Do method. Any
|
||||
// pending HTTP request will be aborted if the provided context is
|
||||
// canceled.
|
||||
func (c *SubnetworksPatchCall) Context(ctx context.Context) *SubnetworksPatchCall {
|
||||
c.ctx_ = ctx
|
||||
return c
|
||||
}
|
||||
|
||||
// Header returns an http.Header that can be modified by the caller to
|
||||
// add HTTP headers to the request.
|
||||
func (c *SubnetworksPatchCall) Header() http.Header {
|
||||
if c.header_ == nil {
|
||||
c.header_ = make(http.Header)
|
||||
}
|
||||
return c.header_
|
||||
}
|
||||
|
||||
func (c *SubnetworksPatchCall) doRequest(alt string) (*http.Response, error) {
|
||||
reqHeaders := make(http.Header)
|
||||
for k, v := range c.header_ {
|
||||
reqHeaders[k] = v
|
||||
}
|
||||
reqHeaders.Set("User-Agent", c.s.userAgent())
|
||||
var body io.Reader = nil
|
||||
body, err := googleapi.WithoutDataWrapper.JSONReader(c.subnetwork2)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
reqHeaders.Set("Content-Type", "application/json")
|
||||
c.urlParams_.Set("alt", alt)
|
||||
urls := googleapi.ResolveRelative(c.s.BasePath, "{project}/regions/{region}/subnetworks/{subnetwork}")
|
||||
urls += "?" + c.urlParams_.Encode()
|
||||
req, _ := http.NewRequest("PATCH", urls, body)
|
||||
req.Header = reqHeaders
|
||||
googleapi.Expand(req.URL, map[string]string{
|
||||
"project": c.project,
|
||||
"region": c.region,
|
||||
"subnetwork": c.subnetwork,
|
||||
})
|
||||
return gensupport.SendRequest(c.ctx_, c.s.client, req)
|
||||
}
|
||||
|
||||
// Do executes the "compute.subnetworks.patch" call.
|
||||
// Exactly one of *Operation or error will be non-nil. Any non-2xx
|
||||
// status code is an error. Response headers are in either
|
||||
// *Operation.ServerResponse.Header or (if a response was returned at
|
||||
// all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified
|
||||
// to check whether the returned error was because
|
||||
// http.StatusNotModified was returned.
|
||||
func (c *SubnetworksPatchCall) Do(opts ...googleapi.CallOption) (*Operation, error) {
|
||||
gensupport.SetOptions(c.urlParams_, opts...)
|
||||
res, err := c.doRequest("json")
|
||||
if res != nil && res.StatusCode == http.StatusNotModified {
|
||||
if res.Body != nil {
|
||||
res.Body.Close()
|
||||
}
|
||||
return nil, &googleapi.Error{
|
||||
Code: res.StatusCode,
|
||||
Header: res.Header,
|
||||
}
|
||||
}
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
defer googleapi.CloseBody(res)
|
||||
if err := googleapi.CheckResponse(res); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
ret := &Operation{
|
||||
ServerResponse: googleapi.ServerResponse{
|
||||
Header: res.Header,
|
||||
HTTPStatusCode: res.StatusCode,
|
||||
},
|
||||
}
|
||||
target := &ret
|
||||
if err := json.NewDecoder(res.Body).Decode(target); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return ret, nil
|
||||
// {
|
||||
// "description": "Patches the specified subnetwork with the data included in the request. Only the following fields within the subnetwork resource can be specified in the request: secondary_ip_range and allow_subnet_cidr_routes_overlap. It is also mandatory to specify the current fingeprint of the subnetwork resource being patched.",
|
||||
// "httpMethod": "PATCH",
|
||||
// "id": "compute.subnetworks.patch",
|
||||
// "parameterOrder": [
|
||||
// "project",
|
||||
// "region",
|
||||
// "subnetwork"
|
||||
// ],
|
||||
// "parameters": {
|
||||
// "project": {
|
||||
// "description": "Project ID for this request.",
|
||||
// "location": "path",
|
||||
// "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])?))",
|
||||
// "required": true,
|
||||
// "type": "string"
|
||||
// },
|
||||
// "region": {
|
||||
// "description": "Name of the region scoping this request.",
|
||||
// "location": "path",
|
||||
// "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
|
||||
// "required": true,
|
||||
// "type": "string"
|
||||
// },
|
||||
// "requestId": {
|
||||
// "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.\n\nFor example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).",
|
||||
// "location": "query",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "subnetwork": {
|
||||
// "description": "Name of the Subnetwork resource to patch.",
|
||||
// "location": "path",
|
||||
// "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
|
||||
// "required": true,
|
||||
// "type": "string"
|
||||
// }
|
||||
// },
|
||||
// "path": "{project}/regions/{region}/subnetworks/{subnetwork}",
|
||||
// "request": {
|
||||
// "$ref": "Subnetwork"
|
||||
// },
|
||||
// "response": {
|
||||
// "$ref": "Operation"
|
||||
// },
|
||||
// "scopes": [
|
||||
// "https://www.googleapis.com/auth/cloud-platform",
|
||||
// "https://www.googleapis.com/auth/compute"
|
||||
// ]
|
||||
// }
|
||||
|
||||
}
|
||||
|
||||
// method id "compute.subnetworks.setIamPolicy":
|
||||
|
||||
type SubnetworksSetIamPolicyCall struct {
|
||||
|
|
26
vendor/google.golang.org/api/compute/v1/compute-api.json
generated
vendored
26
vendor/google.golang.org/api/compute/v1/compute-api.json
generated
vendored
|
@ -1,11 +1,11 @@
|
|||
{
|
||||
"kind": "discovery#restDescription",
|
||||
"etag": "\"YWOzh2SDasdU84ArJnpYek-OMdg/bvUbOBPnfuX4gDZ5aBr7PZU4ZJM\"",
|
||||
"etag": "\"YWOzh2SDasdU84ArJnpYek-OMdg/cngOjaowRI92cKIanqfdVBHzE7E\"",
|
||||
"discoveryVersion": "v1",
|
||||
"id": "compute:v1",
|
||||
"name": "compute",
|
||||
"version": "v1",
|
||||
"revision": "20170905",
|
||||
"revision": "20170908",
|
||||
"title": "Compute Engine API",
|
||||
"description": "Creates and runs virtual machines on Google Cloud Platform.",
|
||||
"ownerDomain": "google.com",
|
||||
|
@ -20,7 +20,7 @@
|
|||
"basePath": "/compute/v1/projects/",
|
||||
"rootUrl": "https://www.googleapis.com/",
|
||||
"servicePath": "compute/v1/projects/",
|
||||
"batchPath": "batch",
|
||||
"batchPath": "batch/compute/v1",
|
||||
"parameters": {
|
||||
"alt": {
|
||||
"type": "string",
|
||||
|
@ -336,7 +336,7 @@
|
|||
"properties": {
|
||||
"address": {
|
||||
"type": "string",
|
||||
"description": "The static external IP address represented by this resource."
|
||||
"description": "The static IP address represented by this resource."
|
||||
},
|
||||
"creationTimestamp": {
|
||||
"type": "string",
|
||||
|
@ -2805,7 +2805,7 @@
|
|||
"properties": {
|
||||
"type": {
|
||||
"type": "string",
|
||||
"description": "The type of supported feature. Currently only VIRTIO_SCSI_MULTIQUEUE is supported. For newer Windows images, the server might also populate this property with the value WINDOWS to indicate that this is a Windows image. This value is purely informational and does not enable or disable any features.",
|
||||
"description": "The type of supported feature. Currently only VIRTIO_SCSI_MULTIQUEUE is supported. For newer Windows images, the server might also populate this property with the value WINDOWS to indicate that this is a Windows image.",
|
||||
"enum": [
|
||||
"FEATURE_TYPE_UNSPECIFIED",
|
||||
"VIRTIO_SCSI_MULTIQUEUE",
|
||||
|
@ -3296,7 +3296,7 @@
|
|||
},
|
||||
"guestOsFeatures": {
|
||||
"type": "array",
|
||||
"description": "A list of features to enable on the guest OS. Applicable for bootable images only. Currently, only one feature can be enabled, VIRTIO_SCSI_MULTIQUEUE, which allows each virtual CPU to have its own queue. For Windows images, you can only enable VIRTIO_SCSI_MULTIQUEUE on images with driver version 1.2.0.1621 or higher. Linux images with kernel versions 3.17 and higher will support VIRTIO_SCSI_MULTIQUEUE.\n\nFor new Windows images, the server might also populate this field with the value WINDOWS, to indicate that this is a Windows image. This value is purely informational and does not enable or disable any features.",
|
||||
"description": "A list of features to enable on the guest OS. Applicable for bootable images only. Currently, only one feature can be enabled, VIRTIO_SCSI_MULTIQUEUE, which allows each virtual CPU to have its own queue. For Windows images, you can only enable VIRTIO_SCSI_MULTIQUEUE on images with driver version 1.2.0.1621 or higher. Linux images with kernel versions 3.17 and higher will support VIRTIO_SCSI_MULTIQUEUE.\n\nFor newer Windows images, the server might also populate this property with the value WINDOWS to indicate that this is a Windows image.",
|
||||
"items": {
|
||||
"$ref": "GuestOsFeature"
|
||||
}
|
||||
|
@ -3390,6 +3390,18 @@
|
|||
"type": "string",
|
||||
"description": "The ID value of the disk used to create this image. This value may be used to determine whether the image was taken from the current or a previous instance of a given disk name."
|
||||
},
|
||||
"sourceImage": {
|
||||
"type": "string",
|
||||
"description": "URL of the source image used to create this image. This can be a full or valid partial URL. You must provide exactly one of: \n- this property, or \n- the rawDisk.source property, or \n- the sourceDisk property in order to create an image."
|
||||
},
|
||||
"sourceImageEncryptionKey": {
|
||||
"$ref": "CustomerEncryptionKey",
|
||||
"description": "The customer-supplied encryption key of the source image. Required if the source image is protected by a customer-supplied encryption key."
|
||||
},
|
||||
"sourceImageId": {
|
||||
"type": "string",
|
||||
"description": "[Output Only] The ID value of the image used to create this image. This value may be used to determine whether the image was taken from the current or a previous instance of a given image name."
|
||||
},
|
||||
"sourceType": {
|
||||
"type": "string",
|
||||
"description": "The type of the image used to create this disk. The default and only value is RAW",
|
||||
|
@ -7117,7 +7129,7 @@
|
|||
},
|
||||
"storageBytes": {
|
||||
"type": "string",
|
||||
"description": "[Output Only] A size of the the storage used by the snapshot. As snapshots share storage, this number is expected to change with snapshot creation/deletion.",
|
||||
"description": "[Output Only] A size of the storage used by the snapshot. As snapshots share storage, this number is expected to change with snapshot creation/deletion.",
|
||||
"format": "int64"
|
||||
},
|
||||
"storageBytesStatus": {
|
||||
|
|
32
vendor/google.golang.org/api/compute/v1/compute-gen.go
generated
vendored
32
vendor/google.golang.org/api/compute/v1/compute-gen.go
generated
vendored
|
@ -1033,7 +1033,7 @@ func (s *AccessConfig) MarshalJSON() ([]byte, error) {
|
|||
|
||||
// Address: A reserved address resource.
|
||||
type Address struct {
|
||||
// Address: The static external IP address represented by this resource.
|
||||
// Address: The static IP address represented by this resource.
|
||||
Address string `json:"address,omitempty"`
|
||||
|
||||
// CreationTimestamp: [Output Only] Creation timestamp in RFC3339 text
|
||||
|
@ -5049,8 +5049,7 @@ type GuestOsFeature struct {
|
|||
// Type: The type of supported feature. Currently only
|
||||
// VIRTIO_SCSI_MULTIQUEUE is supported. For newer Windows images, the
|
||||
// server might also populate this property with the value WINDOWS to
|
||||
// indicate that this is a Windows image. This value is purely
|
||||
// informational and does not enable or disable any features.
|
||||
// indicate that this is a Windows image.
|
||||
//
|
||||
// Possible values:
|
||||
// "FEATURE_TYPE_UNSPECIFIED"
|
||||
|
@ -5758,10 +5757,9 @@ type Image struct {
|
|||
// higher. Linux images with kernel versions 3.17 and higher will
|
||||
// support VIRTIO_SCSI_MULTIQUEUE.
|
||||
//
|
||||
// For new Windows images, the server might also populate this field
|
||||
// with the value WINDOWS, to indicate that this is a Windows image.
|
||||
// This value is purely informational and does not enable or disable any
|
||||
// features.
|
||||
// For newer Windows images, the server might also populate this
|
||||
// property with the value WINDOWS to indicate that this is a Windows
|
||||
// image.
|
||||
GuestOsFeatures []*GuestOsFeature `json:"guestOsFeatures,omitempty"`
|
||||
|
||||
// Id: [Output Only] The unique identifier for the resource. This
|
||||
|
@ -5840,6 +5838,24 @@ type Image struct {
|
|||
// the current or a previous instance of a given disk name.
|
||||
SourceDiskId string `json:"sourceDiskId,omitempty"`
|
||||
|
||||
// SourceImage: URL of the source image used to create this image. This
|
||||
// can be a full or valid partial URL. You must provide exactly one of:
|
||||
//
|
||||
// - this property, or
|
||||
// - the rawDisk.source property, or
|
||||
// - the sourceDisk property in order to create an image.
|
||||
SourceImage string `json:"sourceImage,omitempty"`
|
||||
|
||||
// SourceImageEncryptionKey: The customer-supplied encryption key of the
|
||||
// source image. Required if the source image is protected by a
|
||||
// customer-supplied encryption key.
|
||||
SourceImageEncryptionKey *CustomerEncryptionKey `json:"sourceImageEncryptionKey,omitempty"`
|
||||
|
||||
// SourceImageId: [Output Only] The ID value of the image used to create
|
||||
// this image. This value may be used to determine whether the image was
|
||||
// taken from the current or a previous instance of a given image name.
|
||||
SourceImageId string `json:"sourceImageId,omitempty"`
|
||||
|
||||
// SourceType: The type of the image used to create this disk. The
|
||||
// default and only value is RAW
|
||||
//
|
||||
|
@ -11638,7 +11654,7 @@ type Snapshot struct {
|
|||
// "UPLOADING"
|
||||
Status string `json:"status,omitempty"`
|
||||
|
||||
// StorageBytes: [Output Only] A size of the the storage used by the
|
||||
// StorageBytes: [Output Only] A size of the storage used by the
|
||||
// snapshot. As snapshots share storage, this number is expected to
|
||||
// change with snapshot creation/deletion.
|
||||
StorageBytes int64 `json:"storageBytes,omitempty,string"`
|
||||
|
|
3051
vendor/google.golang.org/api/container/v1/container-api.json
generated
vendored
3051
vendor/google.golang.org/api/container/v1/container-api.json
generated
vendored
File diff suppressed because it is too large
Load diff
50
vendor/google.golang.org/api/container/v1/container-gen.go
generated
vendored
50
vendor/google.golang.org/api/container/v1/container-gen.go
generated
vendored
|
@ -188,6 +188,13 @@ type AddonsConfig struct {
|
|||
// KubernetesDashboard: Configuration for the Kubernetes Dashboard.
|
||||
KubernetesDashboard *KubernetesDashboard `json:"kubernetesDashboard,omitempty"`
|
||||
|
||||
// NetworkPolicyConfig: Configuration for NetworkPolicy. This only
|
||||
// tracks whether the addon
|
||||
// is enabled or not on the Master, it does not track whether network
|
||||
// policy
|
||||
// is enabled for the nodes.
|
||||
NetworkPolicyConfig *NetworkPolicyConfig `json:"networkPolicyConfig,omitempty"`
|
||||
|
||||
// ForceSendFields is a list of field names (e.g.
|
||||
// "HorizontalPodAutoscaling") to unconditionally include in API
|
||||
// requests. By default, fields with empty values are omitted from API
|
||||
|
@ -1420,6 +1427,38 @@ func (s *NetworkPolicy) MarshalJSON() ([]byte, error) {
|
|||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
// NetworkPolicyConfig: Configuration for NetworkPolicy. This only
|
||||
// tracks whether the addon
|
||||
// is enabled or not on the Master, it does not track whether network
|
||||
// policy
|
||||
// is enabled for the nodes.
|
||||
type NetworkPolicyConfig struct {
|
||||
// Disabled: Whether NetworkPolicy is enabled for this cluster.
|
||||
Disabled bool `json:"disabled,omitempty"`
|
||||
|
||||
// ForceSendFields is a list of field names (e.g. "Disabled") to
|
||||
// unconditionally include in API requests. By default, fields with
|
||||
// empty values are omitted from API requests. However, any non-pointer,
|
||||
// non-interface field appearing in ForceSendFields will be sent to the
|
||||
// server regardless of whether the field is empty or not. This may be
|
||||
// used to include empty fields in Patch requests.
|
||||
ForceSendFields []string `json:"-"`
|
||||
|
||||
// NullFields is a list of field names (e.g. "Disabled") to include in
|
||||
// API requests with the JSON null value. By default, fields with empty
|
||||
// values are omitted from API requests. However, any field with an
|
||||
// empty value appearing in NullFields will be sent to the server as
|
||||
// null. It is an error if a field in this list has a non-empty value.
|
||||
// This may be used to include null fields in Patch requests.
|
||||
NullFields []string `json:"-"`
|
||||
}
|
||||
|
||||
func (s *NetworkPolicyConfig) MarshalJSON() ([]byte, error) {
|
||||
type noMethod NetworkPolicyConfig
|
||||
raw := noMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
// NodeConfig: Parameters that describe the nodes in a cluster.
|
||||
type NodeConfig struct {
|
||||
// Accelerators: A list of hardware accelerators to be attached to each
|
||||
|
@ -1500,18 +1539,18 @@ type NodeConfig struct {
|
|||
// The total size of all keys and values must be less than 512 KB.
|
||||
Metadata map[string]string `json:"metadata,omitempty"`
|
||||
|
||||
// MinCpuPlatform: Minimum cpu/platform to be used by this instance. The
|
||||
// MinCpuPlatform: Minimum CPU platform to be used by this instance. The
|
||||
// instance may be
|
||||
// scheduled on the specified or newer cpu/platform. Applicable values
|
||||
// scheduled on the specified or newer CPU platform. Applicable values
|
||||
// are the
|
||||
// friendly names of CPU platforms, such as
|
||||
// <code>minCpuPlatform: "Intel Haswell"</code>
|
||||
// or
|
||||
// <code>minCpuPlatform: "Intel Sandy Bridge"</code>. For
|
||||
// more
|
||||
// information, read <a
|
||||
// href="/compute/docs/instances/specify-min-cpu-platform">Specifying a
|
||||
// Minimum CPU Platform</a>.
|
||||
// information, read [how to specify min CPU
|
||||
// platform](https://cloud.google.com/compute/docs/instances/specify-min-
|
||||
// cpu-platform)
|
||||
MinCpuPlatform string `json:"minCpuPlatform,omitempty"`
|
||||
|
||||
// OauthScopes: The set of Google API scopes to be made available on all
|
||||
|
@ -1808,6 +1847,7 @@ type Operation struct {
|
|||
// "SET_MASTER_AUTH" - Set/generate master auth materials
|
||||
// "SET_NODE_POOL_SIZE" - Set node pool size.
|
||||
// "SET_NETWORK_POLICY" - Updates network policy for a cluster.
|
||||
// "SET_MAINTENANCE_POLICY" - Set the maintenance policy.
|
||||
OperationType string `json:"operationType,omitempty"`
|
||||
|
||||
// SelfLink: Server-defined URL for the resource.
|
||||
|
|
3223
vendor/google.golang.org/api/container/v1beta1/container-api.json
generated
vendored
3223
vendor/google.golang.org/api/container/v1beta1/container-api.json
generated
vendored
File diff suppressed because it is too large
Load diff
49
vendor/google.golang.org/api/container/v1beta1/container-gen.go
generated
vendored
49
vendor/google.golang.org/api/container/v1beta1/container-gen.go
generated
vendored
|
@ -236,6 +236,13 @@ type AddonsConfig struct {
|
|||
// KubernetesDashboard: Configuration for the Kubernetes Dashboard.
|
||||
KubernetesDashboard *KubernetesDashboard `json:"kubernetesDashboard,omitempty"`
|
||||
|
||||
// NetworkPolicyConfig: Configuration for NetworkPolicy. This only
|
||||
// tracks whether the addon
|
||||
// is enabled or not on the Master, it does not track whether network
|
||||
// policy
|
||||
// is enabled for the nodes.
|
||||
NetworkPolicyConfig *NetworkPolicyConfig `json:"networkPolicyConfig,omitempty"`
|
||||
|
||||
// ForceSendFields is a list of field names (e.g.
|
||||
// "HorizontalPodAutoscaling") to unconditionally include in API
|
||||
// requests. By default, fields with empty values are omitted from API
|
||||
|
@ -1556,6 +1563,38 @@ func (s *NetworkPolicy) MarshalJSON() ([]byte, error) {
|
|||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
// NetworkPolicyConfig: Configuration for NetworkPolicy. This only
|
||||
// tracks whether the addon
|
||||
// is enabled or not on the Master, it does not track whether network
|
||||
// policy
|
||||
// is enabled for the nodes.
|
||||
type NetworkPolicyConfig struct {
|
||||
// Disabled: Whether NetworkPolicy is enabled for this cluster.
|
||||
Disabled bool `json:"disabled,omitempty"`
|
||||
|
||||
// ForceSendFields is a list of field names (e.g. "Disabled") to
|
||||
// unconditionally include in API requests. By default, fields with
|
||||
// empty values are omitted from API requests. However, any non-pointer,
|
||||
// non-interface field appearing in ForceSendFields will be sent to the
|
||||
// server regardless of whether the field is empty or not. This may be
|
||||
// used to include empty fields in Patch requests.
|
||||
ForceSendFields []string `json:"-"`
|
||||
|
||||
// NullFields is a list of field names (e.g. "Disabled") to include in
|
||||
// API requests with the JSON null value. By default, fields with empty
|
||||
// values are omitted from API requests. However, any field with an
|
||||
// empty value appearing in NullFields will be sent to the server as
|
||||
// null. It is an error if a field in this list has a non-empty value.
|
||||
// This may be used to include null fields in Patch requests.
|
||||
NullFields []string `json:"-"`
|
||||
}
|
||||
|
||||
func (s *NetworkPolicyConfig) MarshalJSON() ([]byte, error) {
|
||||
type noMethod NetworkPolicyConfig
|
||||
raw := noMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
// NodeConfig: Parameters that describe the nodes in a cluster.
|
||||
type NodeConfig struct {
|
||||
// Accelerators: A list of hardware accelerators to be attached to each
|
||||
|
@ -1636,18 +1675,18 @@ type NodeConfig struct {
|
|||
// The total size of all keys and values must be less than 512 KB.
|
||||
Metadata map[string]string `json:"metadata,omitempty"`
|
||||
|
||||
// MinCpuPlatform: Minimum cpu/platform to be used by this instance. The
|
||||
// MinCpuPlatform: Minimum CPU platform to be used by this instance. The
|
||||
// instance may be
|
||||
// scheduled on the specified or newer cpu/platform. Applicable values
|
||||
// scheduled on the specified or newer CPU platform. Applicable values
|
||||
// are the
|
||||
// friendly names of CPU platforms, such as
|
||||
// <code>minCpuPlatform: "Intel Haswell"</code>
|
||||
// or
|
||||
// <code>minCpuPlatform: "Intel Sandy Bridge"</code>. For
|
||||
// more
|
||||
// information, read <a
|
||||
// href="/compute/docs/instances/specify-min-cpu-platform">Specifying a
|
||||
// Minimum CPU Platform</a>.
|
||||
// information, read [how to specify min CPU
|
||||
// platform](https://cloud.google.com/compute/docs/instances/specify-min-
|
||||
// cpu-platform)
|
||||
MinCpuPlatform string `json:"minCpuPlatform,omitempty"`
|
||||
|
||||
// OauthScopes: The set of Google API scopes to be made available on all
|
||||
|
|
180
vendor/google.golang.org/api/content/v2/content-api.json
generated
vendored
180
vendor/google.golang.org/api/content/v2/content-api.json
generated
vendored
|
@ -1,12 +1,12 @@
|
|||
{
|
||||
"kind": "discovery#restDescription",
|
||||
"etag": "\"YWOzh2SDasdU84ArJnpYek-OMdg/Ogd-A7sPcNqrkouPfVxTAQBSYIA\"",
|
||||
"etag": "\"YWOzh2SDasdU84ArJnpYek-OMdg/dPMCZ2Ey4YVlnyiRa2uPlyOUPp4\"",
|
||||
"discoveryVersion": "v1",
|
||||
"id": "content:v2",
|
||||
"name": "content",
|
||||
"canonicalName": "Shopping Content",
|
||||
"version": "v2",
|
||||
"revision": "20170914",
|
||||
"revision": "20170928",
|
||||
"title": "Content API for Shopping",
|
||||
"description": "Manages product items, inventory, and Merchant Center accounts for Google Shopping.",
|
||||
"ownerDomain": "google.com",
|
||||
|
@ -136,6 +136,13 @@
|
|||
"websiteUrl": {
|
||||
"type": "string",
|
||||
"description": "The merchant's website."
|
||||
},
|
||||
"youtubeChannelLinks": {
|
||||
"type": "array",
|
||||
"description": "List of linked YouTube channels that are active or pending approval. To create a new link request, add a new link with status active to the list. It will remain in a pending state until approved or rejected in the YT Creator Studio interface. To delete an active link, or to cancel a link request, remove it from the list.",
|
||||
"items": {
|
||||
"$ref": "AccountYouTubeChannelLink"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
|
@ -383,6 +390,32 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
"AccountYouTubeChannelLink": {
|
||||
"id": "AccountYouTubeChannelLink",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"channelId": {
|
||||
"type": "string",
|
||||
"description": "Channel ID.",
|
||||
"annotations": {
|
||||
"required": [
|
||||
"content.accounts.insert",
|
||||
"content.accounts.update"
|
||||
]
|
||||
}
|
||||
},
|
||||
"status": {
|
||||
"type": "string",
|
||||
"description": "Status of the link between this Merchant Center account and the YouTube channel. Upon retrieval, it represents the actual status of the link and can be either active if it was approved in YT Creator Studio or pending if it's pending approval. Upon insertion, it represents the intended status of the link. Re-uploading a link with status active when it's still pending or with status pending when it's already active will have no effect: the status will remain unchanged. Re-uploading a link with deprecated status inactive is equivalent to not submitting the link at all and will delete the link if it was active or cancel the link request if it was pending.",
|
||||
"annotations": {
|
||||
"required": [
|
||||
"content.accounts.insert",
|
||||
"content.accounts.update"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"AccountsAuthInfoResponse": {
|
||||
"id": "AccountsAuthInfoResponse",
|
||||
"type": "object",
|
||||
|
@ -792,12 +825,7 @@
|
|||
},
|
||||
"contentLanguage": {
|
||||
"type": "string",
|
||||
"description": "The two-letter ISO 639-1 language of the items in the feed. Must be a valid language for targetCountry.",
|
||||
"annotations": {
|
||||
"required": [
|
||||
"content.datafeeds.insert"
|
||||
]
|
||||
}
|
||||
"description": "[DEPRECATED] Please use target.language instead. The two-letter ISO 639-1 language of the items in the feed. Must be a valid language for targetCountry."
|
||||
},
|
||||
"contentType": {
|
||||
"type": "string",
|
||||
|
@ -839,7 +867,7 @@
|
|||
},
|
||||
"intendedDestinations": {
|
||||
"type": "array",
|
||||
"description": "The list of intended destinations (corresponds to checked check boxes in Merchant Center).",
|
||||
"description": "[DEPRECATED] Please use target.includedDestination instead. The list of intended destinations (corresponds to checked check boxes in Merchant Center).",
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
|
@ -860,12 +888,13 @@
|
|||
},
|
||||
"targetCountry": {
|
||||
"type": "string",
|
||||
"description": "The country where the items in the feed will be included in the search index, represented as a CLDR territory code.",
|
||||
"annotations": {
|
||||
"required": [
|
||||
"content.datafeeds.insert",
|
||||
"content.datafeeds.update"
|
||||
]
|
||||
"description": "[DEPRECATED] Please use target.country instead. The country where the items in the feed will be included in the search index, represented as a CLDR territory code."
|
||||
},
|
||||
"targets": {
|
||||
"type": "array",
|
||||
"description": "The targets this feed should apply to (country, language, destinations).",
|
||||
"items": {
|
||||
"$ref": "DatafeedTarget"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -939,6 +968,10 @@
|
|||
"type": "object",
|
||||
"description": "The status of a datafeed, i.e., the result of the last retrieval of the datafeed computed asynchronously when the feed processing is finished.",
|
||||
"properties": {
|
||||
"country": {
|
||||
"type": "string",
|
||||
"description": "The country for which the status is reported, represented as a CLDR territory code."
|
||||
},
|
||||
"datafeedId": {
|
||||
"type": "string",
|
||||
"description": "The ID of the feed for which the status is reported.",
|
||||
|
@ -966,6 +999,10 @@
|
|||
"description": "Identifies what kind of resource this is. Value: the fixed string \"content#datafeedStatus\".",
|
||||
"default": "content#datafeedStatus"
|
||||
},
|
||||
"language": {
|
||||
"type": "string",
|
||||
"description": "The two-letter ISO 639-1 language for which the status is reported."
|
||||
},
|
||||
"lastUploadDate": {
|
||||
"type": "string",
|
||||
"description": "The last date at which the feed was uploaded."
|
||||
|
@ -1030,6 +1067,34 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
"DatafeedTarget": {
|
||||
"id": "DatafeedTarget",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"country": {
|
||||
"type": "string",
|
||||
"description": "The country where the items in the feed will be included in the search index, represented as a CLDR territory code."
|
||||
},
|
||||
"excludedDestinations": {
|
||||
"type": "array",
|
||||
"description": "The list of destinations to exclude for this target (corresponds to unchecked check boxes in Merchant Center).",
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"includedDestinations": {
|
||||
"type": "array",
|
||||
"description": "The list of destinations to include for this target (corresponds to checked check boxes in Merchant Center). Default destinations are always included unless provided in the excluded_destination field.",
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"language": {
|
||||
"type": "string",
|
||||
"description": "The two-letter ISO 639-1 language of the items in the feed. Must be a valid language for targets[].country."
|
||||
}
|
||||
}
|
||||
},
|
||||
"DatafeedsCustomBatchRequest": {
|
||||
"id": "DatafeedsCustomBatchRequest",
|
||||
"type": "object",
|
||||
|
@ -1154,11 +1219,19 @@
|
|||
"description": "An entry ID, unique within the batch request.",
|
||||
"format": "uint32"
|
||||
},
|
||||
"country": {
|
||||
"type": "string",
|
||||
"description": "The country for which to get the datafeed status. If this parameter is provided then language must also be provided. Note that for multi-target datafeeds this parameter is required."
|
||||
},
|
||||
"datafeedId": {
|
||||
"type": "string",
|
||||
"description": "The ID of the data feed to get or delete.",
|
||||
"description": "The ID of the data feed to get.",
|
||||
"format": "uint64"
|
||||
},
|
||||
"language": {
|
||||
"type": "string",
|
||||
"description": "The language for which to get the datafeed status. If this parameter is provided then country must also be provided. Note that for multi-target datafeeds this parameter is required."
|
||||
},
|
||||
"merchantId": {
|
||||
"type": "string",
|
||||
"description": "The ID of the managing account.",
|
||||
|
@ -1788,6 +1861,10 @@
|
|||
"$ref": "OrderCancellation"
|
||||
}
|
||||
},
|
||||
"channelType": {
|
||||
"type": "string",
|
||||
"description": "The channel type of the order: \"purchaseOnGoogle\" or \"googleExpress\"."
|
||||
},
|
||||
"id": {
|
||||
"type": "string",
|
||||
"description": "The id of the line item."
|
||||
|
@ -2007,7 +2084,7 @@
|
|||
"properties": {
|
||||
"carrier": {
|
||||
"type": "string",
|
||||
"description": "The carrier for the shipping. Optional."
|
||||
"description": "The carrier for the shipping. Optional. See shipments[].carrier for a list of acceptable values."
|
||||
},
|
||||
"maxDaysInTransit": {
|
||||
"type": "integer",
|
||||
|
@ -2068,7 +2145,7 @@
|
|||
},
|
||||
"type": {
|
||||
"type": "string",
|
||||
"description": "The type of instrument (VISA, Mastercard, etc)."
|
||||
"description": "The type of instrument.\n\nAcceptable values are: \n- \"AMEX\" \n- \"DISCOVER\" \n- \"JCB\" \n- \"MASTERCARD\" \n- \"UNIONPAY\" \n- \"VISA\" \n- \"\""
|
||||
}
|
||||
}
|
||||
},
|
||||
|
@ -2196,7 +2273,7 @@
|
|||
"properties": {
|
||||
"carrier": {
|
||||
"type": "string",
|
||||
"description": "The carrier handling the shipment."
|
||||
"description": "The carrier handling the shipment.\n\nAcceptable values are: \n- \"gsx\" \n- \"ups\" \n- \"united parcel service\" \n- \"usps\" \n- \"united states postal service\" \n- \"fedex\" \n- \"dhl\" \n- \"ecourier\" \n- \"cxt\" \n- \"google\" \n- \"on trac\" \n- \"ontrac\" \n- \"on-trac\" \n- \"on_trac\" \n- \"delvic\" \n- \"dynamex\" \n- \"lasership\" \n- \"smartpost\" \n- \"fedex smartpost\" \n- \"mpx\" \n- \"uds\" \n- \"united delivery service\""
|
||||
},
|
||||
"creationDate": {
|
||||
"type": "string",
|
||||
|
@ -2543,7 +2620,7 @@
|
|||
"properties": {
|
||||
"carrier": {
|
||||
"type": "string",
|
||||
"description": "The carrier handling the shipment."
|
||||
"description": "Deprecated. Please use shipmentInfo instead. The carrier handling the shipment. See shipments[].carrier in the Orders resource representation for a list of acceptable values."
|
||||
},
|
||||
"lineItems": {
|
||||
"type": "array",
|
||||
|
@ -2554,7 +2631,37 @@
|
|||
},
|
||||
"shipmentId": {
|
||||
"type": "string",
|
||||
"description": "The ID of the shipment."
|
||||
"description": "Deprecated. Please use shipmentInfo instead. The ID of the shipment."
|
||||
},
|
||||
"shipmentInfos": {
|
||||
"type": "array",
|
||||
"description": "Shipment information. This field is repeated because a single line item can be shipped in several packages (and have several tracking IDs).",
|
||||
"items": {
|
||||
"$ref": "OrdersCustomBatchRequestEntryShipLineItemsShipmentInfo"
|
||||
}
|
||||
},
|
||||
"trackingId": {
|
||||
"type": "string",
|
||||
"description": "Deprecated. Please use shipmentInfo instead. The tracking id for the shipment."
|
||||
}
|
||||
}
|
||||
},
|
||||
"OrdersCustomBatchRequestEntryShipLineItemsShipmentInfo": {
|
||||
"id": "OrdersCustomBatchRequestEntryShipLineItemsShipmentInfo",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"carrier": {
|
||||
"type": "string",
|
||||
"description": "The carrier handling the shipment. See shipments[].carrier in the Orders resource representation for a list of acceptable values."
|
||||
},
|
||||
"shipmentId": {
|
||||
"type": "string",
|
||||
"description": "The ID of the shipment.",
|
||||
"annotations": {
|
||||
"required": [
|
||||
"content.orders.shiplineitems"
|
||||
]
|
||||
}
|
||||
},
|
||||
"trackingId": {
|
||||
"type": "string",
|
||||
|
@ -2568,7 +2675,7 @@
|
|||
"properties": {
|
||||
"carrier": {
|
||||
"type": "string",
|
||||
"description": "The carrier handling the shipment. Not updated if missing."
|
||||
"description": "The carrier handling the shipment. Not updated if missing. See shipments[].carrier in the Orders resource representation for a list of acceptable values."
|
||||
},
|
||||
"shipmentId": {
|
||||
"type": "string",
|
||||
|
@ -2766,7 +2873,7 @@
|
|||
"properties": {
|
||||
"carrier": {
|
||||
"type": "string",
|
||||
"description": "The carrier handling the shipment."
|
||||
"description": "Deprecated. Please use shipmentInfo instead. The carrier handling the shipment. See shipments[].carrier in the Orders resource representation for a list of acceptable values."
|
||||
},
|
||||
"lineItems": {
|
||||
"type": "array",
|
||||
|
@ -2781,11 +2888,18 @@
|
|||
},
|
||||
"shipmentId": {
|
||||
"type": "string",
|
||||
"description": "The ID of the shipment."
|
||||
"description": "Deprecated. Please use shipmentInfo instead. The ID of the shipment."
|
||||
},
|
||||
"shipmentInfos": {
|
||||
"type": "array",
|
||||
"description": "Shipment information. This field is repeated because a single line item can be shipped in several packages (and have several tracking IDs).",
|
||||
"items": {
|
||||
"$ref": "OrdersCustomBatchRequestEntryShipLineItemsShipmentInfo"
|
||||
}
|
||||
},
|
||||
"trackingId": {
|
||||
"type": "string",
|
||||
"description": "The tracking id for the shipment."
|
||||
"description": "Deprecated. Please use shipmentInfo instead. The tracking id for the shipment."
|
||||
}
|
||||
}
|
||||
},
|
||||
|
@ -2839,7 +2953,7 @@
|
|||
"properties": {
|
||||
"carrier": {
|
||||
"type": "string",
|
||||
"description": "The carrier handling the shipment. Not updated if missing."
|
||||
"description": "The carrier handling the shipment. Not updated if missing. See shipments[].carrier in the Orders resource representation for a list of acceptable values."
|
||||
},
|
||||
"operationId": {
|
||||
"type": "string",
|
||||
|
@ -4490,8 +4604,8 @@
|
|||
},
|
||||
"force": {
|
||||
"type": "boolean",
|
||||
"description": "Flag to delete sub-accounts with products. The default value of false will become active on September 28, 2017.",
|
||||
"default": "true",
|
||||
"description": "Flag to delete sub-accounts with products. The default value is false.",
|
||||
"default": "false",
|
||||
"location": "query"
|
||||
},
|
||||
"merchantId": {
|
||||
|
@ -5200,12 +5314,22 @@
|
|||
"httpMethod": "GET",
|
||||
"description": "Retrieves the status of a datafeed from your Merchant Center account. This method can only be called for non-multi-client accounts.",
|
||||
"parameters": {
|
||||
"country": {
|
||||
"type": "string",
|
||||
"description": "The country for which to get the datafeed status. If this parameter is provided then language must also be provided. Note that this parameter is required for feeds targeting multiple countries and languages, since a feed may have a different status for each target.",
|
||||
"location": "query"
|
||||
},
|
||||
"datafeedId": {
|
||||
"type": "string",
|
||||
"required": true,
|
||||
"format": "uint64",
|
||||
"location": "path"
|
||||
},
|
||||
"language": {
|
||||
"type": "string",
|
||||
"description": "The language for which to get the datafeed status. If this parameter is provided then country must also be provided. Note that this parameter is required for feeds targeting multiple countries and languages, since a feed may have a different status for each target.",
|
||||
"location": "query"
|
||||
},
|
||||
"merchantId": {
|
||||
"type": "string",
|
||||
"required": true,
|
||||
|
|
280
vendor/google.golang.org/api/content/v2/content-gen.go
generated
vendored
280
vendor/google.golang.org/api/content/v2/content-gen.go
generated
vendored
|
@ -230,6 +230,14 @@ type Account struct {
|
|||
// WebsiteUrl: The merchant's website.
|
||||
WebsiteUrl string `json:"websiteUrl,omitempty"`
|
||||
|
||||
// YoutubeChannelLinks: List of linked YouTube channels that are active
|
||||
// or pending approval. To create a new link request, add a new link
|
||||
// with status active to the list. It will remain in a pending state
|
||||
// until approved or rejected in the YT Creator Studio interface. To
|
||||
// delete an active link, or to cancel a link request, remove it from
|
||||
// the list.
|
||||
YoutubeChannelLinks []*AccountYouTubeChannelLink `json:"youtubeChannelLinks,omitempty"`
|
||||
|
||||
// ServerResponse contains the HTTP response code and headers from the
|
||||
// server.
|
||||
googleapi.ServerResponse `json:"-"`
|
||||
|
@ -627,6 +635,45 @@ func (s *AccountUser) MarshalJSON() ([]byte, error) {
|
|||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
type AccountYouTubeChannelLink struct {
|
||||
// ChannelId: Channel ID.
|
||||
ChannelId string `json:"channelId,omitempty"`
|
||||
|
||||
// Status: Status of the link between this Merchant Center account and
|
||||
// the YouTube channel. Upon retrieval, it represents the actual status
|
||||
// of the link and can be either active if it was approved in YT Creator
|
||||
// Studio or pending if it's pending approval. Upon insertion, it
|
||||
// represents the intended status of the link. Re-uploading a link with
|
||||
// status active when it's still pending or with status pending when
|
||||
// it's already active will have no effect: the status will remain
|
||||
// unchanged. Re-uploading a link with deprecated status inactive is
|
||||
// equivalent to not submitting the link at all and will delete the link
|
||||
// if it was active or cancel the link request if it was pending.
|
||||
Status string `json:"status,omitempty"`
|
||||
|
||||
// ForceSendFields is a list of field names (e.g. "ChannelId") to
|
||||
// unconditionally include in API requests. By default, fields with
|
||||
// empty values are omitted from API requests. However, any non-pointer,
|
||||
// non-interface field appearing in ForceSendFields will be sent to the
|
||||
// server regardless of whether the field is empty or not. This may be
|
||||
// used to include empty fields in Patch requests.
|
||||
ForceSendFields []string `json:"-"`
|
||||
|
||||
// NullFields is a list of field names (e.g. "ChannelId") to include in
|
||||
// API requests with the JSON null value. By default, fields with empty
|
||||
// values are omitted from API requests. However, any field with an
|
||||
// empty value appearing in NullFields will be sent to the server as
|
||||
// null. It is an error if a field in this list has a non-empty value.
|
||||
// This may be used to include null fields in Patch requests.
|
||||
NullFields []string `json:"-"`
|
||||
}
|
||||
|
||||
func (s *AccountYouTubeChannelLink) MarshalJSON() ([]byte, error) {
|
||||
type noMethod AccountYouTubeChannelLink
|
||||
raw := noMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
type AccountsAuthInfoResponse struct {
|
||||
// AccountIdentifiers: The account identifiers corresponding to the
|
||||
// authenticated user.
|
||||
|
@ -1339,8 +1386,9 @@ type Datafeed struct {
|
|||
// attributes are defined in the data feed.
|
||||
AttributeLanguage string `json:"attributeLanguage,omitempty"`
|
||||
|
||||
// ContentLanguage: The two-letter ISO 639-1 language of the items in
|
||||
// the feed. Must be a valid language for targetCountry.
|
||||
// ContentLanguage: [DEPRECATED] Please use target.language instead. The
|
||||
// two-letter ISO 639-1 language of the items in the feed. Must be a
|
||||
// valid language for targetCountry.
|
||||
ContentLanguage string `json:"contentLanguage,omitempty"`
|
||||
|
||||
// ContentType: The type of data feed. For product inventory feeds, only
|
||||
|
@ -1360,8 +1408,9 @@ type Datafeed struct {
|
|||
// Id: The ID of the data feed.
|
||||
Id int64 `json:"id,omitempty,string"`
|
||||
|
||||
// IntendedDestinations: The list of intended destinations (corresponds
|
||||
// to checked check boxes in Merchant Center).
|
||||
// IntendedDestinations: [DEPRECATED] Please use
|
||||
// target.includedDestination instead. The list of intended destinations
|
||||
// (corresponds to checked check boxes in Merchant Center).
|
||||
IntendedDestinations []string `json:"intendedDestinations,omitempty"`
|
||||
|
||||
// Kind: Identifies what kind of resource this is. Value: the fixed
|
||||
|
@ -1371,10 +1420,15 @@ type Datafeed struct {
|
|||
// Name: A descriptive name of the data feed.
|
||||
Name string `json:"name,omitempty"`
|
||||
|
||||
// TargetCountry: The country where the items in the feed will be
|
||||
// included in the search index, represented as a CLDR territory code.
|
||||
// TargetCountry: [DEPRECATED] Please use target.country instead. The
|
||||
// country where the items in the feed will be included in the search
|
||||
// index, represented as a CLDR territory code.
|
||||
TargetCountry string `json:"targetCountry,omitempty"`
|
||||
|
||||
// Targets: The targets this feed should apply to (country, language,
|
||||
// destinations).
|
||||
Targets []*DatafeedTarget `json:"targets,omitempty"`
|
||||
|
||||
// ServerResponse contains the HTTP response code and headers from the
|
||||
// server.
|
||||
googleapi.ServerResponse `json:"-"`
|
||||
|
@ -1507,6 +1561,10 @@ func (s *DatafeedFormat) MarshalJSON() ([]byte, error) {
|
|||
// last retrieval of the datafeed computed asynchronously when the feed
|
||||
// processing is finished.
|
||||
type DatafeedStatus struct {
|
||||
// Country: The country for which the status is reported, represented as
|
||||
// a CLDR territory code.
|
||||
Country string `json:"country,omitempty"`
|
||||
|
||||
// DatafeedId: The ID of the feed for which the status is reported.
|
||||
DatafeedId uint64 `json:"datafeedId,omitempty,string"`
|
||||
|
||||
|
@ -1523,6 +1581,10 @@ type DatafeedStatus struct {
|
|||
// string "content#datafeedStatus".
|
||||
Kind string `json:"kind,omitempty"`
|
||||
|
||||
// Language: The two-letter ISO 639-1 language for which the status is
|
||||
// reported.
|
||||
Language string `json:"language,omitempty"`
|
||||
|
||||
// LastUploadDate: The last date at which the feed was uploaded.
|
||||
LastUploadDate string `json:"lastUploadDate,omitempty"`
|
||||
|
||||
|
@ -1536,7 +1598,7 @@ type DatafeedStatus struct {
|
|||
// server.
|
||||
googleapi.ServerResponse `json:"-"`
|
||||
|
||||
// ForceSendFields is a list of field names (e.g. "DatafeedId") to
|
||||
// ForceSendFields is a list of field names (e.g. "Country") to
|
||||
// unconditionally include in API requests. By default, fields with
|
||||
// empty values are omitted from API requests. However, any non-pointer,
|
||||
// non-interface field appearing in ForceSendFields will be sent to the
|
||||
|
@ -1544,7 +1606,7 @@ type DatafeedStatus struct {
|
|||
// used to include empty fields in Patch requests.
|
||||
ForceSendFields []string `json:"-"`
|
||||
|
||||
// NullFields is a list of field names (e.g. "DatafeedId") to include in
|
||||
// NullFields is a list of field names (e.g. "Country") to include in
|
||||
// API requests with the JSON null value. By default, fields with empty
|
||||
// values are omitted from API requests. However, any field with an
|
||||
// empty value appearing in NullFields will be sent to the server as
|
||||
|
@ -1632,6 +1694,48 @@ func (s *DatafeedStatusExample) MarshalJSON() ([]byte, error) {
|
|||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
type DatafeedTarget struct {
|
||||
// Country: The country where the items in the feed will be included in
|
||||
// the search index, represented as a CLDR territory code.
|
||||
Country string `json:"country,omitempty"`
|
||||
|
||||
// ExcludedDestinations: The list of destinations to exclude for this
|
||||
// target (corresponds to unchecked check boxes in Merchant Center).
|
||||
ExcludedDestinations []string `json:"excludedDestinations,omitempty"`
|
||||
|
||||
// IncludedDestinations: The list of destinations to include for this
|
||||
// target (corresponds to checked check boxes in Merchant Center).
|
||||
// Default destinations are always included unless provided in the
|
||||
// excluded_destination field.
|
||||
IncludedDestinations []string `json:"includedDestinations,omitempty"`
|
||||
|
||||
// Language: The two-letter ISO 639-1 language of the items in the feed.
|
||||
// Must be a valid language for targets[].country.
|
||||
Language string `json:"language,omitempty"`
|
||||
|
||||
// ForceSendFields is a list of field names (e.g. "Country") to
|
||||
// unconditionally include in API requests. By default, fields with
|
||||
// empty values are omitted from API requests. However, any non-pointer,
|
||||
// non-interface field appearing in ForceSendFields will be sent to the
|
||||
// server regardless of whether the field is empty or not. This may be
|
||||
// used to include empty fields in Patch requests.
|
||||
ForceSendFields []string `json:"-"`
|
||||
|
||||
// NullFields is a list of field names (e.g. "Country") to include in
|
||||
// API requests with the JSON null value. By default, fields with empty
|
||||
// values are omitted from API requests. However, any field with an
|
||||
// empty value appearing in NullFields will be sent to the server as
|
||||
// null. It is an error if a field in this list has a non-empty value.
|
||||
// This may be used to include null fields in Patch requests.
|
||||
NullFields []string `json:"-"`
|
||||
}
|
||||
|
||||
func (s *DatafeedTarget) MarshalJSON() ([]byte, error) {
|
||||
type noMethod DatafeedTarget
|
||||
raw := noMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
type DatafeedsCustomBatchRequest struct {
|
||||
// Entries: The request entries to be processed in the batch.
|
||||
Entries []*DatafeedsCustomBatchRequestEntry `json:"entries,omitempty"`
|
||||
|
@ -1841,9 +1945,19 @@ type DatafeedstatusesCustomBatchRequestEntry struct {
|
|||
// BatchId: An entry ID, unique within the batch request.
|
||||
BatchId int64 `json:"batchId,omitempty"`
|
||||
|
||||
// DatafeedId: The ID of the data feed to get or delete.
|
||||
// Country: The country for which to get the datafeed status. If this
|
||||
// parameter is provided then language must also be provided. Note that
|
||||
// for multi-target datafeeds this parameter is required.
|
||||
Country string `json:"country,omitempty"`
|
||||
|
||||
// DatafeedId: The ID of the data feed to get.
|
||||
DatafeedId uint64 `json:"datafeedId,omitempty,string"`
|
||||
|
||||
// Language: The language for which to get the datafeed status. If this
|
||||
// parameter is provided then country must also be provided. Note that
|
||||
// for multi-target datafeeds this parameter is required.
|
||||
Language string `json:"language,omitempty"`
|
||||
|
||||
// MerchantId: The ID of the managing account.
|
||||
MerchantId uint64 `json:"merchantId,omitempty,string"`
|
||||
|
||||
|
@ -2849,6 +2963,10 @@ type OrderLineItem struct {
|
|||
// Cancellations: Cancellations of the line item.
|
||||
Cancellations []*OrderCancellation `json:"cancellations,omitempty"`
|
||||
|
||||
// ChannelType: The channel type of the order: "purchaseOnGoogle" or
|
||||
// "googleExpress".
|
||||
ChannelType string `json:"channelType,omitempty"`
|
||||
|
||||
// Id: The id of the line item.
|
||||
Id string `json:"id,omitempty"`
|
||||
|
||||
|
@ -3085,7 +3203,8 @@ func (s *OrderLineItemShippingDetails) MarshalJSON() ([]byte, error) {
|
|||
}
|
||||
|
||||
type OrderLineItemShippingDetailsMethod struct {
|
||||
// Carrier: The carrier for the shipping. Optional.
|
||||
// Carrier: The carrier for the shipping. Optional. See
|
||||
// shipments[].carrier for a list of acceptable values.
|
||||
Carrier string `json:"carrier,omitempty"`
|
||||
|
||||
// MaxDaysInTransit: Maximum transit time.
|
||||
|
@ -3137,7 +3256,16 @@ type OrderPaymentMethod struct {
|
|||
// PhoneNumber: The billing phone number.
|
||||
PhoneNumber string `json:"phoneNumber,omitempty"`
|
||||
|
||||
// Type: The type of instrument (VISA, Mastercard, etc).
|
||||
// Type: The type of instrument.
|
||||
//
|
||||
// Acceptable values are:
|
||||
// - "AMEX"
|
||||
// - "DISCOVER"
|
||||
// - "JCB"
|
||||
// - "MASTERCARD"
|
||||
// - "UNIONPAY"
|
||||
// - "VISA"
|
||||
// - ""
|
||||
Type string `json:"type,omitempty"`
|
||||
|
||||
// ForceSendFields is a list of field names (e.g. "BillingAddress") to
|
||||
|
@ -3343,6 +3471,30 @@ func (s *OrderReturn) MarshalJSON() ([]byte, error) {
|
|||
|
||||
type OrderShipment struct {
|
||||
// Carrier: The carrier handling the shipment.
|
||||
//
|
||||
// Acceptable values are:
|
||||
// - "gsx"
|
||||
// - "ups"
|
||||
// - "united parcel service"
|
||||
// - "usps"
|
||||
// - "united states postal service"
|
||||
// - "fedex"
|
||||
// - "dhl"
|
||||
// - "ecourier"
|
||||
// - "cxt"
|
||||
// - "google"
|
||||
// - "on trac"
|
||||
// - "ontrac"
|
||||
// - "on-trac"
|
||||
// - "on_trac"
|
||||
// - "delvic"
|
||||
// - "dynamex"
|
||||
// - "lasership"
|
||||
// - "smartpost"
|
||||
// - "fedex smartpost"
|
||||
// - "mpx"
|
||||
// - "uds"
|
||||
// - "united delivery service"
|
||||
Carrier string `json:"carrier,omitempty"`
|
||||
|
||||
// CreationDate: Date on which the shipment has been created, in ISO
|
||||
|
@ -3966,16 +4118,25 @@ func (s *OrdersCustomBatchRequestEntryReturnLineItem) MarshalJSON() ([]byte, err
|
|||
}
|
||||
|
||||
type OrdersCustomBatchRequestEntryShipLineItems struct {
|
||||
// Carrier: The carrier handling the shipment.
|
||||
// Carrier: Deprecated. Please use shipmentInfo instead. The carrier
|
||||
// handling the shipment. See shipments[].carrier in the Orders
|
||||
// resource representation for a list of acceptable values.
|
||||
Carrier string `json:"carrier,omitempty"`
|
||||
|
||||
// LineItems: Line items to ship.
|
||||
LineItems []*OrderShipmentLineItemShipment `json:"lineItems,omitempty"`
|
||||
|
||||
// ShipmentId: The ID of the shipment.
|
||||
// ShipmentId: Deprecated. Please use shipmentInfo instead. The ID of
|
||||
// the shipment.
|
||||
ShipmentId string `json:"shipmentId,omitempty"`
|
||||
|
||||
// TrackingId: The tracking id for the shipment.
|
||||
// ShipmentInfos: Shipment information. This field is repeated because a
|
||||
// single line item can be shipped in several packages (and have several
|
||||
// tracking IDs).
|
||||
ShipmentInfos []*OrdersCustomBatchRequestEntryShipLineItemsShipmentInfo `json:"shipmentInfos,omitempty"`
|
||||
|
||||
// TrackingId: Deprecated. Please use shipmentInfo instead. The tracking
|
||||
// id for the shipment.
|
||||
TrackingId string `json:"trackingId,omitempty"`
|
||||
|
||||
// ForceSendFields is a list of field names (e.g. "Carrier") to
|
||||
|
@ -4001,8 +4162,45 @@ func (s *OrdersCustomBatchRequestEntryShipLineItems) MarshalJSON() ([]byte, erro
|
|||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
type OrdersCustomBatchRequestEntryShipLineItemsShipmentInfo struct {
|
||||
// Carrier: The carrier handling the shipment. See shipments[].carrier
|
||||
// in the Orders resource representation for a list of acceptable
|
||||
// values.
|
||||
Carrier string `json:"carrier,omitempty"`
|
||||
|
||||
// ShipmentId: The ID of the shipment.
|
||||
ShipmentId string `json:"shipmentId,omitempty"`
|
||||
|
||||
// TrackingId: The tracking id for the shipment.
|
||||
TrackingId string `json:"trackingId,omitempty"`
|
||||
|
||||
// ForceSendFields is a list of field names (e.g. "Carrier") to
|
||||
// unconditionally include in API requests. By default, fields with
|
||||
// empty values are omitted from API requests. However, any non-pointer,
|
||||
// non-interface field appearing in ForceSendFields will be sent to the
|
||||
// server regardless of whether the field is empty or not. This may be
|
||||
// used to include empty fields in Patch requests.
|
||||
ForceSendFields []string `json:"-"`
|
||||
|
||||
// NullFields is a list of field names (e.g. "Carrier") to include in
|
||||
// API requests with the JSON null value. By default, fields with empty
|
||||
// values are omitted from API requests. However, any field with an
|
||||
// empty value appearing in NullFields will be sent to the server as
|
||||
// null. It is an error if a field in this list has a non-empty value.
|
||||
// This may be used to include null fields in Patch requests.
|
||||
NullFields []string `json:"-"`
|
||||
}
|
||||
|
||||
func (s *OrdersCustomBatchRequestEntryShipLineItemsShipmentInfo) MarshalJSON() ([]byte, error) {
|
||||
type noMethod OrdersCustomBatchRequestEntryShipLineItemsShipmentInfo
|
||||
raw := noMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
type OrdersCustomBatchRequestEntryUpdateShipment struct {
|
||||
// Carrier: The carrier handling the shipment. Not updated if missing.
|
||||
// See shipments[].carrier in the Orders resource representation for a
|
||||
// list of acceptable values.
|
||||
Carrier string `json:"carrier,omitempty"`
|
||||
|
||||
// ShipmentId: The ID of the shipment.
|
||||
|
@ -4373,7 +4571,9 @@ func (s *OrdersReturnLineItemResponse) MarshalJSON() ([]byte, error) {
|
|||
}
|
||||
|
||||
type OrdersShipLineItemsRequest struct {
|
||||
// Carrier: The carrier handling the shipment.
|
||||
// Carrier: Deprecated. Please use shipmentInfo instead. The carrier
|
||||
// handling the shipment. See shipments[].carrier in the Orders
|
||||
// resource representation for a list of acceptable values.
|
||||
Carrier string `json:"carrier,omitempty"`
|
||||
|
||||
// LineItems: Line items to ship.
|
||||
|
@ -4383,10 +4583,17 @@ type OrdersShipLineItemsRequest struct {
|
|||
// for a given order.
|
||||
OperationId string `json:"operationId,omitempty"`
|
||||
|
||||
// ShipmentId: The ID of the shipment.
|
||||
// ShipmentId: Deprecated. Please use shipmentInfo instead. The ID of
|
||||
// the shipment.
|
||||
ShipmentId string `json:"shipmentId,omitempty"`
|
||||
|
||||
// TrackingId: The tracking id for the shipment.
|
||||
// ShipmentInfos: Shipment information. This field is repeated because a
|
||||
// single line item can be shipped in several packages (and have several
|
||||
// tracking IDs).
|
||||
ShipmentInfos []*OrdersCustomBatchRequestEntryShipLineItemsShipmentInfo `json:"shipmentInfos,omitempty"`
|
||||
|
||||
// TrackingId: Deprecated. Please use shipmentInfo instead. The tracking
|
||||
// id for the shipment.
|
||||
TrackingId string `json:"trackingId,omitempty"`
|
||||
|
||||
// ForceSendFields is a list of field names (e.g. "Carrier") to
|
||||
|
@ -4519,6 +4726,8 @@ func (s *OrdersUpdateMerchantOrderIdResponse) MarshalJSON() ([]byte, error) {
|
|||
|
||||
type OrdersUpdateShipmentRequest struct {
|
||||
// Carrier: The carrier handling the shipment. Not updated if missing.
|
||||
// See shipments[].carrier in the Orders resource representation for a
|
||||
// list of acceptable values.
|
||||
Carrier string `json:"carrier,omitempty"`
|
||||
|
||||
// OperationId: The ID of the operation. Unique across all operations
|
||||
|
@ -7114,8 +7323,7 @@ func (c *AccountsDeleteCall) DryRun(dryRun bool) *AccountsDeleteCall {
|
|||
}
|
||||
|
||||
// Force sets the optional parameter "force": Flag to delete
|
||||
// sub-accounts with products. The default value of false will become
|
||||
// active on September 28, 2017.
|
||||
// sub-accounts with products. The default value is false.
|
||||
func (c *AccountsDeleteCall) Force(force bool) *AccountsDeleteCall {
|
||||
c.urlParams_.Set("force", fmt.Sprint(force))
|
||||
return c
|
||||
|
@ -7199,8 +7407,8 @@ func (c *AccountsDeleteCall) Do(opts ...googleapi.CallOption) error {
|
|||
// "type": "boolean"
|
||||
// },
|
||||
// "force": {
|
||||
// "default": "true",
|
||||
// "description": "Flag to delete sub-accounts with products. The default value of false will become active on September 28, 2017.",
|
||||
// "default": "false",
|
||||
// "description": "Flag to delete sub-accounts with products. The default value is false.",
|
||||
// "location": "query",
|
||||
// "type": "boolean"
|
||||
// },
|
||||
|
@ -10457,6 +10665,26 @@ func (r *DatafeedstatusesService) Get(merchantId uint64, datafeedId uint64) *Dat
|
|||
return c
|
||||
}
|
||||
|
||||
// Country sets the optional parameter "country": The country for which
|
||||
// to get the datafeed status. If this parameter is provided then
|
||||
// language must also be provided. Note that this parameter is required
|
||||
// for feeds targeting multiple countries and languages, since a feed
|
||||
// may have a different status for each target.
|
||||
func (c *DatafeedstatusesGetCall) Country(country string) *DatafeedstatusesGetCall {
|
||||
c.urlParams_.Set("country", country)
|
||||
return c
|
||||
}
|
||||
|
||||
// Language sets the optional parameter "language": The language for
|
||||
// which to get the datafeed status. If this parameter is provided then
|
||||
// country must also be provided. Note that this parameter is required
|
||||
// for feeds targeting multiple countries and languages, since a feed
|
||||
// may have a different status for each target.
|
||||
func (c *DatafeedstatusesGetCall) Language(language string) *DatafeedstatusesGetCall {
|
||||
c.urlParams_.Set("language", language)
|
||||
return c
|
||||
}
|
||||
|
||||
// Fields allows partial responses to be retrieved. See
|
||||
// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse
|
||||
// for more information.
|
||||
|
@ -10560,12 +10788,22 @@ func (c *DatafeedstatusesGetCall) Do(opts ...googleapi.CallOption) (*DatafeedSta
|
|||
// "datafeedId"
|
||||
// ],
|
||||
// "parameters": {
|
||||
// "country": {
|
||||
// "description": "The country for which to get the datafeed status. If this parameter is provided then language must also be provided. Note that this parameter is required for feeds targeting multiple countries and languages, since a feed may have a different status for each target.",
|
||||
// "location": "query",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "datafeedId": {
|
||||
// "format": "uint64",
|
||||
// "location": "path",
|
||||
// "required": true,
|
||||
// "type": "string"
|
||||
// },
|
||||
// "language": {
|
||||
// "description": "The language for which to get the datafeed status. If this parameter is provided then country must also be provided. Note that this parameter is required for feeds targeting multiple countries and languages, since a feed may have a different status for each target.",
|
||||
// "location": "query",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "merchantId": {
|
||||
// "format": "uint64",
|
||||
// "location": "path",
|
||||
|
|
65
vendor/google.golang.org/api/content/v2sandbox/content-api.json
generated
vendored
65
vendor/google.golang.org/api/content/v2sandbox/content-api.json
generated
vendored
|
@ -1,12 +1,12 @@
|
|||
{
|
||||
"kind": "discovery#restDescription",
|
||||
"etag": "\"YWOzh2SDasdU84ArJnpYek-OMdg/w6LYVfU7tamoBXESYq-QJFacBzs\"",
|
||||
"etag": "\"YWOzh2SDasdU84ArJnpYek-OMdg/QmLvLWNsI9BfMK5wWeN2hMPf260\"",
|
||||
"discoveryVersion": "v1",
|
||||
"id": "content:v2sandbox",
|
||||
"name": "content",
|
||||
"canonicalName": "Shopping Content",
|
||||
"version": "v2sandbox",
|
||||
"revision": "20170912",
|
||||
"revision": "20170928",
|
||||
"title": "Content API for Shopping",
|
||||
"description": "Manages product items, inventory, and Merchant Center accounts for Google Shopping.",
|
||||
"ownerDomain": "google.com",
|
||||
|
@ -332,6 +332,10 @@
|
|||
"$ref": "OrderCancellation"
|
||||
}
|
||||
},
|
||||
"channelType": {
|
||||
"type": "string",
|
||||
"description": "The channel type of the order: \"purchaseOnGoogle\" or \"googleExpress\"."
|
||||
},
|
||||
"id": {
|
||||
"type": "string",
|
||||
"description": "The id of the line item."
|
||||
|
@ -551,7 +555,7 @@
|
|||
"properties": {
|
||||
"carrier": {
|
||||
"type": "string",
|
||||
"description": "The carrier for the shipping. Optional."
|
||||
"description": "The carrier for the shipping. Optional. See shipments[].carrier for a list of acceptable values."
|
||||
},
|
||||
"maxDaysInTransit": {
|
||||
"type": "integer",
|
||||
|
@ -612,7 +616,7 @@
|
|||
},
|
||||
"type": {
|
||||
"type": "string",
|
||||
"description": "The type of instrument (VISA, Mastercard, etc)."
|
||||
"description": "The type of instrument.\n\nAcceptable values are: \n- \"AMEX\" \n- \"DISCOVER\" \n- \"JCB\" \n- \"MASTERCARD\" \n- \"UNIONPAY\" \n- \"VISA\" \n- \"\""
|
||||
}
|
||||
}
|
||||
},
|
||||
|
@ -740,7 +744,7 @@
|
|||
"properties": {
|
||||
"carrier": {
|
||||
"type": "string",
|
||||
"description": "The carrier handling the shipment."
|
||||
"description": "The carrier handling the shipment.\n\nAcceptable values are: \n- \"gsx\" \n- \"ups\" \n- \"united parcel service\" \n- \"usps\" \n- \"united states postal service\" \n- \"fedex\" \n- \"dhl\" \n- \"ecourier\" \n- \"cxt\" \n- \"google\" \n- \"on trac\" \n- \"ontrac\" \n- \"on-trac\" \n- \"on_trac\" \n- \"delvic\" \n- \"dynamex\" \n- \"lasership\" \n- \"smartpost\" \n- \"fedex smartpost\" \n- \"mpx\" \n- \"uds\" \n- \"united delivery service\""
|
||||
},
|
||||
"creationDate": {
|
||||
"type": "string",
|
||||
|
@ -1087,7 +1091,7 @@
|
|||
"properties": {
|
||||
"carrier": {
|
||||
"type": "string",
|
||||
"description": "The carrier handling the shipment."
|
||||
"description": "Deprecated. Please use shipmentInfo instead. The carrier handling the shipment. See shipments[].carrier in the Orders resource representation for a list of acceptable values."
|
||||
},
|
||||
"lineItems": {
|
||||
"type": "array",
|
||||
|
@ -1098,7 +1102,37 @@
|
|||
},
|
||||
"shipmentId": {
|
||||
"type": "string",
|
||||
"description": "The ID of the shipment."
|
||||
"description": "Deprecated. Please use shipmentInfo instead. The ID of the shipment."
|
||||
},
|
||||
"shipmentInfos": {
|
||||
"type": "array",
|
||||
"description": "Shipment information. This field is repeated because a single line item can be shipped in several packages (and have several tracking IDs).",
|
||||
"items": {
|
||||
"$ref": "OrdersCustomBatchRequestEntryShipLineItemsShipmentInfo"
|
||||
}
|
||||
},
|
||||
"trackingId": {
|
||||
"type": "string",
|
||||
"description": "Deprecated. Please use shipmentInfo instead. The tracking id for the shipment."
|
||||
}
|
||||
}
|
||||
},
|
||||
"OrdersCustomBatchRequestEntryShipLineItemsShipmentInfo": {
|
||||
"id": "OrdersCustomBatchRequestEntryShipLineItemsShipmentInfo",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"carrier": {
|
||||
"type": "string",
|
||||
"description": "The carrier handling the shipment. See shipments[].carrier in the Orders resource representation for a list of acceptable values."
|
||||
},
|
||||
"shipmentId": {
|
||||
"type": "string",
|
||||
"description": "The ID of the shipment.",
|
||||
"annotations": {
|
||||
"required": [
|
||||
"content.orders.shiplineitems"
|
||||
]
|
||||
}
|
||||
},
|
||||
"trackingId": {
|
||||
"type": "string",
|
||||
|
@ -1112,7 +1146,7 @@
|
|||
"properties": {
|
||||
"carrier": {
|
||||
"type": "string",
|
||||
"description": "The carrier handling the shipment. Not updated if missing."
|
||||
"description": "The carrier handling the shipment. Not updated if missing. See shipments[].carrier in the Orders resource representation for a list of acceptable values."
|
||||
},
|
||||
"shipmentId": {
|
||||
"type": "string",
|
||||
|
@ -1310,7 +1344,7 @@
|
|||
"properties": {
|
||||
"carrier": {
|
||||
"type": "string",
|
||||
"description": "The carrier handling the shipment."
|
||||
"description": "Deprecated. Please use shipmentInfo instead. The carrier handling the shipment. See shipments[].carrier in the Orders resource representation for a list of acceptable values."
|
||||
},
|
||||
"lineItems": {
|
||||
"type": "array",
|
||||
|
@ -1325,11 +1359,18 @@
|
|||
},
|
||||
"shipmentId": {
|
||||
"type": "string",
|
||||
"description": "The ID of the shipment."
|
||||
"description": "Deprecated. Please use shipmentInfo instead. The ID of the shipment."
|
||||
},
|
||||
"shipmentInfos": {
|
||||
"type": "array",
|
||||
"description": "Shipment information. This field is repeated because a single line item can be shipped in several packages (and have several tracking IDs).",
|
||||
"items": {
|
||||
"$ref": "OrdersCustomBatchRequestEntryShipLineItemsShipmentInfo"
|
||||
}
|
||||
},
|
||||
"trackingId": {
|
||||
"type": "string",
|
||||
"description": "The tracking id for the shipment."
|
||||
"description": "Deprecated. Please use shipmentInfo instead. The tracking id for the shipment."
|
||||
}
|
||||
}
|
||||
},
|
||||
|
@ -1383,7 +1424,7 @@
|
|||
"properties": {
|
||||
"carrier": {
|
||||
"type": "string",
|
||||
"description": "The carrier handling the shipment. Not updated if missing."
|
||||
"description": "The carrier handling the shipment. Not updated if missing. See shipments[].carrier in the Orders resource representation for a list of acceptable values."
|
||||
},
|
||||
"operationId": {
|
||||
"type": "string",
|
||||
|
|
111
vendor/google.golang.org/api/content/v2sandbox/content-gen.go
generated
vendored
111
vendor/google.golang.org/api/content/v2sandbox/content-gen.go
generated
vendored
|
@ -413,6 +413,10 @@ type OrderLineItem struct {
|
|||
// Cancellations: Cancellations of the line item.
|
||||
Cancellations []*OrderCancellation `json:"cancellations,omitempty"`
|
||||
|
||||
// ChannelType: The channel type of the order: "purchaseOnGoogle" or
|
||||
// "googleExpress".
|
||||
ChannelType string `json:"channelType,omitempty"`
|
||||
|
||||
// Id: The id of the line item.
|
||||
Id string `json:"id,omitempty"`
|
||||
|
||||
|
@ -649,7 +653,8 @@ func (s *OrderLineItemShippingDetails) MarshalJSON() ([]byte, error) {
|
|||
}
|
||||
|
||||
type OrderLineItemShippingDetailsMethod struct {
|
||||
// Carrier: The carrier for the shipping. Optional.
|
||||
// Carrier: The carrier for the shipping. Optional. See
|
||||
// shipments[].carrier for a list of acceptable values.
|
||||
Carrier string `json:"carrier,omitempty"`
|
||||
|
||||
// MaxDaysInTransit: Maximum transit time.
|
||||
|
@ -701,7 +706,16 @@ type OrderPaymentMethod struct {
|
|||
// PhoneNumber: The billing phone number.
|
||||
PhoneNumber string `json:"phoneNumber,omitempty"`
|
||||
|
||||
// Type: The type of instrument (VISA, Mastercard, etc).
|
||||
// Type: The type of instrument.
|
||||
//
|
||||
// Acceptable values are:
|
||||
// - "AMEX"
|
||||
// - "DISCOVER"
|
||||
// - "JCB"
|
||||
// - "MASTERCARD"
|
||||
// - "UNIONPAY"
|
||||
// - "VISA"
|
||||
// - ""
|
||||
Type string `json:"type,omitempty"`
|
||||
|
||||
// ForceSendFields is a list of field names (e.g. "BillingAddress") to
|
||||
|
@ -907,6 +921,30 @@ func (s *OrderReturn) MarshalJSON() ([]byte, error) {
|
|||
|
||||
type OrderShipment struct {
|
||||
// Carrier: The carrier handling the shipment.
|
||||
//
|
||||
// Acceptable values are:
|
||||
// - "gsx"
|
||||
// - "ups"
|
||||
// - "united parcel service"
|
||||
// - "usps"
|
||||
// - "united states postal service"
|
||||
// - "fedex"
|
||||
// - "dhl"
|
||||
// - "ecourier"
|
||||
// - "cxt"
|
||||
// - "google"
|
||||
// - "on trac"
|
||||
// - "ontrac"
|
||||
// - "on-trac"
|
||||
// - "on_trac"
|
||||
// - "delvic"
|
||||
// - "dynamex"
|
||||
// - "lasership"
|
||||
// - "smartpost"
|
||||
// - "fedex smartpost"
|
||||
// - "mpx"
|
||||
// - "uds"
|
||||
// - "united delivery service"
|
||||
Carrier string `json:"carrier,omitempty"`
|
||||
|
||||
// CreationDate: Date on which the shipment has been created, in ISO
|
||||
|
@ -1530,16 +1568,25 @@ func (s *OrdersCustomBatchRequestEntryReturnLineItem) MarshalJSON() ([]byte, err
|
|||
}
|
||||
|
||||
type OrdersCustomBatchRequestEntryShipLineItems struct {
|
||||
// Carrier: The carrier handling the shipment.
|
||||
// Carrier: Deprecated. Please use shipmentInfo instead. The carrier
|
||||
// handling the shipment. See shipments[].carrier in the Orders
|
||||
// resource representation for a list of acceptable values.
|
||||
Carrier string `json:"carrier,omitempty"`
|
||||
|
||||
// LineItems: Line items to ship.
|
||||
LineItems []*OrderShipmentLineItemShipment `json:"lineItems,omitempty"`
|
||||
|
||||
// ShipmentId: The ID of the shipment.
|
||||
// ShipmentId: Deprecated. Please use shipmentInfo instead. The ID of
|
||||
// the shipment.
|
||||
ShipmentId string `json:"shipmentId,omitempty"`
|
||||
|
||||
// TrackingId: The tracking id for the shipment.
|
||||
// ShipmentInfos: Shipment information. This field is repeated because a
|
||||
// single line item can be shipped in several packages (and have several
|
||||
// tracking IDs).
|
||||
ShipmentInfos []*OrdersCustomBatchRequestEntryShipLineItemsShipmentInfo `json:"shipmentInfos,omitempty"`
|
||||
|
||||
// TrackingId: Deprecated. Please use shipmentInfo instead. The tracking
|
||||
// id for the shipment.
|
||||
TrackingId string `json:"trackingId,omitempty"`
|
||||
|
||||
// ForceSendFields is a list of field names (e.g. "Carrier") to
|
||||
|
@ -1565,8 +1612,45 @@ func (s *OrdersCustomBatchRequestEntryShipLineItems) MarshalJSON() ([]byte, erro
|
|||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
type OrdersCustomBatchRequestEntryShipLineItemsShipmentInfo struct {
|
||||
// Carrier: The carrier handling the shipment. See shipments[].carrier
|
||||
// in the Orders resource representation for a list of acceptable
|
||||
// values.
|
||||
Carrier string `json:"carrier,omitempty"`
|
||||
|
||||
// ShipmentId: The ID of the shipment.
|
||||
ShipmentId string `json:"shipmentId,omitempty"`
|
||||
|
||||
// TrackingId: The tracking id for the shipment.
|
||||
TrackingId string `json:"trackingId,omitempty"`
|
||||
|
||||
// ForceSendFields is a list of field names (e.g. "Carrier") to
|
||||
// unconditionally include in API requests. By default, fields with
|
||||
// empty values are omitted from API requests. However, any non-pointer,
|
||||
// non-interface field appearing in ForceSendFields will be sent to the
|
||||
// server regardless of whether the field is empty or not. This may be
|
||||
// used to include empty fields in Patch requests.
|
||||
ForceSendFields []string `json:"-"`
|
||||
|
||||
// NullFields is a list of field names (e.g. "Carrier") to include in
|
||||
// API requests with the JSON null value. By default, fields with empty
|
||||
// values are omitted from API requests. However, any field with an
|
||||
// empty value appearing in NullFields will be sent to the server as
|
||||
// null. It is an error if a field in this list has a non-empty value.
|
||||
// This may be used to include null fields in Patch requests.
|
||||
NullFields []string `json:"-"`
|
||||
}
|
||||
|
||||
func (s *OrdersCustomBatchRequestEntryShipLineItemsShipmentInfo) MarshalJSON() ([]byte, error) {
|
||||
type noMethod OrdersCustomBatchRequestEntryShipLineItemsShipmentInfo
|
||||
raw := noMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
type OrdersCustomBatchRequestEntryUpdateShipment struct {
|
||||
// Carrier: The carrier handling the shipment. Not updated if missing.
|
||||
// See shipments[].carrier in the Orders resource representation for a
|
||||
// list of acceptable values.
|
||||
Carrier string `json:"carrier,omitempty"`
|
||||
|
||||
// ShipmentId: The ID of the shipment.
|
||||
|
@ -1937,7 +2021,9 @@ func (s *OrdersReturnLineItemResponse) MarshalJSON() ([]byte, error) {
|
|||
}
|
||||
|
||||
type OrdersShipLineItemsRequest struct {
|
||||
// Carrier: The carrier handling the shipment.
|
||||
// Carrier: Deprecated. Please use shipmentInfo instead. The carrier
|
||||
// handling the shipment. See shipments[].carrier in the Orders
|
||||
// resource representation for a list of acceptable values.
|
||||
Carrier string `json:"carrier,omitempty"`
|
||||
|
||||
// LineItems: Line items to ship.
|
||||
|
@ -1947,10 +2033,17 @@ type OrdersShipLineItemsRequest struct {
|
|||
// for a given order.
|
||||
OperationId string `json:"operationId,omitempty"`
|
||||
|
||||
// ShipmentId: The ID of the shipment.
|
||||
// ShipmentId: Deprecated. Please use shipmentInfo instead. The ID of
|
||||
// the shipment.
|
||||
ShipmentId string `json:"shipmentId,omitempty"`
|
||||
|
||||
// TrackingId: The tracking id for the shipment.
|
||||
// ShipmentInfos: Shipment information. This field is repeated because a
|
||||
// single line item can be shipped in several packages (and have several
|
||||
// tracking IDs).
|
||||
ShipmentInfos []*OrdersCustomBatchRequestEntryShipLineItemsShipmentInfo `json:"shipmentInfos,omitempty"`
|
||||
|
||||
// TrackingId: Deprecated. Please use shipmentInfo instead. The tracking
|
||||
// id for the shipment.
|
||||
TrackingId string `json:"trackingId,omitempty"`
|
||||
|
||||
// ForceSendFields is a list of field names (e.g. "Carrier") to
|
||||
|
@ -2083,6 +2176,8 @@ func (s *OrdersUpdateMerchantOrderIdResponse) MarshalJSON() ([]byte, error) {
|
|||
|
||||
type OrdersUpdateShipmentRequest struct {
|
||||
// Carrier: The carrier handling the shipment. Not updated if missing.
|
||||
// See shipments[].carrier in the Orders resource representation for a
|
||||
// list of acceptable values.
|
||||
Carrier string `json:"carrier,omitempty"`
|
||||
|
||||
// OperationId: The ID of the operation. Unique across all operations
|
||||
|
|
4834
vendor/google.golang.org/api/dataflow/v1b3/dataflow-api.json
generated
vendored
4834
vendor/google.golang.org/api/dataflow/v1b3/dataflow-api.json
generated
vendored
File diff suppressed because it is too large
Load diff
67
vendor/google.golang.org/api/dataflow/v1b3/dataflow-gen.go
generated
vendored
67
vendor/google.golang.org/api/dataflow/v1b3/dataflow-gen.go
generated
vendored
|
@ -1327,6 +1327,9 @@ type DistributionUpdate struct {
|
|||
// distribution.
|
||||
Count *SplitInt64 `json:"count,omitempty"`
|
||||
|
||||
// Histogram: (Optional) Histogram of value counts for the distribution.
|
||||
Histogram *Histogram `json:"histogram,omitempty"`
|
||||
|
||||
// Max: The maximum value present in the distribution.
|
||||
Max *SplitInt64 `json:"max,omitempty"`
|
||||
|
||||
|
@ -1922,6 +1925,57 @@ func (s *GetTemplateResponse) MarshalJSON() ([]byte, error) {
|
|||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
// Histogram: Histogram of value counts for a distribution.
|
||||
//
|
||||
// Buckets have an inclusive lower bound and exclusive upper bound and
|
||||
// use
|
||||
// "1,2,5 bucketing": The first bucket range is from [0,1) and all
|
||||
// subsequent
|
||||
// bucket boundaries are powers of ten multiplied by 1, 2, or 5. Thus,
|
||||
// bucket
|
||||
// boundaries are 0, 1, 2, 5, 10, 20, 50, 100, 200, 500, 1000,
|
||||
// ...
|
||||
// Negative values are not supported.
|
||||
type Histogram struct {
|
||||
// BucketCounts: Counts of values in each bucket. For efficiency, prefix
|
||||
// and trailing
|
||||
// buckets with count = 0 are elided. Buckets can store the full range
|
||||
// of
|
||||
// values of an unsigned long, with ULLONG_MAX falling into the 59th
|
||||
// bucket
|
||||
// with range [1e19, 2e19).
|
||||
BucketCounts googleapi.Int64s `json:"bucketCounts,omitempty"`
|
||||
|
||||
// FirstBucketOffset: Starting index of first stored bucket. The
|
||||
// non-inclusive upper-bound of
|
||||
// the ith bucket is given by:
|
||||
// pow(10,(i-first_bucket_offset)/3) *
|
||||
// (1,2,5)[(i-first_bucket_offset)%3]
|
||||
FirstBucketOffset int64 `json:"firstBucketOffset,omitempty"`
|
||||
|
||||
// ForceSendFields is a list of field names (e.g. "BucketCounts") to
|
||||
// unconditionally include in API requests. By default, fields with
|
||||
// empty values are omitted from API requests. However, any non-pointer,
|
||||
// non-interface field appearing in ForceSendFields will be sent to the
|
||||
// server regardless of whether the field is empty or not. This may be
|
||||
// used to include empty fields in Patch requests.
|
||||
ForceSendFields []string `json:"-"`
|
||||
|
||||
// NullFields is a list of field names (e.g. "BucketCounts") to include
|
||||
// in API requests with the JSON null value. By default, fields with
|
||||
// empty values are omitted from API requests. However, any field with
|
||||
// an empty value appearing in NullFields will be sent to the server as
|
||||
// null. It is an error if a field in this list has a non-empty value.
|
||||
// This may be used to include null fields in Patch requests.
|
||||
NullFields []string `json:"-"`
|
||||
}
|
||||
|
||||
func (s *Histogram) MarshalJSON() ([]byte, error) {
|
||||
type noMethod Histogram
|
||||
raw := noMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
// InstructionInput: An input of an instruction, as a reference to an
|
||||
// output of a
|
||||
// producer instruction.
|
||||
|
@ -6486,10 +6540,15 @@ func (s *WorkerSettings) MarshalJSON() ([]byte, error) {
|
|||
// being
|
||||
// shut down.
|
||||
type WorkerShutdownNotice struct {
|
||||
// Reason: Optional reason to be attached for the shutdown notice.
|
||||
// For example: "PREEMPTION" would indicate the VM is being shut down
|
||||
// because
|
||||
// of preemption. Other possible reasons may be added in the future.
|
||||
// Reason: The reason for the worker shutdown.
|
||||
// Current possible values are:
|
||||
// "UNKNOWN": shutdown reason is unknown.
|
||||
// "PREEMPTION": shutdown reason is preemption.
|
||||
// Other possible reasons may be added in the future.
|
||||
// Note that this must match the names of the enum specified
|
||||
// in
|
||||
// google3/cloud/dataflow/router/protos/cloud_worker_messages_service.
|
||||
// proto.
|
||||
Reason string `json:"reason,omitempty"`
|
||||
|
||||
// ForceSendFields is a list of field names (e.g. "Reason") to
|
||||
|
|
2434
vendor/google.golang.org/api/dataproc/v1/dataproc-api.json
generated
vendored
2434
vendor/google.golang.org/api/dataproc/v1/dataproc-api.json
generated
vendored
File diff suppressed because it is too large
Load diff
3331
vendor/google.golang.org/api/dataproc/v1beta2/dataproc-api.json
generated
vendored
3331
vendor/google.golang.org/api/dataproc/v1beta2/dataproc-api.json
generated
vendored
File diff suppressed because it is too large
Load diff
2948
vendor/google.golang.org/api/dataproc/v1beta2/dataproc-gen.go
generated
vendored
2948
vendor/google.golang.org/api/dataproc/v1beta2/dataproc-gen.go
generated
vendored
File diff suppressed because it is too large
Load diff
1586
vendor/google.golang.org/api/datastore/v1/datastore-api.json
generated
vendored
1586
vendor/google.golang.org/api/datastore/v1/datastore-api.json
generated
vendored
File diff suppressed because it is too large
Load diff
490
vendor/google.golang.org/api/datastore/v1beta1/datastore-api.json
generated
vendored
490
vendor/google.golang.org/api/datastore/v1beta1/datastore-api.json
generated
vendored
|
@ -1,18 +1,20 @@
|
|||
{
|
||||
"ownerDomain": "google.com",
|
||||
"name": "datastore",
|
||||
"batchPath": "batch",
|
||||
"id": "datastore:v1beta1",
|
||||
"documentationLink": "https://cloud.google.com/datastore/",
|
||||
"revision": "20170912",
|
||||
"title": "Google Cloud Datastore API",
|
||||
"ownerName": "Google",
|
||||
"discoveryVersion": "v1",
|
||||
"ownerName": "Google",
|
||||
"version_module": true,
|
||||
"resources": {
|
||||
"projects": {
|
||||
"methods": {
|
||||
"export": {
|
||||
"description": "Exports a copy of all or a subset of entities from Google Cloud Datastore\nto another storage system, such as Google Cloud Storage. Recent updates to\nentities may not be reflected in the export. The export occurs in the\nbackground and its progress can be monitored and managed via the\nOperation resource that is created. The output of an export may only be\nused once the associated operation is done. If an export operation is\ncancelled before completion it may leave partial data behind in Google\nCloud Storage.",
|
||||
"request": {
|
||||
"$ref": "GoogleDatastoreAdminV1beta1ExportEntitiesRequest"
|
||||
},
|
||||
"response": {
|
||||
"$ref": "GoogleLongrunningOperation"
|
||||
},
|
||||
|
@ -34,24 +36,24 @@
|
|||
],
|
||||
"flatPath": "v1beta1/projects/{projectId}:export",
|
||||
"id": "datastore.projects.export",
|
||||
"path": "v1beta1/projects/{projectId}:export",
|
||||
"description": "Exports a copy of all or a subset of entities from Google Cloud Datastore\nto another storage system, such as Google Cloud Storage. Recent updates to\nentities may not be reflected in the export. The export occurs in the\nbackground and its progress can be monitored and managed via the\nOperation resource that is created. The output of an export may only be\nused once the associated operation is done. If an export operation is\ncancelled before completion it may leave partial data behind in Google\nCloud Storage.",
|
||||
"request": {
|
||||
"$ref": "GoogleDatastoreAdminV1beta1ExportEntitiesRequest"
|
||||
}
|
||||
"path": "v1beta1/projects/{projectId}:export"
|
||||
},
|
||||
"import": {
|
||||
"description": "Imports entities into Google Cloud Datastore. Existing entities with the\nsame key are overwritten. The import occurs in the background and its\nprogress can be monitored and managed via the Operation resource that is\ncreated. If an ImportEntities operation is cancelled, it is possible\nthat a subset of the data has already been imported to Cloud Datastore.",
|
||||
"request": {
|
||||
"$ref": "GoogleDatastoreAdminV1beta1ImportEntitiesRequest"
|
||||
},
|
||||
"httpMethod": "POST",
|
||||
"parameterOrder": [
|
||||
"projectId"
|
||||
],
|
||||
"description": "Imports entities into Google Cloud Datastore. Existing entities with the\nsame key are overwritten. The import occurs in the background and its\nprogress can be monitored and managed via the Operation resource that is\ncreated. If an ImportEntities operation is cancelled, it is possible\nthat a subset of the data has already been imported to Cloud Datastore.",
|
||||
"response": {
|
||||
"$ref": "GoogleLongrunningOperation"
|
||||
},
|
||||
"parameterOrder": [
|
||||
"projectId"
|
||||
],
|
||||
"httpMethod": "POST",
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/cloud-platform",
|
||||
"https://www.googleapis.com/auth/datastore"
|
||||
],
|
||||
"parameters": {
|
||||
"projectId": {
|
||||
"description": "Project ID against which to make the request.",
|
||||
|
@ -60,18 +62,53 @@
|
|||
"location": "path"
|
||||
}
|
||||
},
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/cloud-platform",
|
||||
"https://www.googleapis.com/auth/datastore"
|
||||
],
|
||||
"flatPath": "v1beta1/projects/{projectId}:import",
|
||||
"path": "v1beta1/projects/{projectId}:import",
|
||||
"id": "datastore.projects.import"
|
||||
"id": "datastore.projects.import",
|
||||
"path": "v1beta1/projects/{projectId}:import"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"parameters": {
|
||||
"upload_protocol": {
|
||||
"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").",
|
||||
"type": "string",
|
||||
"location": "query"
|
||||
},
|
||||
"prettyPrint": {
|
||||
"description": "Returns response with indentations and line breaks.",
|
||||
"default": "true",
|
||||
"type": "boolean",
|
||||
"location": "query"
|
||||
},
|
||||
"uploadType": {
|
||||
"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").",
|
||||
"type": "string",
|
||||
"location": "query"
|
||||
},
|
||||
"fields": {
|
||||
"location": "query",
|
||||
"description": "Selector specifying which fields to include in a partial response.",
|
||||
"type": "string"
|
||||
},
|
||||
"$.xgafv": {
|
||||
"enumDescriptions": [
|
||||
"v1 error format",
|
||||
"v2 error format"
|
||||
],
|
||||
"location": "query",
|
||||
"enum": [
|
||||
"1",
|
||||
"2"
|
||||
],
|
||||
"description": "V1 error format.",
|
||||
"type": "string"
|
||||
},
|
||||
"callback": {
|
||||
"description": "JSONP",
|
||||
"type": "string",
|
||||
"location": "query"
|
||||
},
|
||||
"alt": {
|
||||
"enum": [
|
||||
"json",
|
||||
|
@ -88,15 +125,15 @@
|
|||
"description": "Data format for response.",
|
||||
"default": "json"
|
||||
},
|
||||
"key": {
|
||||
"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.",
|
||||
"type": "string",
|
||||
"location": "query"
|
||||
},
|
||||
"access_token": {
|
||||
"location": "query",
|
||||
"description": "OAuth access token.",
|
||||
"type": "string",
|
||||
"location": "query"
|
||||
"type": "string"
|
||||
},
|
||||
"key": {
|
||||
"location": "query",
|
||||
"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.",
|
||||
"type": "string"
|
||||
},
|
||||
"quotaUser": {
|
||||
"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.",
|
||||
|
@ -109,208 +146,40 @@
|
|||
"default": "true",
|
||||
"type": "boolean"
|
||||
},
|
||||
"oauth_token": {
|
||||
"location": "query",
|
||||
"description": "OAuth 2.0 token for the current user.",
|
||||
"type": "string"
|
||||
},
|
||||
"bearer_token": {
|
||||
"location": "query",
|
||||
"description": "OAuth bearer token.",
|
||||
"type": "string"
|
||||
},
|
||||
"upload_protocol": {
|
||||
"oauth_token": {
|
||||
"location": "query",
|
||||
"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").",
|
||||
"description": "OAuth 2.0 token for the current user.",
|
||||
"type": "string"
|
||||
},
|
||||
"prettyPrint": {
|
||||
"location": "query",
|
||||
"description": "Returns response with indentations and line breaks.",
|
||||
"default": "true",
|
||||
"type": "boolean"
|
||||
},
|
||||
"fields": {
|
||||
"description": "Selector specifying which fields to include in a partial response.",
|
||||
"type": "string",
|
||||
"location": "query"
|
||||
},
|
||||
"uploadType": {
|
||||
"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").",
|
||||
"type": "string",
|
||||
"location": "query"
|
||||
},
|
||||
"callback": {
|
||||
"location": "query",
|
||||
"description": "JSONP",
|
||||
"type": "string"
|
||||
},
|
||||
"$.xgafv": {
|
||||
"enum": [
|
||||
"1",
|
||||
"2"
|
||||
],
|
||||
"description": "V1 error format.",
|
||||
"type": "string",
|
||||
"enumDescriptions": [
|
||||
"v1 error format",
|
||||
"v2 error format"
|
||||
],
|
||||
"location": "query"
|
||||
}
|
||||
},
|
||||
"schemas": {
|
||||
"GoogleDatastoreAdminV1beta1CommonMetadata": {
|
||||
"properties": {
|
||||
"labels": {
|
||||
"additionalProperties": {
|
||||
"type": "string"
|
||||
},
|
||||
"description": "The client-assigned labels which were provided when the operation was\ncreated. May also include additional labels.",
|
||||
"type": "object"
|
||||
},
|
||||
"endTime": {
|
||||
"format": "google-datetime",
|
||||
"description": "The time the operation ended, either successfully or otherwise.",
|
||||
"type": "string"
|
||||
},
|
||||
"state": {
|
||||
"enum": [
|
||||
"STATE_UNSPECIFIED",
|
||||
"INITIALIZING",
|
||||
"PROCESSING",
|
||||
"CANCELLING",
|
||||
"FINALIZING",
|
||||
"SUCCESSFUL",
|
||||
"FAILED",
|
||||
"CANCELLED"
|
||||
],
|
||||
"description": "The current state of the Operation.",
|
||||
"type": "string",
|
||||
"enumDescriptions": [
|
||||
"Unspecified.",
|
||||
"Request is being prepared for processing.",
|
||||
"Request is actively being processed.",
|
||||
"Request is in the process of being cancelled after user called\ngoogle.longrunning.Operations.CancelOperation on the operation.",
|
||||
"Request has been processed and is in its finalization stage.",
|
||||
"Request has completed successfully.",
|
||||
"Request has finished being processed, but encountered an error.",
|
||||
"Request has finished being cancelled after user called\ngoogle.longrunning.Operations.CancelOperation."
|
||||
]
|
||||
},
|
||||
"operationType": {
|
||||
"enum": [
|
||||
"OPERATION_TYPE_UNSPECIFIED",
|
||||
"EXPORT_ENTITIES",
|
||||
"IMPORT_ENTITIES"
|
||||
],
|
||||
"description": "The type of the operation. Can be used as a filter in\nListOperationsRequest.",
|
||||
"type": "string",
|
||||
"enumDescriptions": [
|
||||
"Unspecified.",
|
||||
"ExportEntities.",
|
||||
"ImportEntities."
|
||||
]
|
||||
},
|
||||
"startTime": {
|
||||
"format": "google-datetime",
|
||||
"description": "The time that work began on the operation.",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"id": "GoogleDatastoreAdminV1beta1CommonMetadata",
|
||||
"description": "Metadata common to all Datastore Admin operations.",
|
||||
"type": "object"
|
||||
},
|
||||
"Status": {
|
||||
"description": "The `Status` type defines a logical error model that is suitable for different\nprogramming environments, including REST APIs and RPC APIs. It is used by\n[gRPC](https://github.com/grpc). The error model is designed to be:\n\n- Simple to use and understand for most users\n- Flexible enough to meet unexpected needs\n\n# Overview\n\nThe `Status` message contains three pieces of data: error code, error message,\nand error details. The error code should be an enum value of\ngoogle.rpc.Code, but it may accept additional error codes if needed. The\nerror message should be a developer-facing English message that helps\ndevelopers *understand* and *resolve* the error. If a localized user-facing\nerror message is needed, put the localized message in the error details or\nlocalize it in the client. The optional error details may contain arbitrary\ninformation about the error. There is a predefined set of error detail types\nin the package `google.rpc` that can be used for common error conditions.\n\n# Language mapping\n\nThe `Status` message is the logical representation of the error model, but it\nis not necessarily the actual wire format. When the `Status` message is\nexposed in different client libraries and different wire protocols, it can be\nmapped differently. For example, it will likely be mapped to some exceptions\nin Java, but more likely mapped to some error codes in C.\n\n# Other uses\n\nThe error model and the `Status` message can be used in a variety of\nenvironments, either with or without APIs, to provide a\nconsistent developer experience across different environments.\n\nExample uses of this error model include:\n\n- Partial errors. If a service needs to return partial errors to the client,\n it may embed the `Status` in the normal response to indicate the partial\n errors.\n\n- Workflow errors. A typical workflow has multiple steps. Each step may\n have a `Status` message for error reporting.\n\n- Batch operations. If a client uses batch request and batch response, the\n `Status` message should be used directly inside batch response, one for\n each error sub-response.\n\n- Asynchronous operations. If an API call embeds asynchronous operation\n results in its response, the status of those operations should be\n represented directly using the `Status` message.\n\n- Logging. If some API errors are stored in logs, the message `Status` could\n be used directly after any stripping needed for security/privacy reasons.",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"details": {
|
||||
"description": "A list of messages that carry the error details. There is a common set of\nmessage types for APIs to use.",
|
||||
"items": {
|
||||
"additionalProperties": {
|
||||
"description": "Properties of the object. Contains field @type with type URL.",
|
||||
"type": "any"
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"code": {
|
||||
"format": "int32",
|
||||
"description": "The status code, which should be an enum value of google.rpc.Code.",
|
||||
"type": "integer"
|
||||
},
|
||||
"message": {
|
||||
"description": "A developer-facing error message, which should be in English. Any\nuser-facing error message should be localized and sent in the\ngoogle.rpc.Status.details field, or localized by the client.",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"id": "Status"
|
||||
},
|
||||
"GoogleDatastoreAdminV1beta1ExportEntitiesMetadata": {
|
||||
"description": "Metadata for ExportEntities operations.",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"common": {
|
||||
"description": "Metadata common to all Datastore Admin operations.",
|
||||
"$ref": "GoogleDatastoreAdminV1beta1CommonMetadata"
|
||||
},
|
||||
"progressBytes": {
|
||||
"description": "An estimate of the number of bytes processed.",
|
||||
"$ref": "GoogleDatastoreAdminV1beta1Progress"
|
||||
},
|
||||
"outputUrlPrefix": {
|
||||
"description": "Location for the export metadata and data files. This will be the same\nvalue as the\ngoogle.datastore.admin.v1beta1.ExportEntitiesRequest.output_url_prefix\nfield. The final output location is provided in\ngoogle.datastore.admin.v1beta1.ExportEntitiesResponse.output_url.",
|
||||
"type": "string"
|
||||
},
|
||||
"entityFilter": {
|
||||
"$ref": "GoogleDatastoreAdminV1beta1EntityFilter",
|
||||
"description": "Description of which entities are being exported."
|
||||
},
|
||||
"progressEntities": {
|
||||
"description": "An estimate of the number of entities processed.",
|
||||
"$ref": "GoogleDatastoreAdminV1beta1Progress"
|
||||
}
|
||||
},
|
||||
"id": "GoogleDatastoreAdminV1beta1ExportEntitiesMetadata"
|
||||
},
|
||||
"GoogleDatastoreAdminV1beta1ExportEntitiesRequest": {
|
||||
"properties": {
|
||||
"outputUrlPrefix": {
|
||||
"description": "Location for the export metadata and data files.\n\nThe full resource URL of the external storage location. Currently, only\nGoogle Cloud Storage is supported. So output_url_prefix should be of the\nform: `gs://BUCKET_NAME[/NAMESPACE_PATH]`, where `BUCKET_NAME` is the\nname of the Cloud Storage bucket and `NAMESPACE_PATH` is an optional Cloud\nStorage namespace path (this is not a Cloud Datastore namespace). For more\ninformation about Cloud Storage namespace paths, see\n[Object name\nconsiderations](https://cloud.google.com/storage/docs/naming#object-considerations).\n\nThe resulting files will be nested deeper than the specified URL prefix.\nThe final output URL will be provided in the\ngoogle.datastore.admin.v1beta1.ExportEntitiesResponse.output_url\nfield. That value should be used for subsequent ImportEntities operations.\n\nBy nesting the data files deeper, the same Cloud Storage bucket can be used\nin multiple ExportEntities operations without conflict.",
|
||||
"type": "string"
|
||||
},
|
||||
"entityFilter": {
|
||||
"description": "Description of what data from the project is included in the export.",
|
||||
"$ref": "GoogleDatastoreAdminV1beta1EntityFilter"
|
||||
},
|
||||
"labels": {
|
||||
"additionalProperties": {
|
||||
"type": "string"
|
||||
},
|
||||
"description": "Client-assigned labels.",
|
||||
"type": "object"
|
||||
}
|
||||
},
|
||||
"id": "GoogleDatastoreAdminV1beta1ExportEntitiesRequest",
|
||||
"description": "The request for\ngoogle.datastore.admin.v1beta1.DatastoreAdmin.ExportEntities.",
|
||||
"type": "object"
|
||||
},
|
||||
"GoogleDatastoreAdminV1beta1ExportEntitiesResponse": {
|
||||
"description": "The response for\ngoogle.datastore.admin.v1beta1.DatastoreAdmin.ExportEntities.",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"outputUrl": {
|
||||
"description": "Location of the output metadata file. This can be used to begin an import\ninto Cloud Datastore (this project or another project). See\ngoogle.datastore.admin.v1beta1.ImportEntitiesRequest.input_url.\nOnly present if the operation completed successfully.",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"id": "GoogleDatastoreAdminV1beta1ExportEntitiesResponse",
|
||||
"description": "The response for\ngoogle.datastore.admin.v1beta1.DatastoreAdmin.ExportEntities.",
|
||||
"type": "object"
|
||||
"id": "GoogleDatastoreAdminV1beta1ExportEntitiesResponse"
|
||||
},
|
||||
"GoogleDatastoreAdminV1beta1ImportEntitiesRequest": {
|
||||
"description": "The request for\ngoogle.datastore.admin.v1beta1.DatastoreAdmin.ImportEntities.",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"labels": {
|
||||
"additionalProperties": {
|
||||
"type": "string"
|
||||
},
|
||||
"description": "Client-assigned labels.",
|
||||
"type": "object"
|
||||
},
|
||||
"inputUrl": {
|
||||
"description": "The full resource URL of the external storage location. Currently, only\nGoogle Cloud Storage is supported. So input_url should be of the form:\n`gs://BUCKET_NAME[/NAMESPACE_PATH]/OVERALL_EXPORT_METADATA_FILE`, where\n`BUCKET_NAME` is the name of the Cloud Storage bucket, `NAMESPACE_PATH` is\nan optional Cloud Storage namespace path (this is not a Cloud Datastore\nnamespace), and `OVERALL_EXPORT_METADATA_FILE` is the metadata file written\nby the ExportEntities operation. For more information about Cloud Storage\nnamespace paths, see\n[Object name\nconsiderations](https://cloud.google.com/storage/docs/naming#object-considerations).\n\nFor more information, see\ngoogle.datastore.admin.v1beta1.ExportEntitiesResponse.output_url.",
|
||||
"type": "string"
|
||||
|
@ -318,25 +187,14 @@
|
|||
"entityFilter": {
|
||||
"description": "Optionally specify which kinds/namespaces are to be imported. If provided,\nthe list must be a subset of the EntityFilter used in creating the export,\notherwise a FAILED_PRECONDITION error will be returned. If no filter is\nspecified then all entities from the export are imported.",
|
||||
"$ref": "GoogleDatastoreAdminV1beta1EntityFilter"
|
||||
},
|
||||
"labels": {
|
||||
"additionalProperties": {
|
||||
"type": "string"
|
||||
},
|
||||
"description": "Client-assigned labels.",
|
||||
"type": "object"
|
||||
}
|
||||
},
|
||||
"id": "GoogleDatastoreAdminV1beta1ImportEntitiesRequest",
|
||||
"description": "The request for\ngoogle.datastore.admin.v1beta1.DatastoreAdmin.ImportEntities.",
|
||||
"type": "object"
|
||||
"id": "GoogleDatastoreAdminV1beta1ImportEntitiesRequest"
|
||||
},
|
||||
"GoogleDatastoreAdminV1beta1ImportEntitiesMetadata": {
|
||||
"description": "Metadata for ImportEntities operations.",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"progressEntities": {
|
||||
"description": "An estimate of the number of entities processed.",
|
||||
"$ref": "GoogleDatastoreAdminV1beta1Progress"
|
||||
},
|
||||
"common": {
|
||||
"description": "Metadata common to all Datastore Admin operations.",
|
||||
"$ref": "GoogleDatastoreAdminV1beta1CommonMetadata"
|
||||
|
@ -346,37 +204,45 @@
|
|||
"type": "string"
|
||||
},
|
||||
"progressBytes": {
|
||||
"description": "An estimate of the number of bytes processed.",
|
||||
"$ref": "GoogleDatastoreAdminV1beta1Progress"
|
||||
"$ref": "GoogleDatastoreAdminV1beta1Progress",
|
||||
"description": "An estimate of the number of bytes processed."
|
||||
},
|
||||
"entityFilter": {
|
||||
"description": "Description of which entities are being imported.",
|
||||
"$ref": "GoogleDatastoreAdminV1beta1EntityFilter"
|
||||
},
|
||||
"progressEntities": {
|
||||
"$ref": "GoogleDatastoreAdminV1beta1Progress",
|
||||
"description": "An estimate of the number of entities processed."
|
||||
}
|
||||
},
|
||||
"id": "GoogleDatastoreAdminV1beta1ImportEntitiesMetadata",
|
||||
"description": "Metadata for ImportEntities operations.",
|
||||
"type": "object"
|
||||
"id": "GoogleDatastoreAdminV1beta1ImportEntitiesMetadata"
|
||||
},
|
||||
"GoogleDatastoreAdminV1beta1Progress": {
|
||||
"description": "Measures the progress of a particular metric.",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"workCompleted": {
|
||||
"format": "int64",
|
||||
"description": "The amount of work that has been completed. Note that this may be greater\nthan work_estimated.",
|
||||
"type": "string"
|
||||
},
|
||||
"workEstimated": {
|
||||
"format": "int64",
|
||||
"description": "An estimate of how much work needs to be performed. May be zero if the\nwork estimate is unavailable.",
|
||||
"type": "string"
|
||||
},
|
||||
"workCompleted": {
|
||||
"format": "int64",
|
||||
"description": "The amount of work that has been completed. Note that this may be greater\nthan work_estimated.",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"id": "GoogleDatastoreAdminV1beta1Progress"
|
||||
},
|
||||
"GoogleLongrunningOperation": {
|
||||
"description": "This resource represents a long-running operation that is the result of a\nnetwork API call.",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"done": {
|
||||
"description": "If the value is `false`, it means the operation is still in progress.\nIf `true`, the operation is completed, and either `error` or `response` is\navailable.",
|
||||
"type": "boolean"
|
||||
},
|
||||
"response": {
|
||||
"additionalProperties": {
|
||||
"description": "Properties of the object. Contains field @type with type URL.",
|
||||
|
@ -390,8 +256,8 @@
|
|||
"type": "string"
|
||||
},
|
||||
"error": {
|
||||
"$ref": "Status",
|
||||
"description": "The error result of the operation in case of failure or cancellation."
|
||||
"description": "The error result of the operation in case of failure or cancellation.",
|
||||
"$ref": "Status"
|
||||
},
|
||||
"metadata": {
|
||||
"additionalProperties": {
|
||||
|
@ -400,15 +266,9 @@
|
|||
},
|
||||
"description": "Service-specific metadata associated with the operation. It typically\ncontains progress information and common metadata such as create time.\nSome services might not provide such metadata. Any method that returns a\nlong-running operation should document the metadata type, if any.",
|
||||
"type": "object"
|
||||
},
|
||||
"done": {
|
||||
"description": "If the value is `false`, it means the operation is still in progress.\nIf `true`, the operation is completed, and either `error` or `response` is\navailable.",
|
||||
"type": "boolean"
|
||||
}
|
||||
},
|
||||
"id": "GoogleLongrunningOperation",
|
||||
"description": "This resource represents a long-running operation that is the result of a\nnetwork API call.",
|
||||
"type": "object"
|
||||
"id": "GoogleLongrunningOperation"
|
||||
},
|
||||
"GoogleDatastoreAdminV1beta1EntityFilter": {
|
||||
"description": "Identifies a subset of entities in a project. This is specified as\ncombinations of kinds and namespaces (either or both of which may be all, as\ndescribed in the following examples).\nExample usage:\n\nEntire project:\n kinds=[], namespace_ids=[]\n\nKinds Foo and Bar in all namespaces:\n kinds=['Foo', 'Bar'], namespace_ids=[]\n\nKinds Foo and Bar only in the default namespace:\n kinds=['Foo', 'Bar'], namespace_ids=['']\n\nKinds Foo and Bar in both the default and Baz namespaces:\n kinds=['Foo', 'Bar'], namespace_ids=['', 'Baz']\n\nThe entire Baz namespace:\n kinds=[], namespace_ids=['Baz']",
|
||||
|
@ -430,13 +290,151 @@
|
|||
}
|
||||
},
|
||||
"id": "GoogleDatastoreAdminV1beta1EntityFilter"
|
||||
},
|
||||
"GoogleDatastoreAdminV1beta1CommonMetadata": {
|
||||
"description": "Metadata common to all Datastore Admin operations.",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"labels": {
|
||||
"additionalProperties": {
|
||||
"type": "string"
|
||||
},
|
||||
"description": "The client-assigned labels which were provided when the operation was\ncreated. May also include additional labels.",
|
||||
"type": "object"
|
||||
},
|
||||
"endTime": {
|
||||
"format": "google-datetime",
|
||||
"description": "The time the operation ended, either successfully or otherwise.",
|
||||
"type": "string"
|
||||
},
|
||||
"state": {
|
||||
"enumDescriptions": [
|
||||
"Unspecified.",
|
||||
"Request is being prepared for processing.",
|
||||
"Request is actively being processed.",
|
||||
"Request is in the process of being cancelled after user called\ngoogle.longrunning.Operations.CancelOperation on the operation.",
|
||||
"Request has been processed and is in its finalization stage.",
|
||||
"Request has completed successfully.",
|
||||
"Request has finished being processed, but encountered an error.",
|
||||
"Request has finished being cancelled after user called\ngoogle.longrunning.Operations.CancelOperation."
|
||||
],
|
||||
"enum": [
|
||||
"STATE_UNSPECIFIED",
|
||||
"INITIALIZING",
|
||||
"PROCESSING",
|
||||
"CANCELLING",
|
||||
"FINALIZING",
|
||||
"SUCCESSFUL",
|
||||
"FAILED",
|
||||
"CANCELLED"
|
||||
],
|
||||
"description": "The current state of the Operation.",
|
||||
"type": "string"
|
||||
},
|
||||
"operationType": {
|
||||
"enumDescriptions": [
|
||||
"Unspecified.",
|
||||
"ExportEntities.",
|
||||
"ImportEntities."
|
||||
],
|
||||
"enum": [
|
||||
"OPERATION_TYPE_UNSPECIFIED",
|
||||
"EXPORT_ENTITIES",
|
||||
"IMPORT_ENTITIES"
|
||||
],
|
||||
"description": "The type of the operation. Can be used as a filter in\nListOperationsRequest.",
|
||||
"type": "string"
|
||||
},
|
||||
"startTime": {
|
||||
"format": "google-datetime",
|
||||
"description": "The time that work began on the operation.",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"id": "GoogleDatastoreAdminV1beta1CommonMetadata"
|
||||
},
|
||||
"Status": {
|
||||
"properties": {
|
||||
"code": {
|
||||
"format": "int32",
|
||||
"description": "The status code, which should be an enum value of google.rpc.Code.",
|
||||
"type": "integer"
|
||||
},
|
||||
"message": {
|
||||
"description": "A developer-facing error message, which should be in English. Any\nuser-facing error message should be localized and sent in the\ngoogle.rpc.Status.details field, or localized by the client.",
|
||||
"type": "string"
|
||||
},
|
||||
"details": {
|
||||
"description": "A list of messages that carry the error details. There is a common set of\nmessage types for APIs to use.",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"additionalProperties": {
|
||||
"description": "Properties of the object. Contains field @type with type URL.",
|
||||
"type": "any"
|
||||
}
|
||||
},
|
||||
"type": "array"
|
||||
}
|
||||
},
|
||||
"id": "Status",
|
||||
"description": "The `Status` type defines a logical error model that is suitable for different\nprogramming environments, including REST APIs and RPC APIs. It is used by\n[gRPC](https://github.com/grpc). The error model is designed to be:\n\n- Simple to use and understand for most users\n- Flexible enough to meet unexpected needs\n\n# Overview\n\nThe `Status` message contains three pieces of data: error code, error message,\nand error details. The error code should be an enum value of\ngoogle.rpc.Code, but it may accept additional error codes if needed. The\nerror message should be a developer-facing English message that helps\ndevelopers *understand* and *resolve* the error. If a localized user-facing\nerror message is needed, put the localized message in the error details or\nlocalize it in the client. The optional error details may contain arbitrary\ninformation about the error. There is a predefined set of error detail types\nin the package `google.rpc` that can be used for common error conditions.\n\n# Language mapping\n\nThe `Status` message is the logical representation of the error model, but it\nis not necessarily the actual wire format. When the `Status` message is\nexposed in different client libraries and different wire protocols, it can be\nmapped differently. For example, it will likely be mapped to some exceptions\nin Java, but more likely mapped to some error codes in C.\n\n# Other uses\n\nThe error model and the `Status` message can be used in a variety of\nenvironments, either with or without APIs, to provide a\nconsistent developer experience across different environments.\n\nExample uses of this error model include:\n\n- Partial errors. If a service needs to return partial errors to the client,\n it may embed the `Status` in the normal response to indicate the partial\n errors.\n\n- Workflow errors. A typical workflow has multiple steps. Each step may\n have a `Status` message for error reporting.\n\n- Batch operations. If a client uses batch request and batch response, the\n `Status` message should be used directly inside batch response, one for\n each error sub-response.\n\n- Asynchronous operations. If an API call embeds asynchronous operation\n results in its response, the status of those operations should be\n represented directly using the `Status` message.\n\n- Logging. If some API errors are stored in logs, the message `Status` could\n be used directly after any stripping needed for security/privacy reasons.",
|
||||
"type": "object"
|
||||
},
|
||||
"GoogleDatastoreAdminV1beta1ExportEntitiesRequest": {
|
||||
"description": "The request for\ngoogle.datastore.admin.v1beta1.DatastoreAdmin.ExportEntities.",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"labels": {
|
||||
"additionalProperties": {
|
||||
"type": "string"
|
||||
},
|
||||
"description": "Client-assigned labels.",
|
||||
"type": "object"
|
||||
},
|
||||
"outputUrlPrefix": {
|
||||
"description": "Location for the export metadata and data files.\n\nThe full resource URL of the external storage location. Currently, only\nGoogle Cloud Storage is supported. So output_url_prefix should be of the\nform: `gs://BUCKET_NAME[/NAMESPACE_PATH]`, where `BUCKET_NAME` is the\nname of the Cloud Storage bucket and `NAMESPACE_PATH` is an optional Cloud\nStorage namespace path (this is not a Cloud Datastore namespace). For more\ninformation about Cloud Storage namespace paths, see\n[Object name\nconsiderations](https://cloud.google.com/storage/docs/naming#object-considerations).\n\nThe resulting files will be nested deeper than the specified URL prefix.\nThe final output URL will be provided in the\ngoogle.datastore.admin.v1beta1.ExportEntitiesResponse.output_url\nfield. That value should be used for subsequent ImportEntities operations.\n\nBy nesting the data files deeper, the same Cloud Storage bucket can be used\nin multiple ExportEntities operations without conflict.",
|
||||
"type": "string"
|
||||
},
|
||||
"entityFilter": {
|
||||
"description": "Description of what data from the project is included in the export.",
|
||||
"$ref": "GoogleDatastoreAdminV1beta1EntityFilter"
|
||||
}
|
||||
},
|
||||
"id": "GoogleDatastoreAdminV1beta1ExportEntitiesRequest"
|
||||
},
|
||||
"GoogleDatastoreAdminV1beta1ExportEntitiesMetadata": {
|
||||
"description": "Metadata for ExportEntities operations.",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"progressBytes": {
|
||||
"$ref": "GoogleDatastoreAdminV1beta1Progress",
|
||||
"description": "An estimate of the number of bytes processed."
|
||||
},
|
||||
"outputUrlPrefix": {
|
||||
"description": "Location for the export metadata and data files. This will be the same\nvalue as the\ngoogle.datastore.admin.v1beta1.ExportEntitiesRequest.output_url_prefix\nfield. The final output location is provided in\ngoogle.datastore.admin.v1beta1.ExportEntitiesResponse.output_url.",
|
||||
"type": "string"
|
||||
},
|
||||
"entityFilter": {
|
||||
"description": "Description of which entities are being exported.",
|
||||
"$ref": "GoogleDatastoreAdminV1beta1EntityFilter"
|
||||
},
|
||||
"progressEntities": {
|
||||
"$ref": "GoogleDatastoreAdminV1beta1Progress",
|
||||
"description": "An estimate of the number of entities processed."
|
||||
},
|
||||
"common": {
|
||||
"$ref": "GoogleDatastoreAdminV1beta1CommonMetadata",
|
||||
"description": "Metadata common to all Datastore Admin operations."
|
||||
}
|
||||
},
|
||||
"id": "GoogleDatastoreAdminV1beta1ExportEntitiesMetadata"
|
||||
}
|
||||
},
|
||||
"protocol": "rest",
|
||||
"icons": {
|
||||
"x16": "http://www.google.com/images/icons/product/search-16.gif",
|
||||
"x32": "http://www.google.com/images/icons/product/search-32.gif"
|
||||
"x32": "http://www.google.com/images/icons/product/search-32.gif",
|
||||
"x16": "http://www.google.com/images/icons/product/search-16.gif"
|
||||
},
|
||||
"protocol": "rest",
|
||||
"version": "v1beta1",
|
||||
"baseUrl": "https://datastore.googleapis.com/",
|
||||
"auth": {
|
||||
|
@ -455,5 +453,7 @@
|
|||
"description": "Accesses the schemaless NoSQL database to provide fully managed, robust, scalable storage for your application.\n",
|
||||
"kind": "discovery#restDescription",
|
||||
"rootUrl": "https://datastore.googleapis.com/",
|
||||
"basePath": ""
|
||||
"basePath": "",
|
||||
"ownerDomain": "google.com",
|
||||
"name": "datastore"
|
||||
}
|
||||
|
|
1314
vendor/google.golang.org/api/datastore/v1beta3/datastore-api.json
generated
vendored
1314
vendor/google.golang.org/api/datastore/v1beta3/datastore-api.json
generated
vendored
File diff suppressed because it is too large
Load diff
22
vendor/google.golang.org/api/deploymentmanager/v0.alpha/deploymentmanager-api.json
generated
vendored
22
vendor/google.golang.org/api/deploymentmanager/v0.alpha/deploymentmanager-api.json
generated
vendored
|
@ -1,12 +1,12 @@
|
|||
{
|
||||
"kind": "discovery#restDescription",
|
||||
"etag": "\"YWOzh2SDasdU84ArJnpYek-OMdg/lQo0mHP8UNg2mFCLeIXYgmR2aTQ\"",
|
||||
"etag": "\"YWOzh2SDasdU84ArJnpYek-OMdg/_YIg1ZU-z6xEn8qUWJtIDhiIaWM\"",
|
||||
"discoveryVersion": "v1",
|
||||
"id": "deploymentmanager:alpha",
|
||||
"name": "deploymentmanager",
|
||||
"canonicalName": "Deployment Manager Alpha",
|
||||
"version": "alpha",
|
||||
"revision": "20170914",
|
||||
"revision": "20170925",
|
||||
"title": "Google Cloud Deployment Manager Alpha API",
|
||||
"description": "The Deployment Manager API allows users to declaratively configure, deploy and run complex solutions on the Google Cloud Platform.",
|
||||
"ownerDomain": "google.com",
|
||||
|
@ -361,6 +361,10 @@
|
|||
"type": "object",
|
||||
"description": "",
|
||||
"properties": {
|
||||
"credential": {
|
||||
"$ref": "Credential",
|
||||
"description": "User provided default credential for the deployment."
|
||||
},
|
||||
"description": {
|
||||
"type": "string",
|
||||
"description": "An optional user-provided description of the deployment."
|
||||
|
@ -448,6 +452,10 @@
|
|||
"type": "object",
|
||||
"description": "",
|
||||
"properties": {
|
||||
"credential": {
|
||||
"$ref": "Credential",
|
||||
"description": "Output only. The user-provided default credential to use when deploying this preview."
|
||||
},
|
||||
"description": {
|
||||
"type": "string",
|
||||
"description": "Output only. An optional user-provided description of the deployment after the current update has been applied."
|
||||
|
@ -962,6 +970,10 @@
|
|||
"type": "string",
|
||||
"description": "Output only. Timestamp when the resource was created or acquired, in RFC3339 text format ."
|
||||
},
|
||||
"lastUsedCredential": {
|
||||
"$ref": "Credential",
|
||||
"description": "Output only. The last used credential that successfully created/updated the resource."
|
||||
},
|
||||
"manifest": {
|
||||
"type": "string",
|
||||
"description": "Output only. URL of the manifest representing the current configuration of this resource."
|
||||
|
@ -1046,6 +1058,10 @@
|
|||
"$ref": "ResourceAccessControl",
|
||||
"description": "The Access Control Policy to set on this resource after updating the resource itself."
|
||||
},
|
||||
"credential": {
|
||||
"$ref": "Credential",
|
||||
"description": "Output only. The credential that will be used creating/updating this resource."
|
||||
},
|
||||
"error": {
|
||||
"type": "object",
|
||||
"description": "Output only. If errors are generated during update of the resource, this field will be populated.",
|
||||
|
@ -1158,7 +1174,7 @@
|
|||
},
|
||||
"conditions": {
|
||||
"type": "array",
|
||||
"description": "Additional restrictions that must be met",
|
||||
"description": "Additional restrictions that must be met. All conditions must pass for the rule to match.",
|
||||
"items": {
|
||||
"$ref": "Condition"
|
||||
}
|
||||
|
|
38
vendor/google.golang.org/api/deploymentmanager/v0.alpha/deploymentmanager-gen.go
generated
vendored
38
vendor/google.golang.org/api/deploymentmanager/v0.alpha/deploymentmanager-gen.go
generated
vendored
|
@ -703,6 +703,9 @@ func (s *Credential) MarshalJSON() ([]byte, error) {
|
|||
}
|
||||
|
||||
type Deployment struct {
|
||||
// Credential: User provided default credential for the deployment.
|
||||
Credential *Credential `json:"credential,omitempty"`
|
||||
|
||||
// Description: An optional user-provided description of the deployment.
|
||||
Description string `json:"description,omitempty"`
|
||||
|
||||
|
@ -771,7 +774,7 @@ type Deployment struct {
|
|||
// server.
|
||||
googleapi.ServerResponse `json:"-"`
|
||||
|
||||
// ForceSendFields is a list of field names (e.g. "Description") to
|
||||
// ForceSendFields is a list of field names (e.g. "Credential") to
|
||||
// unconditionally include in API requests. By default, fields with
|
||||
// empty values are omitted from API requests. However, any non-pointer,
|
||||
// non-interface field appearing in ForceSendFields will be sent to the
|
||||
|
@ -779,10 +782,10 @@ type Deployment struct {
|
|||
// used to include empty fields in Patch requests.
|
||||
ForceSendFields []string `json:"-"`
|
||||
|
||||
// NullFields is a list of field names (e.g. "Description") to include
|
||||
// in API requests with the JSON null value. By default, fields with
|
||||
// empty values are omitted from API requests. However, any field with
|
||||
// an empty value appearing in NullFields will be sent to the server as
|
||||
// NullFields is a list of field names (e.g. "Credential") to include in
|
||||
// API requests with the JSON null value. By default, fields with empty
|
||||
// values are omitted from API requests. However, any field with an
|
||||
// empty value appearing in NullFields will be sent to the server as
|
||||
// null. It is an error if a field in this list has a non-empty value.
|
||||
// This may be used to include null fields in Patch requests.
|
||||
NullFields []string `json:"-"`
|
||||
|
@ -851,6 +854,10 @@ func (s *DeploymentOutputsEntry) MarshalJSON() ([]byte, error) {
|
|||
}
|
||||
|
||||
type DeploymentUpdate struct {
|
||||
// Credential: Output only. The user-provided default credential to use
|
||||
// when deploying this preview.
|
||||
Credential *Credential `json:"credential,omitempty"`
|
||||
|
||||
// Description: Output only. An optional user-provided description of
|
||||
// the deployment after the current update has been applied.
|
||||
Description string `json:"description,omitempty"`
|
||||
|
@ -867,7 +874,7 @@ type DeploymentUpdate struct {
|
|||
// configuration of this deployment.
|
||||
Manifest string `json:"manifest,omitempty"`
|
||||
|
||||
// ForceSendFields is a list of field names (e.g. "Description") to
|
||||
// ForceSendFields is a list of field names (e.g. "Credential") to
|
||||
// unconditionally include in API requests. By default, fields with
|
||||
// empty values are omitted from API requests. However, any non-pointer,
|
||||
// non-interface field appearing in ForceSendFields will be sent to the
|
||||
|
@ -875,10 +882,10 @@ type DeploymentUpdate struct {
|
|||
// used to include empty fields in Patch requests.
|
||||
ForceSendFields []string `json:"-"`
|
||||
|
||||
// NullFields is a list of field names (e.g. "Description") to include
|
||||
// in API requests with the JSON null value. By default, fields with
|
||||
// empty values are omitted from API requests. However, any field with
|
||||
// an empty value appearing in NullFields will be sent to the server as
|
||||
// NullFields is a list of field names (e.g. "Credential") to include in
|
||||
// API requests with the JSON null value. By default, fields with empty
|
||||
// values are omitted from API requests. However, any field with an
|
||||
// empty value appearing in NullFields will be sent to the server as
|
||||
// null. It is an error if a field in this list has a non-empty value.
|
||||
// This may be used to include null fields in Patch requests.
|
||||
NullFields []string `json:"-"`
|
||||
|
@ -1836,6 +1843,10 @@ type Resource struct {
|
|||
// acquired, in RFC3339 text format .
|
||||
InsertTime string `json:"insertTime,omitempty"`
|
||||
|
||||
// LastUsedCredential: Output only. The last used credential that
|
||||
// successfully created/updated the resource.
|
||||
LastUsedCredential *Credential `json:"lastUsedCredential,omitempty"`
|
||||
|
||||
// Manifest: Output only. URL of the manifest representing the current
|
||||
// configuration of this resource.
|
||||
Manifest string `json:"manifest,omitempty"`
|
||||
|
@ -2004,6 +2015,10 @@ type ResourceUpdate struct {
|
|||
// after updating the resource itself.
|
||||
AccessControl *ResourceAccessControl `json:"accessControl,omitempty"`
|
||||
|
||||
// Credential: Output only. The credential that will be used
|
||||
// creating/updating this resource.
|
||||
Credential *Credential `json:"credential,omitempty"`
|
||||
|
||||
// Error: Output only. If errors are generated during update of the
|
||||
// resource, this field will be populated.
|
||||
Error *ResourceUpdateError `json:"error,omitempty"`
|
||||
|
@ -2236,7 +2251,8 @@ type Rule struct {
|
|||
// Action: Required
|
||||
Action string `json:"action,omitempty"`
|
||||
|
||||
// Conditions: Additional restrictions that must be met
|
||||
// Conditions: Additional restrictions that must be met. All conditions
|
||||
// must pass for the rule to match.
|
||||
Conditions []*Condition `json:"conditions,omitempty"`
|
||||
|
||||
// Description: Human-readable description of the rule.
|
||||
|
|
6
vendor/google.golang.org/api/deploymentmanager/v2/deploymentmanager-api.json
generated
vendored
6
vendor/google.golang.org/api/deploymentmanager/v2/deploymentmanager-api.json
generated
vendored
|
@ -1,12 +1,12 @@
|
|||
{
|
||||
"kind": "discovery#restDescription",
|
||||
"etag": "\"YWOzh2SDasdU84ArJnpYek-OMdg/daUhnbBTIdWllhB4C_Sl3rPArXs\"",
|
||||
"etag": "\"YWOzh2SDasdU84ArJnpYek-OMdg/4coXG-kLdOLe0xqn_lc-mbxcObg\"",
|
||||
"discoveryVersion": "v1",
|
||||
"id": "deploymentmanager:v2",
|
||||
"name": "deploymentmanager",
|
||||
"canonicalName": "Deployment Manager",
|
||||
"version": "v2",
|
||||
"revision": "20170914",
|
||||
"revision": "20170925",
|
||||
"title": "Google Cloud Deployment Manager API",
|
||||
"description": "Declares, configures, and deploys complex solutions on Google Cloud Platform.",
|
||||
"ownerDomain": "google.com",
|
||||
|
@ -945,7 +945,7 @@
|
|||
},
|
||||
"conditions": {
|
||||
"type": "array",
|
||||
"description": "Additional restrictions that must be met",
|
||||
"description": "Additional restrictions that must be met. All conditions must pass for the rule to match.",
|
||||
"items": {
|
||||
"$ref": "Condition"
|
||||
}
|
||||
|
|
3
vendor/google.golang.org/api/deploymentmanager/v2/deploymentmanager-gen.go
generated
vendored
3
vendor/google.golang.org/api/deploymentmanager/v2/deploymentmanager-gen.go
generated
vendored
|
@ -1835,7 +1835,8 @@ type Rule struct {
|
|||
// Action: Required
|
||||
Action string `json:"action,omitempty"`
|
||||
|
||||
// Conditions: Additional restrictions that must be met
|
||||
// Conditions: Additional restrictions that must be met. All conditions
|
||||
// must pass for the rule to match.
|
||||
Conditions []*Condition `json:"conditions,omitempty"`
|
||||
|
||||
// Description: Human-readable description of the rule.
|
||||
|
|
6
vendor/google.golang.org/api/deploymentmanager/v2beta/deploymentmanager-api.json
generated
vendored
6
vendor/google.golang.org/api/deploymentmanager/v2beta/deploymentmanager-api.json
generated
vendored
|
@ -1,12 +1,12 @@
|
|||
{
|
||||
"kind": "discovery#restDescription",
|
||||
"etag": "\"YWOzh2SDasdU84ArJnpYek-OMdg/pNhnika0vHNoLBFUO60LmseDNyE\"",
|
||||
"etag": "\"YWOzh2SDasdU84ArJnpYek-OMdg/fjbnlFC4GTEIX5zCJ4_9R1qQWCw\"",
|
||||
"discoveryVersion": "v1",
|
||||
"id": "deploymentmanager:v2beta",
|
||||
"name": "deploymentmanager",
|
||||
"canonicalName": "Deployment Manager V2Beta",
|
||||
"version": "v2beta",
|
||||
"revision": "20170914",
|
||||
"revision": "20170925",
|
||||
"title": "Google Cloud Deployment Manager API V2Beta Methods",
|
||||
"description": "The Deployment Manager API allows users to declaratively configure, deploy and run complex solutions on the Google Cloud Platform.",
|
||||
"ownerDomain": "google.com",
|
||||
|
@ -1139,7 +1139,7 @@
|
|||
},
|
||||
"conditions": {
|
||||
"type": "array",
|
||||
"description": "Additional restrictions that must be met",
|
||||
"description": "Additional restrictions that must be met. All conditions must pass for the rule to match.",
|
||||
"items": {
|
||||
"$ref": "Condition"
|
||||
}
|
||||
|
|
3
vendor/google.golang.org/api/deploymentmanager/v2beta/deploymentmanager-gen.go
generated
vendored
3
vendor/google.golang.org/api/deploymentmanager/v2beta/deploymentmanager-gen.go
generated
vendored
|
@ -2209,7 +2209,8 @@ type Rule struct {
|
|||
// Action: Required
|
||||
Action string `json:"action,omitempty"`
|
||||
|
||||
// Conditions: Additional restrictions that must be met
|
||||
// Conditions: Additional restrictions that must be met. All conditions
|
||||
// must pass for the rule to match.
|
||||
Conditions []*Condition `json:"conditions,omitempty"`
|
||||
|
||||
// Description: Human-readable description of the rule.
|
||||
|
|
3884
vendor/google.golang.org/api/dlp/v2beta1/dlp-api.json
generated
vendored
3884
vendor/google.golang.org/api/dlp/v2beta1/dlp-api.json
generated
vendored
File diff suppressed because it is too large
Load diff
91
vendor/google.golang.org/api/dlp/v2beta1/dlp-gen.go
generated
vendored
91
vendor/google.golang.org/api/dlp/v2beta1/dlp-gen.go
generated
vendored
|
@ -1025,50 +1025,7 @@ type GooglePrivacyDlpV2beta1CreateInspectOperationRequest struct {
|
|||
// operations.
|
||||
OperationConfig *GooglePrivacyDlpV2beta1OperationConfig `json:"operationConfig,omitempty"`
|
||||
|
||||
// OutputConfig: Optional location to store findings. The bucket must
|
||||
// already exist and
|
||||
// the Google APIs service account for DLP must have write permission
|
||||
// to
|
||||
// write to the given bucket.
|
||||
// Results are split over multiple csv files with each file name
|
||||
// matching
|
||||
// the pattern "[operation_id]_[count].csv", for
|
||||
// example
|
||||
// `3094877188788974909_1.csv`. The `operation_id` matches
|
||||
// the
|
||||
// identifier for the Operation, and the `count` is a counter used
|
||||
// for
|
||||
// tracking the number of files written.
|
||||
//
|
||||
// The CSV file(s) contain the following columns regardless of storage
|
||||
// type
|
||||
// scanned:
|
||||
// - id
|
||||
// - info_type
|
||||
// - likelihood
|
||||
// - byte size of finding
|
||||
// - quote
|
||||
// - timestamp
|
||||
//
|
||||
// For Cloud Storage the next columns are:
|
||||
//
|
||||
// - file_path
|
||||
// - start_offset
|
||||
//
|
||||
// For Cloud Datastore the next columns are:
|
||||
//
|
||||
// - project_id
|
||||
// - namespace_id
|
||||
// - path
|
||||
// - column_name
|
||||
// - offset
|
||||
//
|
||||
// For BigQuery the next columns are:
|
||||
//
|
||||
// - row_number
|
||||
// - project_id
|
||||
// - dataset_id
|
||||
// - table_id
|
||||
// OutputConfig: Optional location to store findings.
|
||||
OutputConfig *GooglePrivacyDlpV2beta1OutputStorageConfig `json:"outputConfig,omitempty"`
|
||||
|
||||
// StorageConfig: Specification of the data set to process.
|
||||
|
@ -1170,7 +1127,8 @@ func (s *GooglePrivacyDlpV2beta1CryptoKey) MarshalJSON() ([]byte, error) {
|
|||
// GooglePrivacyDlpV2beta1CryptoReplaceFfxFpeConfig: Replaces an
|
||||
// identifier with an surrogate using FPE with the FFX
|
||||
// mode of operation.
|
||||
// The identifier must be encoded as ASCII.
|
||||
// The identifier must be representable by the US-ASCII character
|
||||
// set.
|
||||
// For a given crypto key and context, the same identifier will
|
||||
// be
|
||||
// replaced with the same surrogate.
|
||||
|
@ -3031,6 +2989,49 @@ func (s *GooglePrivacyDlpV2beta1OperationConfig) MarshalJSON() ([]byte, error) {
|
|||
type GooglePrivacyDlpV2beta1OutputStorageConfig struct {
|
||||
// StoragePath: The path to a Google Cloud Storage location to store
|
||||
// output.
|
||||
// The bucket must already exist and
|
||||
// the Google APIs service account for DLP must have write permission
|
||||
// to
|
||||
// write to the given bucket.
|
||||
// Results are split over multiple csv files with each file name
|
||||
// matching
|
||||
// the pattern "[operation_id]_[count].csv", for
|
||||
// example
|
||||
// `3094877188788974909_1.csv`. The `operation_id` matches
|
||||
// the
|
||||
// identifier for the Operation, and the `count` is a counter used
|
||||
// for
|
||||
// tracking the number of files written.
|
||||
//
|
||||
// The CSV file(s) contain the following columns regardless of storage
|
||||
// type
|
||||
// scanned:
|
||||
// - id
|
||||
// - info_type
|
||||
// - likelihood
|
||||
// - byte size of finding
|
||||
// - quote
|
||||
// - timestamp
|
||||
//
|
||||
// For Cloud Storage the next columns are:
|
||||
//
|
||||
// - file_path
|
||||
// - start_offset
|
||||
//
|
||||
// For Cloud Datastore the next columns are:
|
||||
//
|
||||
// - project_id
|
||||
// - namespace_id
|
||||
// - path
|
||||
// - column_name
|
||||
// - offset
|
||||
//
|
||||
// For BigQuery the next columns are:
|
||||
//
|
||||
// - row_number
|
||||
// - project_id
|
||||
// - dataset_id
|
||||
// - table_id
|
||||
StoragePath *GooglePrivacyDlpV2beta1CloudStoragePath `json:"storagePath,omitempty"`
|
||||
|
||||
// Table: Store findings in a new table in the dataset.
|
||||
|
|
702
vendor/google.golang.org/api/firebasedynamiclinks/v1/firebasedynamiclinks-api.json
generated
vendored
702
vendor/google.golang.org/api/firebasedynamiclinks/v1/firebasedynamiclinks-api.json
generated
vendored
|
@ -1,16 +1,4 @@
|
|||
{
|
||||
"canonicalName": "Firebase Dynamic Links",
|
||||
"auth": {
|
||||
"oauth2": {
|
||||
"scopes": {
|
||||
"https://www.googleapis.com/auth/firebase": {
|
||||
"description": "View and administer all your Firebase data and settings"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"rootUrl": "https://firebasedynamiclinks-ipv6.googleapis.com/",
|
||||
"ownerDomain": "google.com",
|
||||
"name": "firebasedynamiclinks",
|
||||
"batchPath": "batch",
|
||||
"title": "Firebase Dynamic Links API",
|
||||
|
@ -19,28 +7,48 @@
|
|||
"shortLinks": {
|
||||
"methods": {
|
||||
"create": {
|
||||
"request": {
|
||||
"$ref": "CreateShortDynamicLinkRequest"
|
||||
},
|
||||
"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.",
|
||||
"httpMethod": "POST",
|
||||
"parameterOrder": [],
|
||||
"response": {
|
||||
"$ref": "CreateShortDynamicLinkResponse"
|
||||
},
|
||||
"parameters": {},
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/firebase"
|
||||
],
|
||||
"flatPath": "v1/shortLinks",
|
||||
"id": "firebasedynamiclinks.shortLinks.create",
|
||||
"path": "v1/shortLinks"
|
||||
}
|
||||
}
|
||||
},
|
||||
"v1": {
|
||||
"methods": {
|
||||
"installAttribution": {
|
||||
"response": {
|
||||
"$ref": "GetIosPostInstallAttributionResponse"
|
||||
},
|
||||
"parameterOrder": [],
|
||||
"httpMethod": "POST",
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/firebase"
|
||||
],
|
||||
"parameters": {},
|
||||
"flatPath": "v1/shortLinks",
|
||||
"path": "v1/shortLinks",
|
||||
"id": "firebasedynamiclinks.shortLinks.create",
|
||||
"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.",
|
||||
"flatPath": "v1/installAttribution",
|
||||
"path": "v1/installAttribution",
|
||||
"id": "firebasedynamiclinks.installAttribution",
|
||||
"description": "Get iOS strong/weak-match info for post-install attribution.",
|
||||
"request": {
|
||||
"$ref": "CreateShortDynamicLinkRequest"
|
||||
"$ref": "GetIosPostInstallAttributionRequest"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"v1": {
|
||||
"methods": {
|
||||
},
|
||||
"getLinkStats": {
|
||||
"path": "v1/{dynamicLink}/linkStats",
|
||||
"id": "firebasedynamiclinks.getLinkStats",
|
||||
"description": "Fetches analytics stats of a short Dynamic Link for a given\nduration. Metrics include number of clicks, redirects, installs,\napp first opens, and app reopens.",
|
||||
"response": {
|
||||
"$ref": "DynamicLinkStats"
|
||||
|
@ -60,33 +68,13 @@
|
|||
"type": "string"
|
||||
},
|
||||
"dynamicLink": {
|
||||
"description": "Dynamic Link URL. e.g. https://abcd.app.goo.gl/wxyz",
|
||||
"required": true,
|
||||
"type": "string",
|
||||
"location": "path",
|
||||
"description": "Dynamic Link URL. e.g. https://abcd.app.goo.gl/wxyz"
|
||||
"location": "path"
|
||||
}
|
||||
},
|
||||
"flatPath": "v1/{dynamicLink}/linkStats",
|
||||
"path": "v1/{dynamicLink}/linkStats",
|
||||
"id": "firebasedynamiclinks.getLinkStats"
|
||||
},
|
||||
"installAttribution": {
|
||||
"flatPath": "v1/installAttribution",
|
||||
"path": "v1/installAttribution",
|
||||
"id": "firebasedynamiclinks.installAttribution",
|
||||
"description": "Get iOS strong/weak-match info for post-install attribution.",
|
||||
"request": {
|
||||
"$ref": "GetIosPostInstallAttributionRequest"
|
||||
},
|
||||
"response": {
|
||||
"$ref": "GetIosPostInstallAttributionResponse"
|
||||
},
|
||||
"parameterOrder": [],
|
||||
"httpMethod": "POST",
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/firebase"
|
||||
],
|
||||
"parameters": {}
|
||||
"flatPath": "v1/{dynamicLink}/linkStats"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -98,10 +86,10 @@
|
|||
"location": "query"
|
||||
},
|
||||
"prettyPrint": {
|
||||
"location": "query",
|
||||
"description": "Returns response with indentations and line breaks.",
|
||||
"type": "boolean",
|
||||
"default": "true"
|
||||
"default": "true",
|
||||
"location": "query"
|
||||
},
|
||||
"uploadType": {
|
||||
"location": "query",
|
||||
|
@ -109,58 +97,58 @@
|
|||
"type": "string"
|
||||
},
|
||||
"fields": {
|
||||
"type": "string",
|
||||
"location": "query",
|
||||
"description": "Selector specifying which fields to include in a partial response."
|
||||
"description": "Selector specifying which fields to include in a partial response.",
|
||||
"type": "string"
|
||||
},
|
||||
"callback": {
|
||||
"location": "query",
|
||||
"description": "JSONP",
|
||||
"type": "string",
|
||||
"location": "query"
|
||||
"type": "string"
|
||||
},
|
||||
"$.xgafv": {
|
||||
"location": "query",
|
||||
"enum": [
|
||||
"1",
|
||||
"2"
|
||||
],
|
||||
"description": "V1 error format.",
|
||||
"type": "string",
|
||||
"enumDescriptions": [
|
||||
"v1 error format",
|
||||
"v2 error format"
|
||||
],
|
||||
"location": "query",
|
||||
"enum": [
|
||||
"1",
|
||||
"2"
|
||||
]
|
||||
},
|
||||
"alt": {
|
||||
"type": "string",
|
||||
"enumDescriptions": [
|
||||
"Responses with Content-Type of application/json",
|
||||
"Media download with context-dependent Content-Type",
|
||||
"Responses with Content-Type of application/x-protobuf"
|
||||
],
|
||||
"location": "query",
|
||||
"description": "Data format for response.",
|
||||
"default": "json",
|
||||
"enum": [
|
||||
"json",
|
||||
"media",
|
||||
"proto"
|
||||
]
|
||||
},
|
||||
"key": {
|
||||
"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.",
|
||||
],
|
||||
"type": "string",
|
||||
"enumDescriptions": [
|
||||
"Responses with Content-Type of application/json",
|
||||
"Media download with context-dependent Content-Type",
|
||||
"Responses with Content-Type of application/x-protobuf"
|
||||
],
|
||||
"location": "query"
|
||||
},
|
||||
"access_token": {
|
||||
"type": "string",
|
||||
"key": {
|
||||
"location": "query",
|
||||
"description": "OAuth access token."
|
||||
"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.",
|
||||
"type": "string"
|
||||
},
|
||||
"access_token": {
|
||||
"location": "query",
|
||||
"description": "OAuth access token.",
|
||||
"type": "string"
|
||||
},
|
||||
"quotaUser": {
|
||||
"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.",
|
||||
"type": "string",
|
||||
"location": "query",
|
||||
"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters."
|
||||
"location": "query"
|
||||
},
|
||||
"pp": {
|
||||
"description": "Pretty-print response.",
|
||||
|
@ -169,9 +157,9 @@
|
|||
"location": "query"
|
||||
},
|
||||
"bearer_token": {
|
||||
"location": "query",
|
||||
"description": "OAuth bearer token.",
|
||||
"type": "string"
|
||||
"type": "string",
|
||||
"location": "query"
|
||||
},
|
||||
"oauth_token": {
|
||||
"description": "OAuth 2.0 token for the current user.",
|
||||
|
@ -181,192 +169,18 @@
|
|||
},
|
||||
"version": "v1",
|
||||
"baseUrl": "https://firebasedynamiclinks-ipv6.googleapis.com/",
|
||||
"kind": "discovery#restDescription",
|
||||
"description": "Programmatically creates and manages Firebase Dynamic Links.",
|
||||
"servicePath": "",
|
||||
"description": "Programmatically creates and manages Firebase Dynamic Links.",
|
||||
"kind": "discovery#restDescription",
|
||||
"basePath": "",
|
||||
"id": "firebasedynamiclinks:v1",
|
||||
"revision": "20170918",
|
||||
"documentationLink": "https://firebase.google.com/docs/dynamic-links/",
|
||||
"revision": "20170926",
|
||||
"discoveryVersion": "v1",
|
||||
"version_module": true,
|
||||
"schemas": {
|
||||
"IosInfo": {
|
||||
"properties": {
|
||||
"iosIpadFallbackLink": {
|
||||
"description": "If specified, this overrides the ios_fallback_link value on iPads.",
|
||||
"type": "string"
|
||||
},
|
||||
"iosIpadBundleId": {
|
||||
"description": "iPad bundle ID of the app.",
|
||||
"type": "string"
|
||||
},
|
||||
"iosCustomScheme": {
|
||||
"description": "Custom (destination) scheme to use for iOS. By default, we’ll use the\nbundle ID as the custom scheme. Developer can override this behavior using\nthis param.",
|
||||
"type": "string"
|
||||
},
|
||||
"iosBundleId": {
|
||||
"type": "string",
|
||||
"description": "iOS bundle ID of the app."
|
||||
},
|
||||
"iosFallbackLink": {
|
||||
"description": "Link to open on iOS if the app is not installed.",
|
||||
"type": "string"
|
||||
},
|
||||
"iosAppStoreId": {
|
||||
"description": "iOS App Store ID.",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"id": "IosInfo",
|
||||
"description": "iOS related attributes to the Dynamic Link..",
|
||||
"type": "object"
|
||||
},
|
||||
"AnalyticsInfo": {
|
||||
"description": "Tracking parameters supported by Dynamic Link.",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"googlePlayAnalytics": {
|
||||
"$ref": "GooglePlayAnalytics",
|
||||
"description": "Google Play Campaign Measurements."
|
||||
},
|
||||
"itunesConnectAnalytics": {
|
||||
"$ref": "ITunesConnectAnalytics",
|
||||
"description": "iTunes Connect App Analytics."
|
||||
}
|
||||
},
|
||||
"id": "AnalyticsInfo"
|
||||
},
|
||||
"CreateShortDynamicLinkRequest": {
|
||||
"id": "CreateShortDynamicLinkRequest",
|
||||
"description": "Request to create a short Dynamic Link.",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"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": {
|
||||
"$ref": "Suffix",
|
||||
"description": "Short Dynamic Link suffix. Optional."
|
||||
},
|
||||
"dynamicLinkInfo": {
|
||||
"$ref": "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)."
|
||||
}
|
||||
}
|
||||
},
|
||||
"DynamicLinkEventStat": {
|
||||
"description": "Dynamic Link event stat.",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"platform": {
|
||||
"enumDescriptions": [
|
||||
"Unspecified platform.",
|
||||
"Represents Android platform.\nAll apps and browsers on Android are classfied in this category.",
|
||||
"Represents iOS platform.\nAll apps and browsers on iOS are classfied in this category.",
|
||||
"Represents desktop.\nNote: other platforms like Windows, Blackberry, Amazon fall into this\ncategory."
|
||||
],
|
||||
"enum": [
|
||||
"DYNAMIC_LINK_PLATFORM_UNSPECIFIED",
|
||||
"ANDROID",
|
||||
"IOS",
|
||||
"DESKTOP"
|
||||
],
|
||||
"description": "Requested platform.",
|
||||
"type": "string"
|
||||
},
|
||||
"count": {
|
||||
"description": "The number of times this event occurred.",
|
||||
"format": "int64",
|
||||
"type": "string"
|
||||
},
|
||||
"event": {
|
||||
"enumDescriptions": [
|
||||
"Unspecified type.",
|
||||
"Indicates that an FDL is clicked by users.",
|
||||
"Indicates that an FDL redirects users to fallback link.",
|
||||
"Indicates that an FDL triggers an app install from Play store, currently\nit's impossible to get stats from App store.",
|
||||
"Indicates that the app is opened for the first time after an install\ntriggered by FDLs",
|
||||
"Indicates that the app is opened via an FDL for non-first time."
|
||||
],
|
||||
"enum": [
|
||||
"DYNAMIC_LINK_EVENT_UNSPECIFIED",
|
||||
"CLICK",
|
||||
"REDIRECT",
|
||||
"APP_INSTALL",
|
||||
"APP_FIRST_OPEN",
|
||||
"APP_RE_OPEN"
|
||||
],
|
||||
"description": "Link event.",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"id": "DynamicLinkEventStat"
|
||||
},
|
||||
"GetIosPostInstallAttributionRequest": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"sdkVersion": {
|
||||
"description": "Google SDK version.",
|
||||
"type": "string"
|
||||
},
|
||||
"bundleId": {
|
||||
"description": "APP bundle ID.",
|
||||
"type": "string"
|
||||
},
|
||||
"device": {
|
||||
"$ref": "DeviceInfo",
|
||||
"description": "Device information."
|
||||
},
|
||||
"uniqueMatchLinkToCheck": {
|
||||
"description": "Possible unique matched link that server need to check before performing\nfingerprint match. If passed link is short server need to expand the link.\nIf link is long server need to vslidate the link.",
|
||||
"type": "string"
|
||||
},
|
||||
"appInstallationTime": {
|
||||
"description": "App installation epoch time (https://en.wikipedia.org/wiki/Unix_time).\nThis is a client signal for a more accurate weak match.",
|
||||
"format": "int64",
|
||||
"type": "string"
|
||||
},
|
||||
"iosVersion": {
|
||||
"description": "iOS version, ie: 9.3.5.\nConsider adding \"build\".",
|
||||
"type": "string"
|
||||
},
|
||||
"visualStyle": {
|
||||
"description": "Strong match page information. Disambiguates between default UI and\ncustom page to present when strong match succeeds/fails to find cookie.",
|
||||
"type": "string",
|
||||
"enumDescriptions": [
|
||||
"Unknown style.",
|
||||
"Default style.",
|
||||
"Custom style."
|
||||
],
|
||||
"enum": [
|
||||
"UNKNOWN_VISUAL_STYLE",
|
||||
"DEFAULT_STYLE",
|
||||
"CUSTOM_STYLE"
|
||||
]
|
||||
},
|
||||
"retrievalMethod": {
|
||||
"description": "App post install attribution retrieval information. Disambiguates\nmechanism (iSDK or developer invoked) to retrieve payload from\nclicked link.",
|
||||
"type": "string",
|
||||
"enumDescriptions": [
|
||||
"Unknown method.",
|
||||
"iSDK performs a server lookup by device fingerprint in the background\nwhen app is first-opened; no API called by developer.",
|
||||
"iSDK performs a server lookup by device fingerprint upon a dev API call.",
|
||||
"iSDK performs a strong match only if weak match is found upon a dev\nAPI call."
|
||||
],
|
||||
"enum": [
|
||||
"UNKNOWN_PAYLOAD_RETRIEVAL_METHOD",
|
||||
"IMPLICIT_WEAK_MATCH",
|
||||
"EXPLICIT_WEAK_MATCH",
|
||||
"EXPLICIT_STRONG_AFTER_WEAK_MATCH"
|
||||
]
|
||||
}
|
||||
},
|
||||
"id": "GetIosPostInstallAttributionRequest",
|
||||
"description": "Request for iSDK to execute strong match flow for post-install attribution.\nThis is meant for iOS requests only. Requests from other platforms will\nnot be honored."
|
||||
},
|
||||
"CreateShortDynamicLinkResponse": {
|
||||
"id": "CreateShortDynamicLinkResponse",
|
||||
"description": "Response to create a short Dynamic Link.",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
|
@ -385,8 +199,7 @@
|
|||
"$ref": "DynamicLinkWarning"
|
||||
}
|
||||
}
|
||||
},
|
||||
"id": "CreateShortDynamicLinkResponse"
|
||||
}
|
||||
},
|
||||
"Suffix": {
|
||||
"description": "Short Dynamic Link suffix.",
|
||||
|
@ -413,6 +226,14 @@
|
|||
"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": {
|
||||
"utmContent": {
|
||||
"description": "Campaign content; used for A/B testing and content-targeted ads to\ndifferentiate ads or links that point to the same URL.",
|
||||
"type": "string"
|
||||
},
|
||||
"utmMedium": {
|
||||
"description": "Campaign medium; used to identify a medium such as email or cost-per-click.",
|
||||
"type": "string"
|
||||
},
|
||||
"utmTerm": {
|
||||
"description": "Campaign term; used with paid search to supply the keywords for ads.",
|
||||
"type": "string"
|
||||
|
@ -428,23 +249,22 @@
|
|||
"utmCampaign": {
|
||||
"type": "string",
|
||||
"description": "Campaign name; used for keyword analysis to identify a specific product\npromotion or strategic campaign."
|
||||
},
|
||||
"utmContent": {
|
||||
"description": "Campaign content; used for A/B testing and content-targeted ads to\ndifferentiate ads or links that point to the same URL.",
|
||||
"type": "string"
|
||||
},
|
||||
"utmMedium": {
|
||||
"description": "Campaign medium; used to identify a medium such as email or cost-per-click.",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"id": "GooglePlayAnalytics"
|
||||
},
|
||||
"DynamicLinkInfo": {
|
||||
"id": "DynamicLinkInfo",
|
||||
"description": "Information about a Dynamic Link.",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"navigationInfo": {
|
||||
"$ref": "NavigationInfo",
|
||||
"description": "Information of navigation behavior of a Firebase Dynamic Links."
|
||||
},
|
||||
"analyticsInfo": {
|
||||
"description": "Parameters used for tracking. See all tracking parameters in the\n[documentation](https://firebase.google.com/docs/dynamic-links/create-manually).",
|
||||
"$ref": "AnalyticsInfo"
|
||||
},
|
||||
"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/receive)\non how to set up Dynamic Link domain associated with your Firebase project.\n\nRequired.",
|
||||
"type": "string"
|
||||
|
@ -454,29 +274,21 @@
|
|||
"type": "string"
|
||||
},
|
||||
"iosInfo": {
|
||||
"description": "iOS related information. See iOS related parameters in the\n[documentation](https://firebase.google.com/docs/dynamic-links/create-manually).",
|
||||
"$ref": "IosInfo"
|
||||
"$ref": "IosInfo",
|
||||
"description": "iOS related information. See iOS related parameters in the\n[documentation](https://firebase.google.com/docs/dynamic-links/create-manually)."
|
||||
},
|
||||
"socialMetaTagInfo": {
|
||||
"description": "Parameters for social meta tag params.\nUsed to set meta tag data for link previews on social sites.",
|
||||
"$ref": "SocialMetaTagInfo"
|
||||
"$ref": "SocialMetaTagInfo",
|
||||
"description": "Parameters for social meta tag params.\nUsed to set meta tag data for link previews on social sites."
|
||||
},
|
||||
"androidInfo": {
|
||||
"description": "Android related information. See Android related parameters in the\n[documentation](https://firebase.google.com/docs/dynamic-links/create-manually).",
|
||||
"$ref": "AndroidInfo"
|
||||
},
|
||||
"navigationInfo": {
|
||||
"$ref": "NavigationInfo",
|
||||
"description": "Information of navigation behavior of a Firebase Dynamic Links."
|
||||
},
|
||||
"analyticsInfo": {
|
||||
"$ref": "AnalyticsInfo",
|
||||
"description": "Parameters used for tracking. See all tracking parameters in the\n[documentation](https://firebase.google.com/docs/dynamic-links/create-manually)."
|
||||
"$ref": "AndroidInfo",
|
||||
"description": "Android related information. See Android related parameters in the\n[documentation](https://firebase.google.com/docs/dynamic-links/create-manually)."
|
||||
}
|
||||
}
|
||||
},
|
||||
"id": "DynamicLinkInfo"
|
||||
},
|
||||
"ITunesConnectAnalytics": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"at": {
|
||||
"description": "Affiliate token used to create affiliate-coded links.",
|
||||
|
@ -487,8 +299,8 @@
|
|||
"type": "string"
|
||||
},
|
||||
"mt": {
|
||||
"type": "string",
|
||||
"description": "iTune media types, including music, podcasts, audiobooks and so on."
|
||||
"description": "iTune media types, including music, podcasts, audiobooks and so on.",
|
||||
"type": "string"
|
||||
},
|
||||
"pt": {
|
||||
"description": "Provider token that enables analytics for Dynamic Links from within iTunes\nConnect.",
|
||||
|
@ -496,21 +308,13 @@
|
|||
}
|
||||
},
|
||||
"id": "ITunesConnectAnalytics",
|
||||
"description": "Parameters for iTunes Connect App Analytics."
|
||||
"description": "Parameters for iTunes Connect App Analytics.",
|
||||
"type": "object"
|
||||
},
|
||||
"DeviceInfo": {
|
||||
"description": "Signals associated with the device making the request.",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"screenResolutionWidth": {
|
||||
"description": "Device display resolution width.",
|
||||
"format": "int64",
|
||||
"type": "string"
|
||||
},
|
||||
"deviceModelName": {
|
||||
"description": "Device model name.",
|
||||
"type": "string"
|
||||
},
|
||||
"screenResolutionHeight": {
|
||||
"description": "Device display resolution height.",
|
||||
"format": "int64",
|
||||
|
@ -523,6 +327,15 @@
|
|||
"timezone": {
|
||||
"description": "Device timezone setting.",
|
||||
"type": "string"
|
||||
},
|
||||
"screenResolutionWidth": {
|
||||
"description": "Device display resolution width.",
|
||||
"format": "int64",
|
||||
"type": "string"
|
||||
},
|
||||
"deviceModelName": {
|
||||
"description": "Device model name.",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"id": "DeviceInfo"
|
||||
|
@ -531,6 +344,42 @@
|
|||
"description": "Response for iSDK to execute strong match flow for post-install attribution.",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"deepLink": {
|
||||
"description": "The deep-link attributed post-install via one of several techniques\n(fingerprint, copy unique).",
|
||||
"type": "string"
|
||||
},
|
||||
"invitationId": {
|
||||
"description": "Invitation ID attributed post-install via one of several techniques\n(fingerprint, copy unique).",
|
||||
"type": "string"
|
||||
},
|
||||
"attributionConfidence": {
|
||||
"enum": [
|
||||
"UNKNOWN_ATTRIBUTION_CONFIDENCE",
|
||||
"WEAK",
|
||||
"DEFAULT",
|
||||
"UNIQUE"
|
||||
],
|
||||
"description": "The confidence of the returned attribution.",
|
||||
"type": "string",
|
||||
"enumDescriptions": [
|
||||
"Unset.",
|
||||
"Weak confidence, more than one matching link found or link suspected to\nbe false positive",
|
||||
"Default confidence, match based on fingerprint",
|
||||
"Unique confidence, match based on \"unique match link to check\" or other\nmeans"
|
||||
]
|
||||
},
|
||||
"externalBrowserDestinationLink": {
|
||||
"description": "User-agent specific custom-scheme URIs for iSDK to open. This will be set\naccording to the user-agent tha the click was originally made in. There is\nno Safari-equivalent custom-scheme open URLs.\nie: googlechrome://www.example.com\nie: firefox://open-url?url=http://www.example.com\nie: opera-http://example.com",
|
||||
"type": "string"
|
||||
},
|
||||
"matchMessage": {
|
||||
"description": "Describes why match failed, ie: \"discarded due to low confidence\".\nThis message will be publicly visible.",
|
||||
"type": "string"
|
||||
},
|
||||
"resolvedLink": {
|
||||
"description": "The entire FDL, expanded from a short link. It is the same as the\nrequested_link, if it is long. Parameters from this should not be\nused directly (ie: server can default utm_[campaign|medium|source]\nto a value when requested_link lack them, server determine the best\nfallback_link when requested_link specifies \u003e1 fallback links).",
|
||||
"type": "string"
|
||||
},
|
||||
"utmCampaign": {
|
||||
"description": "Scion campaign value to be propagated by iSDK to Scion at post-install.",
|
||||
"type": "string"
|
||||
|
@ -556,43 +405,7 @@
|
|||
"type": "boolean"
|
||||
},
|
||||
"appMinimumVersion": {
|
||||
"type": "string",
|
||||
"description": "The minimum version for app, specified by dev through ?imv= parameter.\nReturn to iSDK to allow app to evaluate if current version meets this."
|
||||
},
|
||||
"invitationId": {
|
||||
"description": "Invitation ID attributed post-install via one of several techniques\n(fingerprint, copy unique).",
|
||||
"type": "string"
|
||||
},
|
||||
"deepLink": {
|
||||
"description": "The deep-link attributed post-install via one of several techniques\n(fingerprint, copy unique).",
|
||||
"type": "string"
|
||||
},
|
||||
"externalBrowserDestinationLink": {
|
||||
"description": "User-agent specific custom-scheme URIs for iSDK to open. This will be set\naccording to the user-agent tha the click was originally made in. There is\nno Safari-equivalent custom-scheme open URLs.\nie: googlechrome://www.example.com\nie: firefox://open-url?url=http://www.example.com\nie: opera-http://example.com",
|
||||
"type": "string"
|
||||
},
|
||||
"attributionConfidence": {
|
||||
"enum": [
|
||||
"UNKNOWN_ATTRIBUTION_CONFIDENCE",
|
||||
"WEAK",
|
||||
"DEFAULT",
|
||||
"UNIQUE"
|
||||
],
|
||||
"description": "The confidence of the returned attribution.",
|
||||
"type": "string",
|
||||
"enumDescriptions": [
|
||||
"Unset.",
|
||||
"Weak confidence, more than one matching link found or link suspected to\nbe false positive",
|
||||
"Default confidence, match based on fingerprint",
|
||||
"Unique confidence, match based on \"unique match link to check\" or other\nmeans"
|
||||
]
|
||||
},
|
||||
"matchMessage": {
|
||||
"description": "Describes why match failed, ie: \"discarded due to low confidence\".\nThis message will be publicly visible.",
|
||||
"type": "string"
|
||||
},
|
||||
"resolvedLink": {
|
||||
"description": "The entire FDL, expanded from a short link. It is the same as the\nrequested_link, if it is long. Parameters from this should not be\nused directly (ie: server can default utm_[campaign|medium|source]\nto a value when requested_link lack them, server determine the best\nfallback_link when requested_link specifies \u003e1 fallback links).",
|
||||
"description": "The minimum version for app, specified by dev through ?imv= parameter.\nReturn to iSDK to allow app to evaluate if current version meets this.",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
|
@ -602,22 +415,24 @@
|
|||
"description": "Parameters for social meta tag params.\nUsed to set meta tag data for link previews on social sites.",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"socialDescription": {
|
||||
"description": "A short description of the link. Optional.",
|
||||
"type": "string"
|
||||
},
|
||||
"socialTitle": {
|
||||
"type": "string",
|
||||
"description": "Title to be displayed. Optional."
|
||||
"description": "Title to be displayed. Optional.",
|
||||
"type": "string"
|
||||
},
|
||||
"socialImageLink": {
|
||||
"description": "An image url string. Optional.",
|
||||
"type": "string"
|
||||
},
|
||||
"socialDescription": {
|
||||
"description": "A short description of the link. Optional.",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"id": "SocialMetaTagInfo"
|
||||
},
|
||||
"DynamicLinkStats": {
|
||||
"description": "Analytics stats of a Dynamic Link for a given timeframe.",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"linkEventStats": {
|
||||
"description": "Dynamic Link event stats.",
|
||||
|
@ -627,22 +442,12 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
"id": "DynamicLinkStats",
|
||||
"description": "Analytics stats of a Dynamic Link for a given timeframe.",
|
||||
"type": "object"
|
||||
"id": "DynamicLinkStats"
|
||||
},
|
||||
"DynamicLinkWarning": {
|
||||
"description": "Dynamic Links warning messages.",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"warningMessage": {
|
||||
"description": "The warning message to help developers improve their requests.",
|
||||
"type": "string"
|
||||
},
|
||||
"warningDocumentLink": {
|
||||
"type": "string",
|
||||
"description": "The document describing the warning, and helps resolve."
|
||||
},
|
||||
"warningCode": {
|
||||
"description": "The warning code.",
|
||||
"type": "string",
|
||||
|
@ -708,6 +513,14 @@
|
|||
"LINK_WITH_FRAGMENTS",
|
||||
"NOT_MATCHING_IOS_BUNDLE_ID_AND_STORE_ID"
|
||||
]
|
||||
},
|
||||
"warningMessage": {
|
||||
"description": "The warning message to help developers improve their requests.",
|
||||
"type": "string"
|
||||
},
|
||||
"warningDocumentLink": {
|
||||
"description": "The document describing the warning, and helps resolve.",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"id": "DynamicLinkWarning"
|
||||
|
@ -730,26 +543,213 @@
|
|||
"type": "string"
|
||||
},
|
||||
"androidLink": {
|
||||
"type": "string",
|
||||
"description": "If specified, this overrides the ‘link’ parameter on Android."
|
||||
"description": "If specified, this overrides the ‘link’ parameter on Android.",
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
"NavigationInfo": {
|
||||
"description": "Information of navigation behavior.",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"enableForcedRedirect": {
|
||||
"description": "If this option is on, FDL click will be forced to redirect rather than\nshow an interstitial page.",
|
||||
"type": "boolean"
|
||||
}
|
||||
},
|
||||
"id": "NavigationInfo",
|
||||
"description": "Information of navigation behavior.",
|
||||
"type": "object"
|
||||
"id": "NavigationInfo"
|
||||
},
|
||||
"IosInfo": {
|
||||
"description": "iOS related attributes to the Dynamic Link..",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"iosFallbackLink": {
|
||||
"description": "Link to open on iOS if the app is not installed.",
|
||||
"type": "string"
|
||||
},
|
||||
"iosAppStoreId": {
|
||||
"description": "iOS App Store ID.",
|
||||
"type": "string"
|
||||
},
|
||||
"iosIpadFallbackLink": {
|
||||
"description": "If specified, this overrides the ios_fallback_link value on iPads.",
|
||||
"type": "string"
|
||||
},
|
||||
"iosIpadBundleId": {
|
||||
"description": "iPad bundle ID of the app.",
|
||||
"type": "string"
|
||||
},
|
||||
"iosCustomScheme": {
|
||||
"description": "Custom (destination) scheme to use for iOS. By default, we’ll use the\nbundle ID as the custom scheme. Developer can override this behavior using\nthis param.",
|
||||
"type": "string"
|
||||
},
|
||||
"iosBundleId": {
|
||||
"type": "string",
|
||||
"description": "iOS bundle ID of the app."
|
||||
}
|
||||
},
|
||||
"id": "IosInfo"
|
||||
},
|
||||
"AnalyticsInfo": {
|
||||
"description": "Tracking parameters supported by Dynamic Link.",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"itunesConnectAnalytics": {
|
||||
"$ref": "ITunesConnectAnalytics",
|
||||
"description": "iTunes Connect App Analytics."
|
||||
},
|
||||
"googlePlayAnalytics": {
|
||||
"$ref": "GooglePlayAnalytics",
|
||||
"description": "Google Play Campaign Measurements."
|
||||
}
|
||||
},
|
||||
"id": "AnalyticsInfo"
|
||||
},
|
||||
"CreateShortDynamicLinkRequest": {
|
||||
"description": "Request to create a short Dynamic Link.",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"dynamicLinkInfo": {
|
||||
"$ref": "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)."
|
||||
},
|
||||
"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": {
|
||||
"$ref": "Suffix",
|
||||
"description": "Short Dynamic Link suffix. Optional."
|
||||
}
|
||||
},
|
||||
"id": "CreateShortDynamicLinkRequest"
|
||||
},
|
||||
"DynamicLinkEventStat": {
|
||||
"description": "Dynamic Link event stat.",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"count": {
|
||||
"type": "string",
|
||||
"description": "The number of times this event occurred.",
|
||||
"format": "int64"
|
||||
},
|
||||
"event": {
|
||||
"description": "Link event.",
|
||||
"type": "string",
|
||||
"enumDescriptions": [
|
||||
"Unspecified type.",
|
||||
"Indicates that an FDL is clicked by users.",
|
||||
"Indicates that an FDL redirects users to fallback link.",
|
||||
"Indicates that an FDL triggers an app install from Play store, currently\nit's impossible to get stats from App store.",
|
||||
"Indicates that the app is opened for the first time after an install\ntriggered by FDLs",
|
||||
"Indicates that the app is opened via an FDL for non-first time."
|
||||
],
|
||||
"enum": [
|
||||
"DYNAMIC_LINK_EVENT_UNSPECIFIED",
|
||||
"CLICK",
|
||||
"REDIRECT",
|
||||
"APP_INSTALL",
|
||||
"APP_FIRST_OPEN",
|
||||
"APP_RE_OPEN"
|
||||
]
|
||||
},
|
||||
"platform": {
|
||||
"enumDescriptions": [
|
||||
"Unspecified platform.",
|
||||
"Represents Android platform.\nAll apps and browsers on Android are classfied in this category.",
|
||||
"Represents iOS platform.\nAll apps and browsers on iOS are classfied in this category.",
|
||||
"Represents desktop.\nNote: other platforms like Windows, Blackberry, Amazon fall into this\ncategory."
|
||||
],
|
||||
"enum": [
|
||||
"DYNAMIC_LINK_PLATFORM_UNSPECIFIED",
|
||||
"ANDROID",
|
||||
"IOS",
|
||||
"DESKTOP"
|
||||
],
|
||||
"description": "Requested platform.",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"id": "DynamicLinkEventStat"
|
||||
},
|
||||
"GetIosPostInstallAttributionRequest": {
|
||||
"description": "Request for iSDK to execute strong match flow for post-install attribution.\nThis is meant for iOS requests only. Requests from other platforms will\nnot be honored.",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"uniqueMatchLinkToCheck": {
|
||||
"description": "Possible unique matched link that server need to check before performing\nfingerprint match. If passed link is short server need to expand the link.\nIf link is long server need to vslidate the link.",
|
||||
"type": "string"
|
||||
},
|
||||
"appInstallationTime": {
|
||||
"description": "App installation epoch time (https://en.wikipedia.org/wiki/Unix_time).\nThis is a client signal for a more accurate weak match.",
|
||||
"format": "int64",
|
||||
"type": "string"
|
||||
},
|
||||
"iosVersion": {
|
||||
"description": "iOS version, ie: 9.3.5.\nConsider adding \"build\".",
|
||||
"type": "string"
|
||||
},
|
||||
"retrievalMethod": {
|
||||
"enumDescriptions": [
|
||||
"Unknown method.",
|
||||
"iSDK performs a server lookup by device fingerprint in the background\nwhen app is first-opened; no API called by developer.",
|
||||
"iSDK performs a server lookup by device fingerprint upon a dev API call.",
|
||||
"iSDK performs a strong match only if weak match is found upon a dev\nAPI call."
|
||||
],
|
||||
"enum": [
|
||||
"UNKNOWN_PAYLOAD_RETRIEVAL_METHOD",
|
||||
"IMPLICIT_WEAK_MATCH",
|
||||
"EXPLICIT_WEAK_MATCH",
|
||||
"EXPLICIT_STRONG_AFTER_WEAK_MATCH"
|
||||
],
|
||||
"description": "App post install attribution retrieval information. Disambiguates\nmechanism (iSDK or developer invoked) to retrieve payload from\nclicked link.",
|
||||
"type": "string"
|
||||
},
|
||||
"visualStyle": {
|
||||
"enumDescriptions": [
|
||||
"Unknown style.",
|
||||
"Default style.",
|
||||
"Custom style."
|
||||
],
|
||||
"enum": [
|
||||
"UNKNOWN_VISUAL_STYLE",
|
||||
"DEFAULT_STYLE",
|
||||
"CUSTOM_STYLE"
|
||||
],
|
||||
"description": "Strong match page information. Disambiguates between default UI and\ncustom page to present when strong match succeeds/fails to find cookie.",
|
||||
"type": "string"
|
||||
},
|
||||
"sdkVersion": {
|
||||
"description": "Google SDK version.",
|
||||
"type": "string"
|
||||
},
|
||||
"bundleId": {
|
||||
"description": "APP bundle ID.",
|
||||
"type": "string"
|
||||
},
|
||||
"device": {
|
||||
"description": "Device information.",
|
||||
"$ref": "DeviceInfo"
|
||||
}
|
||||
},
|
||||
"id": "GetIosPostInstallAttributionRequest"
|
||||
}
|
||||
},
|
||||
"icons": {
|
||||
"x16": "http://www.google.com/images/icons/product/search-16.gif",
|
||||
"x32": "http://www.google.com/images/icons/product/search-32.gif"
|
||||
},
|
||||
"protocol": "rest"
|
||||
"protocol": "rest",
|
||||
"canonicalName": "Firebase Dynamic Links",
|
||||
"auth": {
|
||||
"oauth2": {
|
||||
"scopes": {
|
||||
"https://www.googleapis.com/auth/firebase": {
|
||||
"description": "View and administer all your Firebase data and settings"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"rootUrl": "https://firebasedynamiclinks-ipv6.googleapis.com/",
|
||||
"ownerDomain": "google.com"
|
||||
}
|
||||
|
|
202
vendor/google.golang.org/api/firebaseremoteconfig/v1/firebaseremoteconfig-api.json
generated
vendored
202
vendor/google.golang.org/api/firebaseremoteconfig/v1/firebaseremoteconfig-api.json
generated
vendored
|
@ -1,63 +1,36 @@
|
|||
{
|
||||
"discoveryVersion": "v1",
|
||||
"version_module": true,
|
||||
"schemas": {
|
||||
"RemoteConfigParameterValue": {
|
||||
"description": "A RemoteConfigParameter's \"value\" (either the default value, or the value\nassociated with a condition name) is either a string, or the\n\"use_in_app_default\" indicator (which means to leave out the parameter from\nthe returned \u003ckey, value\u003e map that is the output of the parameter fetch).\nWe represent the \"use_in_app_default\" as a bool, but (when using the boolean\ninstead of the string) it should always be \u003ccode\u003etrue\u003c/code\u003e.",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"useInAppDefault": {
|
||||
"description": "if true, omit the parameter from the map of fetched parameter values",
|
||||
"type": "boolean"
|
||||
},
|
||||
"value": {
|
||||
"description": "the string to set the parameter to",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"id": "RemoteConfigParameterValue"
|
||||
},
|
||||
"RemoteConfig": {
|
||||
"description": "*\nThe RemoteConfig consists of a list of conditions (which can be\nthought of as named \"if\" statements) and a map of parameters (parameter key\nto a stucture containing an optional default value, as well as a optional\nsubmap of (condition name to value when that condition is true).",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"parameters": {
|
||||
"additionalProperties": {
|
||||
"$ref": "RemoteConfigParameter"
|
||||
},
|
||||
"description": "Map of parameter keys to their optional default values and optional submap\nof (condition name : value). Order doesn't affect semantics, and so is\nsorted by the server. The 'key' values of the params must be unique.",
|
||||
"type": "object"
|
||||
},
|
||||
"conditions": {
|
||||
"description": "The list of named conditions. The order *does* affect the semantics.\nThe condition_name values of these entries must be unique.\n\nThe resolved value of a config parameter P is determined as follow:\n* Let Y be the set of values from the submap of P that refer to conditions\n that evaluate to \u003ccode\u003etrue\u003c/code\u003e.\n* If Y is non empty, the value is taken from the specific submap in Y whose\n condition_name is the earliest in this condition list.\n* Else, if P has a default value option (condition_name is empty) then\n the value is taken from that option.\n* Else, parameter P has no value and is omitted from the config result.\n\nExample: parameter key \"p1\", default value \"v1\", submap specified as\n{\"c1\": v2, \"c2\": v3} where \"c1\" and \"c2\" are names of conditions in the\ncondition list (where \"c1\" in this example appears before \"c2\"). The\nvalue of p1 would be v2 as long as c1 is true. Otherwise, if c2 is true,\np1 would evaluate to v3, and if c1 and c2 are both false, p1 would evaluate\nto v1. If no default value was specified, and c1 and c2 were both false,\nno value for p1 would be generated.",
|
||||
"items": {
|
||||
"$ref": "RemoteConfigCondition"
|
||||
},
|
||||
"type": "array"
|
||||
}
|
||||
},
|
||||
"id": "RemoteConfig"
|
||||
},
|
||||
"RemoteConfigParameter": {
|
||||
"description": "While default_value and conditional_values are each optional, at least one of\nthe two is required - otherwise, the parameter is meaningless (and an\nexception will be thrown by the validation logic).",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"defaultValue": {
|
||||
"$ref": "RemoteConfigParameterValue",
|
||||
"description": "Optional - value to set the parameter to, when none of the named conditions\nevaluate to \u003ccode\u003etrue\u003c/code\u003e."
|
||||
},
|
||||
"conditionalValues": {
|
||||
"additionalProperties": {
|
||||
"$ref": "RemoteConfigParameterValue"
|
||||
},
|
||||
"description": "Optional - a map of (condition_name, value). The condition_name of the\nhighest priority (the one listed first in the conditions array) determines\nthe value of this parameter.",
|
||||
"type": "object"
|
||||
},
|
||||
"defaultValue": {
|
||||
"description": "Optional - value to set the parameter to, when none of the named conditions\nevaluate to \u003ccode\u003etrue\u003c/code\u003e.",
|
||||
"$ref": "RemoteConfigParameterValue"
|
||||
}
|
||||
},
|
||||
"id": "RemoteConfigParameter",
|
||||
"description": "While default_value and conditional_values are each optional, at least one of\nthe two is required - otherwise, the parameter is meaningless (and an\nexception will be thrown by the validation logic).",
|
||||
"type": "object"
|
||||
"id": "RemoteConfigParameter"
|
||||
},
|
||||
"RemoteConfigCondition": {
|
||||
"description": "A single RemoteConfig Condition. A list of these (because order matters) are\npart of a single RemoteConfig template.",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"name": {
|
||||
"description": "Required.\nA non empty and unique name of this condition.",
|
||||
"type": "string"
|
||||
},
|
||||
"expression": {
|
||||
"description": "Required.",
|
||||
"type": "string"
|
||||
},
|
||||
"tagColor": {
|
||||
"enumDescriptions": [
|
||||
"",
|
||||
|
@ -89,26 +62,52 @@
|
|||
],
|
||||
"description": "Optional.\nThe display (tag) color of this condition. This serves as part of a tag\n(in the future, we may add tag text as well as tag color, but that is not\nyet implemented in the UI).\nThis value has no affect on the semantics of the delivered config and it\nis ignored by the backend, except for passing it through write/read\nrequests.\nNot having this value or having the \"CONDITION_DISPLAY_COLOR_UNSPECIFIED\"\nvalue (0) have the same meaning: Let the UI choose any valid color when\ndisplaying the condition.",
|
||||
"type": "string"
|
||||
},
|
||||
"name": {
|
||||
"description": "Required.\nA non empty and unique name of this condition.",
|
||||
"type": "string"
|
||||
},
|
||||
"expression": {
|
||||
"description": "Required.",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"id": "RemoteConfigCondition",
|
||||
"description": "A single RemoteConfig Condition. A list of these (because order matters) are\npart of a single RemoteConfig template.",
|
||||
"type": "object"
|
||||
"id": "RemoteConfigCondition"
|
||||
},
|
||||
"RemoteConfigParameterValue": {
|
||||
"description": "A RemoteConfigParameter's \"value\" (either the default value, or the value\nassociated with a condition name) is either a string, or the\n\"use_in_app_default\" indicator (which means to leave out the parameter from\nthe returned \u003ckey, value\u003e map that is the output of the parameter fetch).\nWe represent the \"use_in_app_default\" as a bool, but (when using the boolean\ninstead of the string) it should always be \u003ccode\u003etrue\u003c/code\u003e.",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"useInAppDefault": {
|
||||
"type": "boolean",
|
||||
"description": "if true, omit the parameter from the map of fetched parameter values"
|
||||
},
|
||||
"value": {
|
||||
"type": "string",
|
||||
"description": "the string to set the parameter to"
|
||||
}
|
||||
},
|
||||
"id": "RemoteConfigParameterValue"
|
||||
},
|
||||
"RemoteConfig": {
|
||||
"description": "*\nThe RemoteConfig consists of a list of conditions (which can be\nthought of as named \"if\" statements) and a map of parameters (parameter key\nto a stucture containing an optional default value, as well as a optional\nsubmap of (condition name to value when that condition is true).",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"parameters": {
|
||||
"additionalProperties": {
|
||||
"$ref": "RemoteConfigParameter"
|
||||
},
|
||||
"description": "Map of parameter keys to their optional default values and optional submap\nof (condition name : value). Order doesn't affect semantics, and so is\nsorted by the server. The 'key' values of the params must be unique.",
|
||||
"type": "object"
|
||||
},
|
||||
"conditions": {
|
||||
"items": {
|
||||
"$ref": "RemoteConfigCondition"
|
||||
},
|
||||
"type": "array",
|
||||
"description": "The list of named conditions. The order *does* affect the semantics.\nThe condition_name values of these entries must be unique.\n\nThe resolved value of a config parameter P is determined as follow:\n* Let Y be the set of values from the submap of P that refer to conditions\n that evaluate to \u003ccode\u003etrue\u003c/code\u003e.\n* If Y is non empty, the value is taken from the specific submap in Y whose\n condition_name is the earliest in this condition list.\n* Else, if P has a default value option (condition_name is empty) then\n the value is taken from that option.\n* Else, parameter P has no value and is omitted from the config result.\n\nExample: parameter key \"p1\", default value \"v1\", submap specified as\n{\"c1\": v2, \"c2\": v3} where \"c1\" and \"c2\" are names of conditions in the\ncondition list (where \"c1\" in this example appears before \"c2\"). The\nvalue of p1 would be v2 as long as c1 is true. Otherwise, if c2 is true,\np1 would evaluate to v3, and if c1 and c2 are both false, p1 would evaluate\nto v1. If no default value was specified, and c1 and c2 were both false,\nno value for p1 would be generated."
|
||||
}
|
||||
},
|
||||
"id": "RemoteConfig"
|
||||
}
|
||||
},
|
||||
"protocol": "rest",
|
||||
"icons": {
|
||||
"x16": "http://www.google.com/images/icons/product/search-16.gif",
|
||||
"x32": "http://www.google.com/images/icons/product/search-32.gif"
|
||||
"x32": "http://www.google.com/images/icons/product/search-32.gif",
|
||||
"x16": "http://www.google.com/images/icons/product/search-16.gif"
|
||||
},
|
||||
"protocol": "rest",
|
||||
"canonicalName": "Firebase Remote Config",
|
||||
"rootUrl": "https://firebaseremoteconfig.googleapis.com/",
|
||||
"ownerDomain": "google.com",
|
||||
|
@ -121,6 +120,13 @@
|
|||
"projects": {
|
||||
"methods": {
|
||||
"updateRemoteConfig": {
|
||||
"flatPath": "v1/projects/{projectsId}/remoteConfig",
|
||||
"id": "firebaseremoteconfig.projects.updateRemoteConfig",
|
||||
"path": "v1/{+project}/remoteConfig",
|
||||
"description": "Update a RemoteConfig. We treat this as an always-existing\nresource (when it is not found in our data store, we treat it as version\n0, a template with zero conditions and zero parameters). Hence there are\nno Create or Delete operations. Returns the updated template when\nsuccessful (and the updated eTag as a response header), or an error if\nthings go wrong.\nPossible error messages:\n* VALIDATION_ERROR (HTTP status 400) with additional details if the\ntemplate being passed in can not be validated.\n* AUTHENTICATION_ERROR (HTTP status 401) if the request can not be\nauthenticate (e.g. no access token, or invalid access token).\n* AUTHORIZATION_ERROR (HTTP status 403) if the request can not be\nauthorized (e.g. the user has no access to the specified project id).\n* VERSION_MISMATCH (HTTP status 412) when trying to update when the\nexpected eTag (passed in via the \"If-match\" header) is not specified, or\nis specified but does does not match the current eTag.\n* Internal error (HTTP status 500) for Database problems or other internal\nerrors.",
|
||||
"request": {
|
||||
"$ref": "RemoteConfig"
|
||||
},
|
||||
"response": {
|
||||
"$ref": "RemoteConfig"
|
||||
},
|
||||
|
@ -129,35 +135,28 @@
|
|||
],
|
||||
"httpMethod": "PUT",
|
||||
"parameters": {
|
||||
"validateOnly": {
|
||||
"description": "Optional. Defaults to \u003ccode\u003efalse\u003c/code\u003e (UpdateRemoteConfig call should\nupdate the backend if there are no validation/interal errors). May be set\nto \u003ccode\u003etrue\u003c/code\u003e to indicate that, should no validation errors occur,\nthe call should return a \"200 OK\" instead of performing the update. Note\nthat other error messages (500 Internal Error, 412 Version Mismatch, etc)\nmay still result after flipping to \u003ccode\u003efalse\u003c/code\u003e, even if getting a\n\"200 OK\" when calling with \u003ccode\u003etrue\u003c/code\u003e.",
|
||||
"type": "boolean",
|
||||
"location": "query"
|
||||
},
|
||||
"project": {
|
||||
"description": "The GMP project identifier. Required.\nSee note at the beginning of this file regarding project ids.",
|
||||
"type": "string",
|
||||
"required": true,
|
||||
"pattern": "^projects/[^/]+$",
|
||||
"location": "path"
|
||||
},
|
||||
"validateOnly": {
|
||||
"location": "query",
|
||||
"description": "Optional. Defaults to \u003ccode\u003efalse\u003c/code\u003e (UpdateRemoteConfig call should\nupdate the backend if there are no validation/interal errors). May be set\nto \u003ccode\u003etrue\u003c/code\u003e to indicate that, should no validation errors occur,\nthe call should return a \"200 OK\" instead of performing the update. Note\nthat other error messages (500 Internal Error, 412 Version Mismatch, etc)\nmay still result after flipping to \u003ccode\u003efalse\u003c/code\u003e, even if getting a\n\"200 OK\" when calling with \u003ccode\u003etrue\u003c/code\u003e.",
|
||||
"type": "boolean"
|
||||
}
|
||||
},
|
||||
"flatPath": "v1/projects/{projectsId}/remoteConfig",
|
||||
"id": "firebaseremoteconfig.projects.updateRemoteConfig",
|
||||
"path": "v1/{+project}/remoteConfig",
|
||||
"description": "Update a RemoteConfig. We treat this as an always-existing\nresource (when it is not found in our data store, we treat it as version\n0, a template with zero conditions and zero parameters). Hence there are\nno Create or Delete operations. Returns the updated template when\nsuccessful (and the updated eTag as a response header), or an error if\nthings go wrong.\nPossible error messages:\n* VALIDATION_ERROR (HTTP status 400) with additional details if the\ntemplate being passed in can not be validated.\n* AUTHENTICATION_ERROR (HTTP status 401) if the request can not be\nauthenticate (e.g. no access token, or invalid access token).\n* AUTHORIZATION_ERROR (HTTP status 403) if the request can not be\nauthorized (e.g. the user has no access to the specified project id).\n* VERSION_MISMATCH (HTTP status 412) when trying to update when the\nexpected eTag (passed in via the \"If-match\" header) is not specified, or\nis specified but does does not match the current eTag.\n* Internal error (HTTP status 500) for Database problems or other internal\nerrors.",
|
||||
"request": {
|
||||
"$ref": "RemoteConfig"
|
||||
}
|
||||
},
|
||||
"getRemoteConfig": {
|
||||
"response": {
|
||||
"$ref": "RemoteConfig"
|
||||
},
|
||||
"parameterOrder": [
|
||||
"project"
|
||||
],
|
||||
"httpMethod": "GET",
|
||||
"response": {
|
||||
"$ref": "RemoteConfig"
|
||||
},
|
||||
"parameters": {
|
||||
"project": {
|
||||
"description": "The GMP project identifier. Required.\nSee note at the beginning of this file regarding project ids.",
|
||||
|
@ -176,21 +175,10 @@
|
|||
}
|
||||
},
|
||||
"parameters": {
|
||||
"upload_protocol": {
|
||||
"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").",
|
||||
"type": "string",
|
||||
"location": "query"
|
||||
},
|
||||
"prettyPrint": {
|
||||
"description": "Returns response with indentations and line breaks.",
|
||||
"default": "true",
|
||||
"type": "boolean",
|
||||
"location": "query"
|
||||
},
|
||||
"uploadType": {
|
||||
"type": "string",
|
||||
"location": "query",
|
||||
"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").",
|
||||
"type": "string"
|
||||
"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\")."
|
||||
},
|
||||
"fields": {
|
||||
"location": "query",
|
||||
|
@ -203,24 +191,19 @@
|
|||
"type": "string"
|
||||
},
|
||||
"$.xgafv": {
|
||||
"enum": [
|
||||
"1",
|
||||
"2"
|
||||
],
|
||||
"description": "V1 error format.",
|
||||
"type": "string",
|
||||
"enumDescriptions": [
|
||||
"v1 error format",
|
||||
"v2 error format"
|
||||
],
|
||||
"location": "query"
|
||||
"location": "query",
|
||||
"enum": [
|
||||
"1",
|
||||
"2"
|
||||
]
|
||||
},
|
||||
"alt": {
|
||||
"enum": [
|
||||
"json",
|
||||
"media",
|
||||
"proto"
|
||||
],
|
||||
"type": "string",
|
||||
"enumDescriptions": [
|
||||
"Responses with Content-Type of application/json",
|
||||
|
@ -229,7 +212,12 @@
|
|||
],
|
||||
"location": "query",
|
||||
"description": "Data format for response.",
|
||||
"default": "json"
|
||||
"default": "json",
|
||||
"enum": [
|
||||
"json",
|
||||
"media",
|
||||
"proto"
|
||||
]
|
||||
},
|
||||
"access_token": {
|
||||
"description": "OAuth access token.",
|
||||
|
@ -258,18 +246,30 @@
|
|||
"location": "query"
|
||||
},
|
||||
"bearer_token": {
|
||||
"location": "query",
|
||||
"description": "OAuth bearer token.",
|
||||
"type": "string",
|
||||
"location": "query"
|
||||
},
|
||||
"upload_protocol": {
|
||||
"location": "query",
|
||||
"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").",
|
||||
"type": "string"
|
||||
},
|
||||
"prettyPrint": {
|
||||
"description": "Returns response with indentations and line breaks.",
|
||||
"default": "true",
|
||||
"type": "boolean",
|
||||
"location": "query"
|
||||
}
|
||||
},
|
||||
"version": "v1",
|
||||
"baseUrl": "https://firebaseremoteconfig.googleapis.com/",
|
||||
"servicePath": "",
|
||||
"kind": "discovery#restDescription",
|
||||
"description": "Firebase Remote Config API allows the 3P clients to manage Remote Config conditions and parameters for Firebase applications.",
|
||||
"servicePath": "",
|
||||
"basePath": "",
|
||||
"id": "firebaseremoteconfig:v1",
|
||||
"revision": "20170912",
|
||||
"documentationLink": "https://firebase.google.com/docs/remote-config/"
|
||||
"documentationLink": "https://firebase.google.com/docs/remote-config/",
|
||||
"id": "firebaseremoteconfig:v1",
|
||||
"discoveryVersion": "v1"
|
||||
}
|
||||
|
|
934
vendor/google.golang.org/api/firebaserules/v1/firebaserules-api.json
generated
vendored
934
vendor/google.golang.org/api/firebaserules/v1/firebaserules-api.json
generated
vendored
File diff suppressed because it is too large
Load diff
227
vendor/google.golang.org/api/firebaserules/v1/firebaserules-gen.go
generated
vendored
227
vendor/google.golang.org/api/firebaserules/v1/firebaserules-gen.go
generated
vendored
|
@ -285,6 +285,68 @@ func (s *FunctionMock) MarshalJSON() ([]byte, error) {
|
|||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
// GetReleaseExecutableResponse: The response for
|
||||
// FirebaseRulesService.GetReleaseExecutable
|
||||
type GetReleaseExecutableResponse struct {
|
||||
// Executable: Executable view of the `Ruleset` referenced by the
|
||||
// `Release`.
|
||||
Executable string `json:"executable,omitempty"`
|
||||
|
||||
// ExecutableVersion: The Rules runtime version of the executable.
|
||||
//
|
||||
// Possible values:
|
||||
// "RELEASE_EXECUTABLE_VERSION_UNSPECIFIED" - Executable format
|
||||
// unspecified.
|
||||
// Defaults to FIREBASE_RULES_EXECUTABLE_V1
|
||||
// "FIREBASE_RULES_EXECUTABLE_V1" - Firebase Rules syntax 'rules2'
|
||||
// executable versions:
|
||||
// Custom AST for use with Java clients.
|
||||
// "FIREBASE_RULES_EXECUTABLE_V2" - CEL-based executable for use with
|
||||
// C++ clients.
|
||||
ExecutableVersion string `json:"executableVersion,omitempty"`
|
||||
|
||||
// Language: `Language` used to generate the executable bytes.
|
||||
//
|
||||
// Possible values:
|
||||
// "LANGUAGE_UNSPECIFIED" - Language unspecified. Defaults to
|
||||
// FIREBASE_RULES.
|
||||
// "FIREBASE_RULES" - Firebase Rules language.
|
||||
// "EVENT_FLOW_TRIGGERS" - Event Flow triggers.
|
||||
Language string `json:"language,omitempty"`
|
||||
|
||||
// RulesetName: `Ruleset` name associated with the `Release` executable.
|
||||
RulesetName string `json:"rulesetName,omitempty"`
|
||||
|
||||
// UpdateTime: Timestamp for the most recent `Release.update_time`.
|
||||
UpdateTime string `json:"updateTime,omitempty"`
|
||||
|
||||
// ServerResponse contains the HTTP response code and headers from the
|
||||
// server.
|
||||
googleapi.ServerResponse `json:"-"`
|
||||
|
||||
// ForceSendFields is a list of field names (e.g. "Executable") to
|
||||
// unconditionally include in API requests. By default, fields with
|
||||
// empty values are omitted from API requests. However, any non-pointer,
|
||||
// non-interface field appearing in ForceSendFields will be sent to the
|
||||
// server regardless of whether the field is empty or not. This may be
|
||||
// used to include empty fields in Patch requests.
|
||||
ForceSendFields []string `json:"-"`
|
||||
|
||||
// NullFields is a list of field names (e.g. "Executable") to include in
|
||||
// API requests with the JSON null value. By default, fields with empty
|
||||
// values are omitted from API requests. However, any field with an
|
||||
// empty value appearing in NullFields will be sent to the server as
|
||||
// null. It is an error if a field in this list has a non-empty value.
|
||||
// This may be used to include null fields in Patch requests.
|
||||
NullFields []string `json:"-"`
|
||||
}
|
||||
|
||||
func (s *GetReleaseExecutableResponse) MarshalJSON() ([]byte, error) {
|
||||
type noMethod GetReleaseExecutableResponse
|
||||
raw := noMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
// Issue: Issues include warnings, errors, and deprecation notices.
|
||||
type Issue struct {
|
||||
// Description: Short error description.
|
||||
|
@ -1496,6 +1558,171 @@ func (c *ProjectsReleasesGetCall) Do(opts ...googleapi.CallOption) (*Release, er
|
|||
|
||||
}
|
||||
|
||||
// method id "firebaserules.projects.releases.getExecutable":
|
||||
|
||||
type ProjectsReleasesGetExecutableCall struct {
|
||||
s *Service
|
||||
name string
|
||||
urlParams_ gensupport.URLParams
|
||||
ifNoneMatch_ string
|
||||
ctx_ context.Context
|
||||
header_ http.Header
|
||||
}
|
||||
|
||||
// GetExecutable: Get the `Release` executable to use when enforcing
|
||||
// rules.
|
||||
func (r *ProjectsReleasesService) GetExecutable(name string) *ProjectsReleasesGetExecutableCall {
|
||||
c := &ProjectsReleasesGetExecutableCall{s: r.s, urlParams_: make(gensupport.URLParams)}
|
||||
c.name = name
|
||||
return c
|
||||
}
|
||||
|
||||
// ExecutableVersion sets the optional parameter "executableVersion":
|
||||
// The requested runtime executable version.
|
||||
// Defaults to FIREBASE_RULES_EXECUTABLE_V1
|
||||
//
|
||||
// Possible values:
|
||||
// "RELEASE_EXECUTABLE_VERSION_UNSPECIFIED"
|
||||
// "FIREBASE_RULES_EXECUTABLE_V1"
|
||||
// "FIREBASE_RULES_EXECUTABLE_V2"
|
||||
func (c *ProjectsReleasesGetExecutableCall) ExecutableVersion(executableVersion string) *ProjectsReleasesGetExecutableCall {
|
||||
c.urlParams_.Set("executableVersion", executableVersion)
|
||||
return c
|
||||
}
|
||||
|
||||
// Fields allows partial responses to be retrieved. See
|
||||
// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse
|
||||
// for more information.
|
||||
func (c *ProjectsReleasesGetExecutableCall) Fields(s ...googleapi.Field) *ProjectsReleasesGetExecutableCall {
|
||||
c.urlParams_.Set("fields", googleapi.CombineFields(s))
|
||||
return c
|
||||
}
|
||||
|
||||
// IfNoneMatch sets the optional parameter which makes the operation
|
||||
// fail if the object's ETag matches the given value. This is useful for
|
||||
// getting updates only after the object has changed since the last
|
||||
// request. Use googleapi.IsNotModified to check whether the response
|
||||
// error from Do is the result of In-None-Match.
|
||||
func (c *ProjectsReleasesGetExecutableCall) IfNoneMatch(entityTag string) *ProjectsReleasesGetExecutableCall {
|
||||
c.ifNoneMatch_ = entityTag
|
||||
return c
|
||||
}
|
||||
|
||||
// Context sets the context to be used in this call's Do method. Any
|
||||
// pending HTTP request will be aborted if the provided context is
|
||||
// canceled.
|
||||
func (c *ProjectsReleasesGetExecutableCall) Context(ctx context.Context) *ProjectsReleasesGetExecutableCall {
|
||||
c.ctx_ = ctx
|
||||
return c
|
||||
}
|
||||
|
||||
// Header returns an http.Header that can be modified by the caller to
|
||||
// add HTTP headers to the request.
|
||||
func (c *ProjectsReleasesGetExecutableCall) Header() http.Header {
|
||||
if c.header_ == nil {
|
||||
c.header_ = make(http.Header)
|
||||
}
|
||||
return c.header_
|
||||
}
|
||||
|
||||
func (c *ProjectsReleasesGetExecutableCall) doRequest(alt string) (*http.Response, error) {
|
||||
reqHeaders := make(http.Header)
|
||||
for k, v := range c.header_ {
|
||||
reqHeaders[k] = v
|
||||
}
|
||||
reqHeaders.Set("User-Agent", c.s.userAgent())
|
||||
if c.ifNoneMatch_ != "" {
|
||||
reqHeaders.Set("If-None-Match", c.ifNoneMatch_)
|
||||
}
|
||||
var body io.Reader = nil
|
||||
c.urlParams_.Set("alt", alt)
|
||||
urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+name}:getExecutable")
|
||||
urls += "?" + c.urlParams_.Encode()
|
||||
req, _ := http.NewRequest("GET", urls, body)
|
||||
req.Header = reqHeaders
|
||||
googleapi.Expand(req.URL, map[string]string{
|
||||
"name": c.name,
|
||||
})
|
||||
return gensupport.SendRequest(c.ctx_, c.s.client, req)
|
||||
}
|
||||
|
||||
// Do executes the "firebaserules.projects.releases.getExecutable" call.
|
||||
// Exactly one of *GetReleaseExecutableResponse or error will be
|
||||
// non-nil. Any non-2xx status code is an error. Response headers are in
|
||||
// either *GetReleaseExecutableResponse.ServerResponse.Header or (if a
|
||||
// response was returned at all) in error.(*googleapi.Error).Header. Use
|
||||
// googleapi.IsNotModified to check whether the returned error was
|
||||
// because http.StatusNotModified was returned.
|
||||
func (c *ProjectsReleasesGetExecutableCall) Do(opts ...googleapi.CallOption) (*GetReleaseExecutableResponse, error) {
|
||||
gensupport.SetOptions(c.urlParams_, opts...)
|
||||
res, err := c.doRequest("json")
|
||||
if res != nil && res.StatusCode == http.StatusNotModified {
|
||||
if res.Body != nil {
|
||||
res.Body.Close()
|
||||
}
|
||||
return nil, &googleapi.Error{
|
||||
Code: res.StatusCode,
|
||||
Header: res.Header,
|
||||
}
|
||||
}
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
defer googleapi.CloseBody(res)
|
||||
if err := googleapi.CheckResponse(res); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
ret := &GetReleaseExecutableResponse{
|
||||
ServerResponse: googleapi.ServerResponse{
|
||||
Header: res.Header,
|
||||
HTTPStatusCode: res.StatusCode,
|
||||
},
|
||||
}
|
||||
target := &ret
|
||||
if err := json.NewDecoder(res.Body).Decode(target); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return ret, nil
|
||||
// {
|
||||
// "description": "Get the `Release` executable to use when enforcing rules.",
|
||||
// "flatPath": "v1/projects/{projectsId}/releases/{releasesId}:getExecutable",
|
||||
// "httpMethod": "GET",
|
||||
// "id": "firebaserules.projects.releases.getExecutable",
|
||||
// "parameterOrder": [
|
||||
// "name"
|
||||
// ],
|
||||
// "parameters": {
|
||||
// "executableVersion": {
|
||||
// "description": "The requested runtime executable version.\nDefaults to FIREBASE_RULES_EXECUTABLE_V1",
|
||||
// "enum": [
|
||||
// "RELEASE_EXECUTABLE_VERSION_UNSPECIFIED",
|
||||
// "FIREBASE_RULES_EXECUTABLE_V1",
|
||||
// "FIREBASE_RULES_EXECUTABLE_V2"
|
||||
// ],
|
||||
// "location": "query",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "name": {
|
||||
// "description": "Resource name of the `Release`.\n\nFormat: `projects/{project_id}/releases/{release_id}`",
|
||||
// "location": "path",
|
||||
// "pattern": "^projects/[^/]+/releases/.+$",
|
||||
// "required": true,
|
||||
// "type": "string"
|
||||
// }
|
||||
// },
|
||||
// "path": "v1/{+name}:getExecutable",
|
||||
// "response": {
|
||||
// "$ref": "GetReleaseExecutableResponse"
|
||||
// },
|
||||
// "scopes": [
|
||||
// "https://www.googleapis.com/auth/cloud-platform",
|
||||
// "https://www.googleapis.com/auth/firebase",
|
||||
// "https://www.googleapis.com/auth/firebase.readonly"
|
||||
// ]
|
||||
// }
|
||||
|
||||
}
|
||||
|
||||
// method id "firebaserules.projects.releases.list":
|
||||
|
||||
type ProjectsReleasesListCall struct {
|
||||
|
|
14
vendor/google.golang.org/api/fitness/v1/fitness-api.json
generated
vendored
14
vendor/google.golang.org/api/fitness/v1/fitness-api.json
generated
vendored
|
@ -1,11 +1,11 @@
|
|||
{
|
||||
"kind": "discovery#restDescription",
|
||||
"etag": "\"YWOzh2SDasdU84ArJnpYek-OMdg/Iezg2N-GRRgP6nxERqABDosZ2Tk\"",
|
||||
"etag": "\"YWOzh2SDasdU84ArJnpYek-OMdg/K1BxZmhfi_H1WlvW1SDsecgXAnE\"",
|
||||
"discoveryVersion": "v1",
|
||||
"id": "fitness:v1",
|
||||
"name": "fitness",
|
||||
"version": "v1",
|
||||
"revision": "20170830",
|
||||
"revision": "20170922",
|
||||
"title": "Fitness",
|
||||
"description": "Stores and accesses user data in the fitness store from apps on any platform.",
|
||||
"ownerDomain": "google.com",
|
||||
|
@ -773,14 +773,14 @@
|
|||
},
|
||||
"deletedDataPoint": {
|
||||
"type": "array",
|
||||
"description": "Data points that have been removed and will not be included in any other request for dataset contents.",
|
||||
"description": "Deleted data points for the user. Note, for modifications this should be parsed before handling insertions.",
|
||||
"items": {
|
||||
"$ref": "DataPoint"
|
||||
}
|
||||
},
|
||||
"insertedDataPoint": {
|
||||
"type": "array",
|
||||
"description": "Data points listed.",
|
||||
"description": "Inserted data points for the user.",
|
||||
"items": {
|
||||
"$ref": "DataPoint"
|
||||
}
|
||||
|
@ -1223,7 +1223,7 @@
|
|||
"id": "fitness.users.dataSources.dataPointChanges.list",
|
||||
"path": "{userId}/dataSources/{dataSourceId}/dataPointChanges",
|
||||
"httpMethod": "GET",
|
||||
"description": "results ordered by descending end_time",
|
||||
"description": "Queries for user's data point changes for a particular data source.",
|
||||
"parameters": {
|
||||
"dataSourceId": {
|
||||
"type": "string",
|
||||
|
@ -1233,7 +1233,7 @@
|
|||
},
|
||||
"limit": {
|
||||
"type": "integer",
|
||||
"description": "If specified, no more than this many data point changes will be included in the response. The default is 500 data point changes.",
|
||||
"description": "If specified, no more than this many data point changes will be included in the response.",
|
||||
"format": "int32",
|
||||
"location": "query"
|
||||
},
|
||||
|
@ -1244,7 +1244,7 @@
|
|||
},
|
||||
"userId": {
|
||||
"type": "string",
|
||||
"description": "List data points for the person identified. Use \"me\" to indicate the authenticated user. Only \"me\" is supported at this time.",
|
||||
"description": "List data points for the person identified. Use me to indicate the authenticated user. Only me is supported at this time.",
|
||||
"required": true,
|
||||
"location": "path"
|
||||
}
|
||||
|
|
18
vendor/google.golang.org/api/fitness/v1/fitness-gen.go
generated
vendored
18
vendor/google.golang.org/api/fitness/v1/fitness-gen.go
generated
vendored
|
@ -998,11 +998,11 @@ type ListDataPointChangesResponse struct {
|
|||
// changes.
|
||||
DataSourceId string `json:"dataSourceId,omitempty"`
|
||||
|
||||
// DeletedDataPoint: Data points that have been removed and will not be
|
||||
// included in any other request for dataset contents.
|
||||
// DeletedDataPoint: Deleted data points for the user. Note, for
|
||||
// modifications this should be parsed before handling insertions.
|
||||
DeletedDataPoint []*DataPoint `json:"deletedDataPoint,omitempty"`
|
||||
|
||||
// InsertedDataPoint: Data points listed.
|
||||
// InsertedDataPoint: Inserted data points for the user.
|
||||
InsertedDataPoint []*DataPoint `json:"insertedDataPoint,omitempty"`
|
||||
|
||||
// NextPageToken: The continuation token, which is used to page through
|
||||
|
@ -2265,7 +2265,8 @@ type UsersDataSourcesDataPointChangesListCall struct {
|
|||
header_ http.Header
|
||||
}
|
||||
|
||||
// List: results ordered by descending end_time
|
||||
// List: Queries for user's data point changes for a particular data
|
||||
// source.
|
||||
func (r *UsersDataSourcesDataPointChangesService) List(userId string, dataSourceId string) *UsersDataSourcesDataPointChangesListCall {
|
||||
c := &UsersDataSourcesDataPointChangesListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
|
||||
c.userId = userId
|
||||
|
@ -2274,8 +2275,7 @@ func (r *UsersDataSourcesDataPointChangesService) List(userId string, dataSource
|
|||
}
|
||||
|
||||
// Limit sets the optional parameter "limit": If specified, no more than
|
||||
// this many data point changes will be included in the response. The
|
||||
// default is 500 data point changes.
|
||||
// this many data point changes will be included in the response.
|
||||
func (c *UsersDataSourcesDataPointChangesListCall) Limit(limit int64) *UsersDataSourcesDataPointChangesListCall {
|
||||
c.urlParams_.Set("limit", fmt.Sprint(limit))
|
||||
return c
|
||||
|
@ -2385,7 +2385,7 @@ func (c *UsersDataSourcesDataPointChangesListCall) Do(opts ...googleapi.CallOpti
|
|||
}
|
||||
return ret, nil
|
||||
// {
|
||||
// "description": "results ordered by descending end_time",
|
||||
// "description": "Queries for user's data point changes for a particular data source.",
|
||||
// "httpMethod": "GET",
|
||||
// "id": "fitness.users.dataSources.dataPointChanges.list",
|
||||
// "parameterOrder": [
|
||||
|
@ -2400,7 +2400,7 @@ func (c *UsersDataSourcesDataPointChangesListCall) Do(opts ...googleapi.CallOpti
|
|||
// "type": "string"
|
||||
// },
|
||||
// "limit": {
|
||||
// "description": "If specified, no more than this many data point changes will be included in the response. The default is 500 data point changes.",
|
||||
// "description": "If specified, no more than this many data point changes will be included in the response.",
|
||||
// "format": "int32",
|
||||
// "location": "query",
|
||||
// "type": "integer"
|
||||
|
@ -2411,7 +2411,7 @@ func (c *UsersDataSourcesDataPointChangesListCall) Do(opts ...googleapi.CallOpti
|
|||
// "type": "string"
|
||||
// },
|
||||
// "userId": {
|
||||
// "description": "List data points for the person identified. Use \"me\" to indicate the authenticated user. Only \"me\" is supported at this time.",
|
||||
// "description": "List data points for the person identified. Use me to indicate the authenticated user. Only me is supported at this time.",
|
||||
// "location": "path",
|
||||
// "required": true,
|
||||
// "type": "string"
|
||||
|
|
3936
vendor/google.golang.org/api/genomics/v1/genomics-api.json
generated
vendored
3936
vendor/google.golang.org/api/genomics/v1/genomics-api.json
generated
vendored
File diff suppressed because it is too large
Load diff
1360
vendor/google.golang.org/api/genomics/v1alpha2/genomics-api.json
generated
vendored
1360
vendor/google.golang.org/api/genomics/v1alpha2/genomics-api.json
generated
vendored
File diff suppressed because it is too large
Load diff
4
vendor/google.golang.org/api/gmail/v1/gmail-api.json
generated
vendored
4
vendor/google.golang.org/api/gmail/v1/gmail-api.json
generated
vendored
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"kind": "discovery#restDescription",
|
||||
"etag": "\"YWOzh2SDasdU84ArJnpYek-OMdg/la0JMEgDGXDvEQo21njsRq7Rg-c\"",
|
||||
"etag": "\"YWOzh2SDasdU84ArJnpYek-OMdg/yLmXjwrCZrd7tYs9N17TGZKIRRE\"",
|
||||
"discoveryVersion": "v1",
|
||||
"id": "gmail:v1",
|
||||
"name": "gmail",
|
||||
|
@ -88,7 +88,7 @@
|
|||
"description": "View and modify but not delete your email"
|
||||
},
|
||||
"https://www.googleapis.com/auth/gmail.readonly": {
|
||||
"description": "View your emails messages and settings"
|
||||
"description": "View your email messages and settings"
|
||||
},
|
||||
"https://www.googleapis.com/auth/gmail.send": {
|
||||
"description": "Send email on your behalf"
|
||||
|
|
2
vendor/google.golang.org/api/gmail/v1/gmail-gen.go
generated
vendored
2
vendor/google.golang.org/api/gmail/v1/gmail-gen.go
generated
vendored
|
@ -66,7 +66,7 @@ const (
|
|||
// View and modify but not delete your email
|
||||
GmailModifyScope = "https://www.googleapis.com/auth/gmail.modify"
|
||||
|
||||
// View your emails messages and settings
|
||||
// View your email messages and settings
|
||||
GmailReadonlyScope = "https://www.googleapis.com/auth/gmail.readonly"
|
||||
|
||||
// Send email on your behalf
|
||||
|
|
1780
vendor/google.golang.org/api/iam/v1/iam-api.json
generated
vendored
1780
vendor/google.golang.org/api/iam/v1/iam-api.json
generated
vendored
File diff suppressed because it is too large
Load diff
47
vendor/google.golang.org/api/iam/v1/iam-gen.go
generated
vendored
47
vendor/google.golang.org/api/iam/v1/iam-gen.go
generated
vendored
|
@ -1064,17 +1064,15 @@ func (s *Role) MarshalJSON() ([]byte, error) {
|
|||
// returned
|
||||
// in util::Status's ResourceInfo.resource_name in the format
|
||||
// of
|
||||
// projects/{PROJECT_ID}/serviceAccounts/{SERVICE_ACCOUNT_EMAIL}. The
|
||||
// caller can
|
||||
// projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}. 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_ID}/serviceAccounts/{SERVICE_ACCOUNT_EMAIL}`
|
||||
// .
|
||||
// Using `-` as a wildcard for the project will infer the project
|
||||
// `projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}`.
|
||||
// Using `-` as a wildcard for the `PROJECT_ID` will infer the project
|
||||
// from
|
||||
// the account. The `account` value can be the `email` address or
|
||||
// the account. The `ACCOUNT` value can be the `email` address or
|
||||
// the
|
||||
// `unique_id` of the service account.
|
||||
type ServiceAccount struct {
|
||||
|
@ -1091,19 +1089,17 @@ type ServiceAccount struct {
|
|||
|
||||
// Name: The resource name of the service account in the following
|
||||
// format:
|
||||
// `projects/{PROJECT_ID}/serviceAccounts/{SERVICE_ACCOUNT_EMAIL}
|
||||
// `.
|
||||
// `projects/{PROJECT_ID}/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.
|
||||
// Requests using `-` as a wildcard for the `PROJECT_ID` 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_ID}/serviceAccounts/{SERVICE_ACCOUNT_EMAIL}`
|
||||
// .
|
||||
// `projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}`.
|
||||
Name string `json:"name,omitempty"`
|
||||
|
||||
// Oauth2ClientId: @OutputOnly. The OAuth2 client id for the service
|
||||
|
@ -1183,8 +1179,7 @@ type ServiceAccountKey struct {
|
|||
|
||||
// Name: The resource name of the service account key in the following
|
||||
// format
|
||||
// `projects/{PROJECT_ID}/serviceAccounts/{SERVICE_ACCOUNT_EMAIL}/
|
||||
// keys/{key}`.
|
||||
// `projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}/keys/{key}`.
|
||||
Name string `json:"name,omitempty"`
|
||||
|
||||
// PrivateKeyData: The private key data. Only provided in
|
||||
|
@ -3746,7 +3741,7 @@ func (c *ProjectsServiceAccountsDeleteCall) Do(opts ...googleapi.CallOption) (*E
|
|||
// ],
|
||||
// "parameters": {
|
||||
// "name": {
|
||||
// "description": "The resource name of the service account in the following format:\n`projects/{PROJECT_ID}/serviceAccounts/{SERVICE_ACCOUNT_EMAIL}`.\nUsing `-` as a wildcard for the project will infer the project from\nthe account. The `account` value can be the `email` address or the\n`unique_id` of the service account.",
|
||||
// "description": "The resource name of the service account in the following format:\n`projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}`.\nUsing `-` as a wildcard for the `PROJECT_ID` will infer the project from\nthe account. The `ACCOUNT` value can be the `email` address or the\n`unique_id` of the service account.",
|
||||
// "location": "path",
|
||||
// "pattern": "^projects/[^/]+/serviceAccounts/[^/]+$",
|
||||
// "required": true,
|
||||
|
@ -3885,7 +3880,7 @@ func (c *ProjectsServiceAccountsGetCall) Do(opts ...googleapi.CallOption) (*Serv
|
|||
// ],
|
||||
// "parameters": {
|
||||
// "name": {
|
||||
// "description": "The resource name of the service account in the following format:\n`projects/{PROJECT_ID}/serviceAccounts/{SERVICE_ACCOUNT_EMAIL}`.\nUsing `-` as a wildcard for the project will infer the project from\nthe account. The `account` value can be the `email` address or the\n`unique_id` of the service account.",
|
||||
// "description": "The resource name of the service account in the following format:\n`projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}`.\nUsing `-` as a wildcard for the `PROJECT_ID` will infer the project from\nthe account. The `ACCOUNT` value can be the `email` address or the\n`unique_id` of the service account.",
|
||||
// "location": "path",
|
||||
// "pattern": "^projects/[^/]+/serviceAccounts/[^/]+$",
|
||||
// "required": true,
|
||||
|
@ -4473,7 +4468,7 @@ func (c *ProjectsServiceAccountsSignBlobCall) Do(opts ...googleapi.CallOption) (
|
|||
// ],
|
||||
// "parameters": {
|
||||
// "name": {
|
||||
// "description": "The resource name of the service account in the following format:\n`projects/{PROJECT_ID}/serviceAccounts/{SERVICE_ACCOUNT_EMAIL}`.\nUsing `-` as a wildcard for the project will infer the project from\nthe account. The `account` value can be the `email` address or the\n`unique_id` of the service account.",
|
||||
// "description": "The resource name of the service account in the following format:\n`projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}`.\nUsing `-` as a wildcard for the `PROJECT_ID` will infer the project from\nthe account. The `ACCOUNT` value can be the `email` address or the\n`unique_id` of the service account.",
|
||||
// "location": "path",
|
||||
// "pattern": "^projects/[^/]+/serviceAccounts/[^/]+$",
|
||||
// "required": true,
|
||||
|
@ -4615,7 +4610,7 @@ func (c *ProjectsServiceAccountsSignJwtCall) Do(opts ...googleapi.CallOption) (*
|
|||
// ],
|
||||
// "parameters": {
|
||||
// "name": {
|
||||
// "description": "The resource name of the service account in the following format:\n`projects/{PROJECT_ID}/serviceAccounts/{SERVICE_ACCOUNT_EMAIL}`.\nUsing `-` as a wildcard for the project will infer the project from\nthe account. The `account` value can be the `email` address or the\n`unique_id` of the service account.",
|
||||
// "description": "The resource name of the service account in the following format:\n`projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}`.\nUsing `-` as a wildcard for the `PROJECT_ID` will infer the project from\nthe account. The `ACCOUNT` value can be the `email` address or the\n`unique_id` of the service account.",
|
||||
// "location": "path",
|
||||
// "pattern": "^projects/[^/]+/serviceAccounts/[^/]+$",
|
||||
// "required": true,
|
||||
|
@ -4891,7 +4886,7 @@ func (c *ProjectsServiceAccountsUpdateCall) Do(opts ...googleapi.CallOption) (*S
|
|||
// ],
|
||||
// "parameters": {
|
||||
// "name": {
|
||||
// "description": "The resource name of the service account in the following format:\n`projects/{PROJECT_ID}/serviceAccounts/{SERVICE_ACCOUNT_EMAIL}`.\n\nRequests using `-` as a wildcard for the project will infer the project\nfrom the `account` and the `account` value can be the `email` address or\nthe `unique_id` of the service account.\n\nIn responses the resource name will always be in the format\n`projects/{PROJECT_ID}/serviceAccounts/{SERVICE_ACCOUNT_EMAIL}`.",
|
||||
// "description": "The resource name of the service account in the following format:\n`projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}`.\n\nRequests using `-` as a wildcard for the `PROJECT_ID` will infer the\nproject from the `account` and the `ACCOUNT` value can be the `email`\naddress or the `unique_id` of the service account.\n\nIn responses the resource name will always be in the format\n`projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}`.",
|
||||
// "location": "path",
|
||||
// "pattern": "^projects/[^/]+/serviceAccounts/[^/]+$",
|
||||
// "required": true,
|
||||
|
@ -5027,7 +5022,7 @@ func (c *ProjectsServiceAccountsKeysCreateCall) Do(opts ...googleapi.CallOption)
|
|||
// ],
|
||||
// "parameters": {
|
||||
// "name": {
|
||||
// "description": "The resource name of the service account in the following format:\n`projects/{PROJECT_ID}/serviceAccounts/{SERVICE_ACCOUNT_EMAIL}`.\nUsing `-` as a wildcard for the project will infer the project from\nthe account. The `account` value can be the `email` address or the\n`unique_id` of the service account.",
|
||||
// "description": "The resource name of the service account in the following format:\n`projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}`.\nUsing `-` as a wildcard for the `PROJECT_ID` will infer the project from\nthe account. The `ACCOUNT` value can be the `email` address or the\n`unique_id` of the service account.",
|
||||
// "location": "path",
|
||||
// "pattern": "^projects/[^/]+/serviceAccounts/[^/]+$",
|
||||
// "required": true,
|
||||
|
@ -5155,7 +5150,7 @@ func (c *ProjectsServiceAccountsKeysDeleteCall) Do(opts ...googleapi.CallOption)
|
|||
// ],
|
||||
// "parameters": {
|
||||
// "name": {
|
||||
// "description": "The resource name of the service account key in the following format:\n`projects/{PROJECT_ID}/serviceAccounts/{SERVICE_ACCOUNT_EMAIL}/keys/{key}`.\nUsing `-` as a wildcard for the project will infer the project from\nthe account. The `account` value can be the `email` address or the\n`unique_id` of the service account.",
|
||||
// "description": "The resource name of the service account key in the following format:\n`projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}/keys/{key}`.\nUsing `-` as a wildcard for the `PROJECT_ID` will infer the project from\nthe account. The `ACCOUNT` value can be the `email` address or the\n`unique_id` of the service account.",
|
||||
// "location": "path",
|
||||
// "pattern": "^projects/[^/]+/serviceAccounts/[^/]+/keys/[^/]+$",
|
||||
// "required": true,
|
||||
|
@ -5308,7 +5303,7 @@ func (c *ProjectsServiceAccountsKeysGetCall) Do(opts ...googleapi.CallOption) (*
|
|||
// ],
|
||||
// "parameters": {
|
||||
// "name": {
|
||||
// "description": "The resource name of the service account key in the following format:\n`projects/{PROJECT_ID}/serviceAccounts/{SERVICE_ACCOUNT_EMAIL}/keys/{key}`.\n\nUsing `-` as a wildcard for the project will infer the project from\nthe account. The `account` value can be the `email` address or the\n`unique_id` of the service account.",
|
||||
// "description": "The resource name of the service account key in the following format:\n`projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}/keys/{key}`.\n\nUsing `-` as a wildcard for the `PROJECT_ID` will infer the project from\nthe account. The `ACCOUNT` value can be the `email` address or the\n`unique_id` of the service account.",
|
||||
// "location": "path",
|
||||
// "pattern": "^projects/[^/]+/serviceAccounts/[^/]+/keys/[^/]+$",
|
||||
// "required": true,
|
||||
|
@ -5482,7 +5477,7 @@ func (c *ProjectsServiceAccountsKeysListCall) Do(opts ...googleapi.CallOption) (
|
|||
// "type": "string"
|
||||
// },
|
||||
// "name": {
|
||||
// "description": "The resource name of the service account in the following format:\n`projects/{PROJECT_ID}/serviceAccounts/{SERVICE_ACCOUNT_EMAIL}`.\n\nUsing `-` as a wildcard for the project, will infer the project from\nthe account. The `account` value can be the `email` address or the\n`unique_id` of the service account.",
|
||||
// "description": "The resource name of the service account in the following format:\n`projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}`.\n\nUsing `-` as a wildcard for the `PROJECT_ID`, will infer the project from\nthe account. The `ACCOUNT` value can be the `email` address or the\n`unique_id` of the service account.",
|
||||
// "location": "path",
|
||||
// "pattern": "^projects/[^/]+/serviceAccounts/[^/]+$",
|
||||
// "required": true,
|
||||
|
|
208
vendor/google.golang.org/api/kgsearch/v1/kgsearch-api.json
generated
vendored
208
vendor/google.golang.org/api/kgsearch/v1/kgsearch-api.json
generated
vendored
|
@ -1,64 +1,23 @@
|
|||
{
|
||||
"protocol": "rest",
|
||||
"icons": {
|
||||
"x16": "http://www.google.com/images/icons/product/search-16.gif",
|
||||
"x32": "http://www.google.com/images/icons/product/search-32.gif"
|
||||
},
|
||||
"version": "v1",
|
||||
"baseUrl": "https://kgsearch.googleapis.com/",
|
||||
"servicePath": "",
|
||||
"description": "Searches the Google Knowledge Graph for entities.",
|
||||
"kind": "discovery#restDescription",
|
||||
"rootUrl": "https://kgsearch.googleapis.com/",
|
||||
"basePath": "",
|
||||
"ownerDomain": "google.com",
|
||||
"name": "kgsearch",
|
||||
"batchPath": "batch",
|
||||
"id": "kgsearch:v1",
|
||||
"documentationLink": "https://developers.google.com/knowledge-graph/",
|
||||
"revision": "20170109",
|
||||
"revision": "20170925",
|
||||
"title": "Knowledge Graph Search API",
|
||||
"ownerName": "Google",
|
||||
"discoveryVersion": "v1",
|
||||
"version_module": "True",
|
||||
"ownerName": "Google",
|
||||
"version_module": true,
|
||||
"resources": {
|
||||
"entities": {
|
||||
"methods": {
|
||||
"search": {
|
||||
"httpMethod": "GET",
|
||||
"parameterOrder": [],
|
||||
"response": {
|
||||
"$ref": "SearchResponse"
|
||||
},
|
||||
"parameterOrder": [],
|
||||
"httpMethod": "GET",
|
||||
"parameters": {
|
||||
"query": {
|
||||
"location": "query",
|
||||
"description": "The literal query string for search.",
|
||||
"type": "string"
|
||||
},
|
||||
"types": {
|
||||
"type": "string",
|
||||
"repeated": true,
|
||||
"location": "query",
|
||||
"description": "Restricts returned entities with these types, e.g. Person\n(as defined in http://schema.org/Person). If multiple types are specified,\nreturned entities will contain one or more of these types."
|
||||
},
|
||||
"indent": {
|
||||
"description": "Enables indenting of json results.",
|
||||
"type": "boolean",
|
||||
"location": "query"
|
||||
},
|
||||
"languages": {
|
||||
"location": "query",
|
||||
"description": "The list of language codes (defined in ISO 693) to run the query with,\ne.g. 'en'.",
|
||||
"type": "string",
|
||||
"repeated": true
|
||||
},
|
||||
"ids": {
|
||||
"description": "The list of entity id to be used for search instead of query string.\nTo specify multiple ids in the HTTP request, repeat the parameter in the\nURL as in ...?ids=A&ids=B",
|
||||
"type": "string",
|
||||
"repeated": true,
|
||||
"location": "query"
|
||||
},
|
||||
"limit": {
|
||||
"format": "int32",
|
||||
"description": "Limits the number of entities to be returned.",
|
||||
|
@ -69,63 +28,46 @@
|
|||
"location": "query",
|
||||
"description": "Enables prefix match against names and aliases of entities",
|
||||
"type": "boolean"
|
||||
},
|
||||
"query": {
|
||||
"location": "query",
|
||||
"description": "The literal query string for search.",
|
||||
"type": "string"
|
||||
},
|
||||
"types": {
|
||||
"description": "Restricts returned entities with these types, e.g. Person\n(as defined in http://schema.org/Person). If multiple types are specified,\nreturned entities will contain one or more of these types.",
|
||||
"type": "string",
|
||||
"repeated": true,
|
||||
"location": "query"
|
||||
},
|
||||
"indent": {
|
||||
"location": "query",
|
||||
"description": "Enables indenting of json results.",
|
||||
"type": "boolean"
|
||||
},
|
||||
"languages": {
|
||||
"description": "The list of language codes (defined in ISO 693) to run the query with,\ne.g. 'en'.",
|
||||
"type": "string",
|
||||
"repeated": true,
|
||||
"location": "query"
|
||||
},
|
||||
"ids": {
|
||||
"repeated": true,
|
||||
"location": "query",
|
||||
"description": "The list of entity id to be used for search instead of query string.\nTo specify multiple ids in the HTTP request, repeat the parameter in the\nURL as in ...?ids=A&ids=B",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"flatPath": "v1/entities:search",
|
||||
"path": "v1/entities:search",
|
||||
"id": "kgsearch.entities.search",
|
||||
"path": "v1/entities:search",
|
||||
"description": "Searches Knowledge Graph for entities that match the constraints.\nA list of matched entities will be returned in response, which will be in\nJSON-LD format and compatible with http://schema.org"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"parameters": {
|
||||
"upload_protocol": {
|
||||
"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").",
|
||||
"type": "string",
|
||||
"location": "query"
|
||||
},
|
||||
"prettyPrint": {
|
||||
"description": "Returns response with indentations and line breaks.",
|
||||
"default": "true",
|
||||
"type": "boolean",
|
||||
"location": "query"
|
||||
},
|
||||
"fields": {
|
||||
"description": "Selector specifying which fields to include in a partial response.",
|
||||
"type": "string",
|
||||
"location": "query"
|
||||
},
|
||||
"uploadType": {
|
||||
"location": "query",
|
||||
"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").",
|
||||
"type": "string"
|
||||
},
|
||||
"$.xgafv": {
|
||||
"enumDescriptions": [
|
||||
"v1 error format",
|
||||
"v2 error format"
|
||||
],
|
||||
"location": "query",
|
||||
"enum": [
|
||||
"1",
|
||||
"2"
|
||||
],
|
||||
"description": "V1 error format.",
|
||||
"type": "string"
|
||||
},
|
||||
"callback": {
|
||||
"description": "JSONP",
|
||||
"type": "string",
|
||||
"location": "query"
|
||||
},
|
||||
"alt": {
|
||||
"type": "string",
|
||||
"enumDescriptions": [
|
||||
"Responses with Content-Type of application/json",
|
||||
"Media download with context-dependent Content-Type",
|
||||
"Responses with Content-Type of application/x-protobuf"
|
||||
],
|
||||
"location": "query",
|
||||
"description": "Data format for response.",
|
||||
"default": "json",
|
||||
|
@ -133,16 +75,22 @@
|
|||
"json",
|
||||
"media",
|
||||
"proto"
|
||||
],
|
||||
"type": "string",
|
||||
"enumDescriptions": [
|
||||
"Responses with Content-Type of application/json",
|
||||
"Media download with context-dependent Content-Type",
|
||||
"Responses with Content-Type of application/x-protobuf"
|
||||
]
|
||||
},
|
||||
"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.",
|
||||
"access_token": {
|
||||
"description": "OAuth access token.",
|
||||
"type": "string",
|
||||
"location": "query"
|
||||
},
|
||||
"access_token": {
|
||||
"key": {
|
||||
"location": "query",
|
||||
"description": "OAuth access token.",
|
||||
"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.",
|
||||
"type": "string"
|
||||
},
|
||||
"quotaUser": {
|
||||
|
@ -156,15 +104,54 @@
|
|||
"default": "true",
|
||||
"type": "boolean"
|
||||
},
|
||||
"oauth_token": {
|
||||
"location": "query",
|
||||
"description": "OAuth 2.0 token for the current user.",
|
||||
"type": "string"
|
||||
},
|
||||
"bearer_token": {
|
||||
"location": "query",
|
||||
"description": "OAuth bearer token.",
|
||||
"type": "string"
|
||||
},
|
||||
"upload_protocol": {
|
||||
"type": "string",
|
||||
"location": "query",
|
||||
"description": "Upload protocol for media (e.g. \"raw\", \"multipart\")."
|
||||
},
|
||||
"prettyPrint": {
|
||||
"location": "query",
|
||||
"description": "Returns response with indentations and line breaks.",
|
||||
"default": "true",
|
||||
"type": "boolean"
|
||||
},
|
||||
"uploadType": {
|
||||
"location": "query",
|
||||
"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").",
|
||||
"type": "string"
|
||||
},
|
||||
"fields": {
|
||||
"type": "string",
|
||||
"location": "query",
|
||||
"description": "Selector specifying which fields to include in a partial response."
|
||||
},
|
||||
"callback": {
|
||||
"description": "JSONP",
|
||||
"type": "string",
|
||||
"location": "query"
|
||||
},
|
||||
"oauth_token": {
|
||||
"description": "OAuth 2.0 token for the current user.",
|
||||
"$.xgafv": {
|
||||
"type": "string",
|
||||
"location": "query"
|
||||
"enumDescriptions": [
|
||||
"v1 error format",
|
||||
"v2 error format"
|
||||
],
|
||||
"location": "query",
|
||||
"enum": [
|
||||
"1",
|
||||
"2"
|
||||
],
|
||||
"description": "V1 error format."
|
||||
}
|
||||
},
|
||||
"schemas": {
|
||||
|
@ -172,10 +159,6 @@
|
|||
"description": "Response message includes the context and a list of matching results\nwhich contain the detail of associated entities.",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"@type": {
|
||||
"description": "The schema type of top-level JSON-LD object, e.g. ItemList.",
|
||||
"type": "any"
|
||||
},
|
||||
"itemListElement": {
|
||||
"description": "The item list of search results.",
|
||||
"items": {
|
||||
|
@ -186,9 +169,26 @@
|
|||
"@context": {
|
||||
"description": "The local context applicable for the response. See more details at\nhttp://www.w3.org/TR/json-ld/#context-definitions.",
|
||||
"type": "any"
|
||||
},
|
||||
"@type": {
|
||||
"description": "The schema type of top-level JSON-LD object, e.g. ItemList.",
|
||||
"type": "any"
|
||||
}
|
||||
},
|
||||
"id": "SearchResponse"
|
||||
}
|
||||
}
|
||||
},
|
||||
"icons": {
|
||||
"x32": "http://www.google.com/images/icons/product/search-32.gif",
|
||||
"x16": "http://www.google.com/images/icons/product/search-16.gif"
|
||||
},
|
||||
"protocol": "rest",
|
||||
"version": "v1",
|
||||
"baseUrl": "https://kgsearch.googleapis.com/",
|
||||
"kind": "discovery#restDescription",
|
||||
"description": "Searches the Google Knowledge Graph for entities.",
|
||||
"servicePath": "",
|
||||
"rootUrl": "https://kgsearch.googleapis.com/",
|
||||
"basePath": "",
|
||||
"ownerDomain": "google.com"
|
||||
}
|
||||
|
|
1194
vendor/google.golang.org/api/language/v1/language-api.json
generated
vendored
1194
vendor/google.golang.org/api/language/v1/language-api.json
generated
vendored
File diff suppressed because it is too large
Load diff
1054
vendor/google.golang.org/api/language/v1beta1/language-api.json
generated
vendored
1054
vendor/google.golang.org/api/language/v1beta1/language-api.json
generated
vendored
File diff suppressed because it is too large
Load diff
1758
vendor/google.golang.org/api/language/v1beta2/language-api.json
generated
vendored
1758
vendor/google.golang.org/api/language/v1beta2/language-api.json
generated
vendored
File diff suppressed because it is too large
Load diff
3457
vendor/google.golang.org/api/logging/v2/logging-api.json
generated
vendored
3457
vendor/google.golang.org/api/logging/v2/logging-api.json
generated
vendored
File diff suppressed because it is too large
Load diff
5
vendor/google.golang.org/api/logging/v2/logging-gen.go
generated
vendored
5
vendor/google.golang.org/api/logging/v2/logging-gen.go
generated
vendored
|
@ -996,7 +996,10 @@ type LogEntry struct {
|
|||
// "billingAccounts/[BILLING_ACCOUNT_ID]/logs/[L
|
||||
// OG_ID]"
|
||||
// "folders/[FOLDER_ID]/logs/[LOG_ID]"
|
||||
// [LOG_ID] must be URL-encoded within log_name. Example:
|
||||
// A project number may optionally be used in place of PROJECT_ID. The
|
||||
// project number is translated to its corresponding PROJECT_ID
|
||||
// internally and the log_name field will contain PROJECT_ID in queries
|
||||
// and exports.[LOG_ID] must be URL-encoded within log_name. Example:
|
||||
// "organizations/1234567890/logs/cloudresourcemanager.googleapis.com%2Fa
|
||||
// ctivity". [LOG_ID] must be less than 512 characters long and can only
|
||||
// include the following characters: upper and lower case alphanumeric
|
||||
|
|
3221
vendor/google.golang.org/api/logging/v2beta1/logging-api.json
generated
vendored
3221
vendor/google.golang.org/api/logging/v2beta1/logging-api.json
generated
vendored
File diff suppressed because it is too large
Load diff
5
vendor/google.golang.org/api/logging/v2beta1/logging-gen.go
generated
vendored
5
vendor/google.golang.org/api/logging/v2beta1/logging-gen.go
generated
vendored
|
@ -850,7 +850,10 @@ type LogEntry struct {
|
|||
// "billingAccounts/[BILLING_ACCOUNT_ID]/logs/[L
|
||||
// OG_ID]"
|
||||
// "folders/[FOLDER_ID]/logs/[LOG_ID]"
|
||||
// [LOG_ID] must be URL-encoded within log_name. Example:
|
||||
// A project number may optionally be used in place of PROJECT_ID. The
|
||||
// project number is translated to its corresponding PROJECT_ID
|
||||
// internally and the log_name field will contain PROJECT_ID in queries
|
||||
// and exports.[LOG_ID] must be URL-encoded within log_name. Example:
|
||||
// "organizations/1234567890/logs/cloudresourcemanager.googleapis.com%2Fa
|
||||
// ctivity". [LOG_ID] must be less than 512 characters long and can only
|
||||
// include the following characters: upper and lower case alphanumeric
|
||||
|
|
504
vendor/google.golang.org/api/manufacturers/v1/manufacturers-api.json
generated
vendored
504
vendor/google.golang.org/api/manufacturers/v1/manufacturers-api.json
generated
vendored
|
@ -1,4 +1,5 @@
|
|||
{
|
||||
"basePath": "",
|
||||
"revision": "20170808",
|
||||
"documentationLink": "https://developers.google.com/manufacturers/",
|
||||
"id": "manufacturers:v1",
|
||||
|
@ -26,10 +27,6 @@
|
|||
"description": "A product detail of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#productdetail.",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"attributeValue": {
|
||||
"description": "The value of the attribute.",
|
||||
"type": "string"
|
||||
},
|
||||
"sectionName": {
|
||||
"description": "A short section name that can be reused between multiple product details.",
|
||||
"type": "string"
|
||||
|
@ -37,6 +34,10 @@
|
|||
"attributeName": {
|
||||
"description": "The name of the attribute.",
|
||||
"type": "string"
|
||||
},
|
||||
"attributeValue": {
|
||||
"description": "The value of the attribute.",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"id": "ProductDetail"
|
||||
|
@ -45,14 +46,6 @@
|
|||
"description": "Product issue.",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"description": {
|
||||
"description": "Description of the issue.",
|
||||
"type": "string"
|
||||
},
|
||||
"type": {
|
||||
"description": "The server-generated type of the issue, for example,\n“INCORRECT_TEXT_FORMATTING”, “IMAGE_NOT_SERVEABLE”, etc.",
|
||||
"type": "string"
|
||||
},
|
||||
"attribute": {
|
||||
"description": "If present, the attribute that triggered the issue. For more information\nabout attributes, see\nhttps://support.google.com/manufacturers/answer/6124116.",
|
||||
"type": "string"
|
||||
|
@ -63,6 +56,8 @@
|
|||
"type": "string"
|
||||
},
|
||||
"severity": {
|
||||
"description": "The severity of the issue.",
|
||||
"type": "string",
|
||||
"enumDescriptions": [
|
||||
"Unspecified severity, never used.",
|
||||
"Error severity. The issue prevents the usage of the whole item.",
|
||||
|
@ -74,8 +69,14 @@
|
|||
"ERROR",
|
||||
"WARNING",
|
||||
"INFO"
|
||||
],
|
||||
"description": "The severity of the issue.",
|
||||
]
|
||||
},
|
||||
"description": {
|
||||
"description": "Description of the issue.",
|
||||
"type": "string"
|
||||
},
|
||||
"type": {
|
||||
"description": "The server-generated type of the issue, for example,\n“INCORRECT_TEXT_FORMATTING”, “IMAGE_NOT_SERVEABLE”, etc.",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
|
@ -85,10 +86,6 @@
|
|||
"description": "A feature description of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#featuredesc.",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"image": {
|
||||
"description": "An optional image describing the feature.",
|
||||
"$ref": "Image"
|
||||
},
|
||||
"headline": {
|
||||
"description": "A short description of the feature.",
|
||||
"type": "string"
|
||||
|
@ -96,16 +93,14 @@
|
|||
"text": {
|
||||
"description": "A detailed description of the feature.",
|
||||
"type": "string"
|
||||
},
|
||||
"image": {
|
||||
"$ref": "Image",
|
||||
"description": "An optional image describing the feature."
|
||||
}
|
||||
},
|
||||
"id": "FeatureDescription"
|
||||
},
|
||||
"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"
|
||||
},
|
||||
"Price": {
|
||||
"description": "A price.",
|
||||
"type": "object",
|
||||
|
@ -121,31 +116,21 @@
|
|||
},
|
||||
"id": "Price"
|
||||
},
|
||||
"Empty": {
|
||||
"description": "A generic empty message that you can re-use to avoid defining duplicated\nempty messages in your APIs. A typical example is to use it as the request\nor the response type of an API method. For instance:\n\n service Foo {\n rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);\n }\n\nThe JSON representation for `Empty` is empty JSON object `{}`.",
|
||||
"type": "object",
|
||||
"properties": {},
|
||||
"id": "Empty"
|
||||
},
|
||||
"Image": {
|
||||
"description": "An image.",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"type": {
|
||||
"description": "The type of the image, i.e., crawled or uploaded.\n@OutputOnly",
|
||||
"type": "string",
|
||||
"enumDescriptions": [
|
||||
"Type is unspecified. Should not be used.",
|
||||
"The image was crawled from a provided URL.",
|
||||
"The image was uploaded."
|
||||
],
|
||||
"enum": [
|
||||
"TYPE_UNSPECIFIED",
|
||||
"CRAWLED",
|
||||
"UPLOADED"
|
||||
]
|
||||
},
|
||||
"imageUrl": {
|
||||
"description": "The URL of the image. For crawled images, this is the provided URL. For\nuploaded images, this is a serving URL from Google if the image has been\nprocessed successfully.",
|
||||
"type": "string"
|
||||
},
|
||||
"status": {
|
||||
"description": "The status of the image.\n@OutputOnly",
|
||||
"type": "string",
|
||||
"enumDescriptions": [
|
||||
"Status is unspecified. Should not be used.",
|
||||
"Image was uploaded and is being processed.",
|
||||
|
@ -171,69 +156,29 @@
|
|||
"DECODING_ERROR",
|
||||
"TOO_BIG",
|
||||
"CRAWL_SKIPPED"
|
||||
]
|
||||
],
|
||||
"description": "The status of the image.\n@OutputOnly",
|
||||
"type": "string"
|
||||
},
|
||||
"type": {
|
||||
"enumDescriptions": [
|
||||
"Type is unspecified. Should not be used.",
|
||||
"The image was crawled from a provided URL.",
|
||||
"The image was uploaded."
|
||||
],
|
||||
"enum": [
|
||||
"TYPE_UNSPECIFIED",
|
||||
"CRAWLED",
|
||||
"UPLOADED"
|
||||
],
|
||||
"description": "The type of the image, i.e., crawled or uploaded.\n@OutputOnly",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"id": "Image"
|
||||
},
|
||||
"Attributes": {
|
||||
"description": "Attributes of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116.",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"ageGroup": {
|
||||
"description": "The target age group of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#agegroup.",
|
||||
"type": "string"
|
||||
},
|
||||
"productDetail": {
|
||||
"description": "The details of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#productdetail.",
|
||||
"items": {
|
||||
"$ref": "ProductDetail"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"flavor": {
|
||||
"description": "The flavor of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#flavor.",
|
||||
"type": "string"
|
||||
},
|
||||
"productPageUrl": {
|
||||
"description": "The URL of the detail page of the product. For more information, 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"
|
||||
},
|
||||
"releaseDate": {
|
||||
"description": "The release date of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#release.",
|
||||
"type": "string"
|
||||
},
|
||||
"gtin": {
|
||||
"description": "The Global Trade Item Number (GTIN) of the product. For more information,\nsee https://support.google.com/manufacturers/answer/6124116#gtin.",
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"itemGroupId": {
|
||||
"description": "The item group id of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#itemgroupid.",
|
||||
"type": "string"
|
||||
},
|
||||
"productLine": {
|
||||
"description": "The name of the group of products related to the product. For more\ninformation, see\nhttps://support.google.com/manufacturers/answer/6124116#productline.",
|
||||
"type": "string"
|
||||
},
|
||||
"capacity": {
|
||||
"description": "The capacity of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#capacity.",
|
||||
"$ref": "Capacity"
|
||||
},
|
||||
"description": {
|
||||
"description": "The description of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#description.",
|
||||
"type": "string"
|
||||
},
|
||||
"gender": {
|
||||
"description": "The target gender of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#gender.",
|
||||
"type": "string"
|
||||
},
|
||||
"sizeSystem": {
|
||||
"description": "The size system of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#sizesystem.",
|
||||
"type": "string"
|
||||
|
@ -288,8 +233,8 @@
|
|||
"type": "string"
|
||||
},
|
||||
"suggestedRetailPrice": {
|
||||
"$ref": "Price",
|
||||
"description": "The suggested retail price (MSRP) of the product. For more information,\nsee https://support.google.com/manufacturers/answer/6124116#price."
|
||||
"description": "The suggested retail price (MSRP) of the product. For more information,\nsee https://support.google.com/manufacturers/answer/6124116#price.",
|
||||
"$ref": "Price"
|
||||
},
|
||||
"featureDescription": {
|
||||
"description": "The rich format description of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#featuredesc.",
|
||||
|
@ -330,9 +275,65 @@
|
|||
"scent": {
|
||||
"description": "The scent of the product. For more information, see\n https://support.google.com/manufacturers/answer/6124116#scent.",
|
||||
"type": "string"
|
||||
},
|
||||
"ageGroup": {
|
||||
"description": "The target age group of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#agegroup.",
|
||||
"type": "string"
|
||||
},
|
||||
"productDetail": {
|
||||
"description": "The details of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#productdetail.",
|
||||
"items": {
|
||||
"$ref": "ProductDetail"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"flavor": {
|
||||
"description": "The flavor of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#flavor.",
|
||||
"type": "string"
|
||||
},
|
||||
"productPageUrl": {
|
||||
"description": "The URL of the detail page of the product. For more information, 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"
|
||||
},
|
||||
"releaseDate": {
|
||||
"description": "The release date of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#release.",
|
||||
"type": "string"
|
||||
},
|
||||
"gtin": {
|
||||
"description": "The Global Trade Item Number (GTIN) of the product. For more information,\nsee https://support.google.com/manufacturers/answer/6124116#gtin.",
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"itemGroupId": {
|
||||
"description": "The item group id of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#itemgroupid.",
|
||||
"type": "string"
|
||||
},
|
||||
"productLine": {
|
||||
"description": "The name of the group of products related to the product. For more\ninformation, see\nhttps://support.google.com/manufacturers/answer/6124116#productline.",
|
||||
"type": "string"
|
||||
},
|
||||
"capacity": {
|
||||
"$ref": "Capacity",
|
||||
"description": "The capacity of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#capacity."
|
||||
},
|
||||
"description": {
|
||||
"description": "The description of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#description.",
|
||||
"type": "string"
|
||||
},
|
||||
"gender": {
|
||||
"description": "The target gender of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#gender.",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"id": "Attributes"
|
||||
"id": "Attributes",
|
||||
"description": "Attributes of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116.",
|
||||
"type": "object"
|
||||
},
|
||||
"Count": {
|
||||
"description": "The number of products in a single package. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#count.",
|
||||
|
@ -351,28 +352,10 @@
|
|||
"id": "Count"
|
||||
},
|
||||
"Product": {
|
||||
"description": "Product data.",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"finalAttributes": {
|
||||
"$ref": "Attributes",
|
||||
"description": "Final attributes of the product. The final attributes are obtained by\noverriding the uploaded attributes with the manually provided and deleted\nattributes. Google systems only process, evaluate, review, and/or use final\nattributes.\n@OutputOnly"
|
||||
},
|
||||
"productId": {
|
||||
"description": "The ID of the product. For more information, see\nhttps://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"
|
||||
},
|
||||
"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"
|
||||
},
|
||||
"manuallyProvidedAttributes": {
|
||||
"$ref": "Attributes",
|
||||
"description": "Attributes of the product provided manually via the Manufacturer Center UI.\n@OutputOnly"
|
||||
"description": "Attributes of the product provided manually via the Manufacturer Center UI.\n@OutputOnly",
|
||||
"$ref": "Attributes"
|
||||
},
|
||||
"targetCountry": {
|
||||
"description": "The target country of the product as a CLDR territory code (for example,\nUS).\n@OutputOnly",
|
||||
|
@ -399,9 +382,27 @@
|
|||
"$ref": "Issue"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"finalAttributes": {
|
||||
"description": "Final attributes of the product. The final attributes are obtained by\noverriding the uploaded attributes with the manually provided and deleted\nattributes. Google systems only process, evaluate, review, and/or use final\nattributes.\n@OutputOnly",
|
||||
"$ref": "Attributes"
|
||||
},
|
||||
"productId": {
|
||||
"description": "The ID of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#id.\n@OutputOnly",
|
||||
"type": "string"
|
||||
},
|
||||
"uploadedAttributes": {
|
||||
"$ref": "Attributes",
|
||||
"description": "Attributes of the product uploaded via the Manufacturer Center API or via\nfeeds."
|
||||
},
|
||||
"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"
|
||||
}
|
||||
},
|
||||
"id": "Product"
|
||||
"id": "Product",
|
||||
"description": "Product data.",
|
||||
"type": "object"
|
||||
},
|
||||
"Capacity": {
|
||||
"description": "The capacity of a product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#capacity.",
|
||||
|
@ -447,7 +448,6 @@
|
|||
"products": {
|
||||
"methods": {
|
||||
"delete": {
|
||||
"description": "Deletes the product from a Manufacturer Center account.",
|
||||
"response": {
|
||||
"$ref": "Empty"
|
||||
},
|
||||
|
@ -459,6 +459,108 @@
|
|||
"scopes": [
|
||||
"https://www.googleapis.com/auth/manufacturercenter"
|
||||
],
|
||||
"parameters": {
|
||||
"name": {
|
||||
"description": "Name in the format `{target_country}:{content_language}:{product_id}`.\n\n`target_country` - The target country of the product as a CLDR territory\n code (for example, US).\n\n`content_language` - The content language of the product as a two-letter\n ISO 639-1 language code (for example, en).\n\n`product_id` - The ID of the product. For more information, see\n https://support.google.com/manufacturers/answer/6124116#id.",
|
||||
"type": "string",
|
||||
"required": true,
|
||||
"pattern": "^[^/]+$",
|
||||
"location": "path"
|
||||
},
|
||||
"parent": {
|
||||
"description": "Parent ID in the format `accounts/{account_id}`.\n\n`account_id` - The ID of the Manufacturer Center account.",
|
||||
"type": "string",
|
||||
"required": true,
|
||||
"pattern": "^accounts/[^/]+$",
|
||||
"location": "path"
|
||||
}
|
||||
},
|
||||
"flatPath": "v1/accounts/{accountsId}/products/{productsId}",
|
||||
"id": "manufacturers.accounts.products.delete",
|
||||
"path": "v1/{+parent}/products/{+name}",
|
||||
"description": "Deletes the product from a Manufacturer Center account."
|
||||
},
|
||||
"get": {
|
||||
"response": {
|
||||
"$ref": "Product"
|
||||
},
|
||||
"parameterOrder": [
|
||||
"parent",
|
||||
"name"
|
||||
],
|
||||
"httpMethod": "GET",
|
||||
"parameters": {
|
||||
"parent": {
|
||||
"pattern": "^accounts/[^/]+$",
|
||||
"location": "path",
|
||||
"description": "Parent ID in the format `accounts/{account_id}`.\n\n`account_id` - The ID of the Manufacturer Center account.",
|
||||
"type": "string",
|
||||
"required": true
|
||||
},
|
||||
"name": {
|
||||
"location": "path",
|
||||
"description": "Name in the format `{target_country}:{content_language}:{product_id}`.\n\n`target_country` - The target country of the product as a CLDR territory\n code (for example, US).\n\n`content_language` - The content language of the product as a two-letter\n ISO 639-1 language code (for example, en).\n\n`product_id` - The ID of the product. For more information, see\n https://support.google.com/manufacturers/answer/6124116#id.",
|
||||
"type": "string",
|
||||
"required": true,
|
||||
"pattern": "^[^/]+$"
|
||||
}
|
||||
},
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/manufacturercenter"
|
||||
],
|
||||
"flatPath": "v1/accounts/{accountsId}/products/{productsId}",
|
||||
"id": "manufacturers.accounts.products.get",
|
||||
"path": "v1/{+parent}/products/{+name}",
|
||||
"description": "Gets the product from a Manufacturer Center account, including product\nissues.\n\nA recently updated product takes around 15 minutes to process. Changes are\nonly visible after it has been processed. While some issues may be\navailable once the product has been processed, other issues may take days\nto appear."
|
||||
},
|
||||
"list": {
|
||||
"httpMethod": "GET",
|
||||
"parameterOrder": [
|
||||
"parent"
|
||||
],
|
||||
"response": {
|
||||
"$ref": "ListProductsResponse"
|
||||
},
|
||||
"parameters": {
|
||||
"pageToken": {
|
||||
"location": "query",
|
||||
"description": "The token returned by the previous request.",
|
||||
"type": "string"
|
||||
},
|
||||
"pageSize": {
|
||||
"location": "query",
|
||||
"format": "int32",
|
||||
"description": "Maximum number of product statuses to return in the response, used for\npaging.",
|
||||
"type": "integer"
|
||||
},
|
||||
"parent": {
|
||||
"pattern": "^accounts/[^/]+$",
|
||||
"location": "path",
|
||||
"description": "Parent ID in the format `accounts/{account_id}`.\n\n`account_id` - The ID of the Manufacturer Center account.",
|
||||
"type": "string",
|
||||
"required": true
|
||||
}
|
||||
},
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/manufacturercenter"
|
||||
],
|
||||
"flatPath": "v1/accounts/{accountsId}/products",
|
||||
"path": "v1/{+parent}/products",
|
||||
"id": "manufacturers.accounts.products.list",
|
||||
"description": "Lists all the products in a Manufacturer Center account."
|
||||
},
|
||||
"update": {
|
||||
"httpMethod": "PUT",
|
||||
"parameterOrder": [
|
||||
"parent",
|
||||
"name"
|
||||
],
|
||||
"response": {
|
||||
"$ref": "Product"
|
||||
},
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/manufacturercenter"
|
||||
],
|
||||
"parameters": {
|
||||
"parent": {
|
||||
"location": "path",
|
||||
|
@ -476,113 +578,12 @@
|
|||
}
|
||||
},
|
||||
"flatPath": "v1/accounts/{accountsId}/products/{productsId}",
|
||||
"id": "manufacturers.accounts.products.delete",
|
||||
"path": "v1/{+parent}/products/{+name}"
|
||||
},
|
||||
"get": {
|
||||
"description": "Gets the product from a Manufacturer Center account, including product\nissues.\n\nA recently updated product takes around 15 minutes to process. Changes are\nonly visible after it has been processed. While some issues may be\navailable once the product has been processed, other issues may take days\nto appear.",
|
||||
"response": {
|
||||
"$ref": "Product"
|
||||
},
|
||||
"parameterOrder": [
|
||||
"parent",
|
||||
"name"
|
||||
],
|
||||
"httpMethod": "GET",
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/manufacturercenter"
|
||||
],
|
||||
"parameters": {
|
||||
"name": {
|
||||
"location": "path",
|
||||
"description": "Name in the format `{target_country}:{content_language}:{product_id}`.\n\n`target_country` - The target country of the product as a CLDR territory\n code (for example, US).\n\n`content_language` - The content language of the product as a two-letter\n ISO 639-1 language code (for example, en).\n\n`product_id` - The ID of the product. For more information, see\n https://support.google.com/manufacturers/answer/6124116#id.",
|
||||
"type": "string",
|
||||
"required": true,
|
||||
"pattern": "^[^/]+$"
|
||||
},
|
||||
"parent": {
|
||||
"description": "Parent ID in the format `accounts/{account_id}`.\n\n`account_id` - The ID of the Manufacturer Center account.",
|
||||
"type": "string",
|
||||
"required": true,
|
||||
"pattern": "^accounts/[^/]+$",
|
||||
"location": "path"
|
||||
}
|
||||
},
|
||||
"flatPath": "v1/accounts/{accountsId}/products/{productsId}",
|
||||
"id": "manufacturers.accounts.products.get",
|
||||
"path": "v1/{+parent}/products/{+name}"
|
||||
},
|
||||
"list": {
|
||||
"response": {
|
||||
"$ref": "ListProductsResponse"
|
||||
},
|
||||
"parameterOrder": [
|
||||
"parent"
|
||||
],
|
||||
"httpMethod": "GET",
|
||||
"parameters": {
|
||||
"pageToken": {
|
||||
"description": "The token returned by the previous request.",
|
||||
"type": "string",
|
||||
"location": "query"
|
||||
},
|
||||
"pageSize": {
|
||||
"location": "query",
|
||||
"format": "int32",
|
||||
"description": "Maximum number of product statuses to return in the response, used for\npaging.",
|
||||
"type": "integer"
|
||||
},
|
||||
"parent": {
|
||||
"location": "path",
|
||||
"description": "Parent ID in the format `accounts/{account_id}`.\n\n`account_id` - The ID of the Manufacturer Center account.",
|
||||
"type": "string",
|
||||
"required": true,
|
||||
"pattern": "^accounts/[^/]+$"
|
||||
}
|
||||
},
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/manufacturercenter"
|
||||
],
|
||||
"flatPath": "v1/accounts/{accountsId}/products",
|
||||
"id": "manufacturers.accounts.products.list",
|
||||
"path": "v1/{+parent}/products",
|
||||
"description": "Lists all the products in a Manufacturer Center account."
|
||||
},
|
||||
"update": {
|
||||
"path": "v1/{+parent}/products/{+name}",
|
||||
"id": "manufacturers.accounts.products.update",
|
||||
"request": {
|
||||
"$ref": "Product"
|
||||
},
|
||||
"description": "Inserts or updates the product in a Manufacturer Center account.\n\nThe checks at upload time are minimal. All required attributes need to be\npresent for a product to be valid. Issues may show up later\nafter the API has accepted an update for a product and it is possible to\noverwrite an existing valid product with an invalid product. To detect\nthis, you should retrieve the product and check it for issues once the\nupdated version is available.\n\nInserted or updated products first need to be processed before they can be\nretrieved. Until then, new products will be unavailable, and retrieval\nof updated products will return the original state of the product.",
|
||||
"response": {
|
||||
"$ref": "Product"
|
||||
},
|
||||
"parameterOrder": [
|
||||
"parent",
|
||||
"name"
|
||||
],
|
||||
"httpMethod": "PUT",
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/manufacturercenter"
|
||||
],
|
||||
"parameters": {
|
||||
"parent": {
|
||||
"location": "path",
|
||||
"description": "Parent ID in the format `accounts/{account_id}`.\n\n`account_id` - The ID of the Manufacturer Center account.",
|
||||
"type": "string",
|
||||
"required": true,
|
||||
"pattern": "^accounts/[^/]+$"
|
||||
},
|
||||
"name": {
|
||||
"location": "path",
|
||||
"description": "Name in the format `{target_country}:{content_language}:{product_id}`.\n\n`target_country` - The target country of the product as a CLDR territory\n code (for example, US).\n\n`content_language` - The content language of the product as a two-letter\n ISO 639-1 language code (for example, en).\n\n`product_id` - The ID of the product. For more information, see\n https://support.google.com/manufacturers/answer/6124116#id.",
|
||||
"type": "string",
|
||||
"required": true,
|
||||
"pattern": "^[^/]+$"
|
||||
}
|
||||
},
|
||||
"flatPath": "v1/accounts/{accountsId}/products/{productsId}",
|
||||
"id": "manufacturers.accounts.products.update",
|
||||
"path": "v1/{+parent}/products/{+name}"
|
||||
"description": "Inserts or updates the product in a Manufacturer Center account.\n\nThe checks at upload time are minimal. All required attributes need to be\npresent for a product to be valid. Issues may show up later\nafter the API has accepted an update for a product and it is possible to\noverwrite an existing valid product with an invalid product. To detect\nthis, you should retrieve the product and check it for issues once the\nupdated version is available.\n\nInserted or updated products first need to be processed before they can be\nretrieved. Until then, new products will be unavailable, and retrieval\nof updated products will return the original state of the product."
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -590,26 +591,20 @@
|
|||
}
|
||||
},
|
||||
"parameters": {
|
||||
"pp": {
|
||||
"description": "Pretty-print response.",
|
||||
"default": "true",
|
||||
"type": "boolean",
|
||||
"location": "query"
|
||||
},
|
||||
"bearer_token": {
|
||||
"description": "OAuth bearer token.",
|
||||
"type": "string",
|
||||
"location": "query"
|
||||
},
|
||||
"oauth_token": {
|
||||
"location": "query",
|
||||
"description": "OAuth 2.0 token for the current user.",
|
||||
"type": "string"
|
||||
"type": "string",
|
||||
"location": "query"
|
||||
},
|
||||
"upload_protocol": {
|
||||
"location": "query",
|
||||
"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").",
|
||||
"type": "string"
|
||||
"type": "string",
|
||||
"location": "query"
|
||||
},
|
||||
"prettyPrint": {
|
||||
"location": "query",
|
||||
|
@ -623,30 +618,29 @@
|
|||
"type": "string"
|
||||
},
|
||||
"fields": {
|
||||
"location": "query",
|
||||
"description": "Selector specifying which fields to include in a partial response.",
|
||||
"type": "string"
|
||||
"type": "string",
|
||||
"location": "query"
|
||||
},
|
||||
"$.xgafv": {
|
||||
"enum": [
|
||||
"1",
|
||||
"2"
|
||||
],
|
||||
"description": "V1 error format.",
|
||||
"type": "string",
|
||||
"enumDescriptions": [
|
||||
"v1 error format",
|
||||
"v2 error format"
|
||||
],
|
||||
"location": "query",
|
||||
"enum": [
|
||||
"1",
|
||||
"2"
|
||||
]
|
||||
"location": "query"
|
||||
},
|
||||
"callback": {
|
||||
"location": "query",
|
||||
"description": "JSONP",
|
||||
"type": "string"
|
||||
"type": "string",
|
||||
"location": "query"
|
||||
},
|
||||
"alt": {
|
||||
"type": "string",
|
||||
"enumDescriptions": [
|
||||
"Responses with Content-Type of application/json",
|
||||
"Media download with context-dependent Content-Type",
|
||||
|
@ -659,7 +653,8 @@
|
|||
"json",
|
||||
"media",
|
||||
"proto"
|
||||
]
|
||||
],
|
||||
"type": "string"
|
||||
},
|
||||
"access_token": {
|
||||
"description": "OAuth access token.",
|
||||
|
@ -667,20 +662,25 @@
|
|||
"location": "query"
|
||||
},
|
||||
"key": {
|
||||
"location": "query",
|
||||
"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.",
|
||||
"type": "string",
|
||||
"location": "query"
|
||||
"type": "string"
|
||||
},
|
||||
"quotaUser": {
|
||||
"location": "query",
|
||||
"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.",
|
||||
"type": "string"
|
||||
},
|
||||
"pp": {
|
||||
"location": "query",
|
||||
"description": "Pretty-print response.",
|
||||
"default": "true",
|
||||
"type": "boolean"
|
||||
}
|
||||
},
|
||||
"version": "v1",
|
||||
"baseUrl": "https://manufacturers.googleapis.com/",
|
||||
"servicePath": "",
|
||||
"description": "Public API for managing Manufacturer Center related data.",
|
||||
"kind": "discovery#restDescription",
|
||||
"basePath": ""
|
||||
"description": "Public API for managing Manufacturer Center related data.",
|
||||
"servicePath": ""
|
||||
}
|
||||
|
|
1686
vendor/google.golang.org/api/ml/v1/ml-api.json
generated
vendored
1686
vendor/google.golang.org/api/ml/v1/ml-api.json
generated
vendored
File diff suppressed because it is too large
Load diff
7
vendor/google.golang.org/api/ml/v1/ml-gen.go
generated
vendored
7
vendor/google.golang.org/api/ml/v1/ml-gen.go
generated
vendored
|
@ -373,7 +373,9 @@ func (s *GoogleCloudMlV1__GetConfigResponse) MarshalJSON() ([]byte, error) {
|
|||
// list
|
||||
// of HyperparameterOutput objects, one for each successful trial.
|
||||
type GoogleCloudMlV1__HyperparameterOutput struct {
|
||||
// AllMetrics: All recorded object metrics for this trial.
|
||||
// AllMetrics: All recorded object metrics for this trial. This field is
|
||||
// not currently
|
||||
// populated.
|
||||
AllMetrics []*GoogleCloudMlV1HyperparameterOutputHyperparameterMetric `json:"allMetrics,omitempty"`
|
||||
|
||||
// FinalMetric: The final objective metric seen for this trial.
|
||||
|
@ -1491,6 +1493,7 @@ type GoogleCloudMlV1__TrainingInput struct {
|
|||
// "BASIC_GPU" - A single worker instance [with
|
||||
// a
|
||||
// GPU](/ml-engine/docs/how-tos/using-gpus).
|
||||
// "BASIC_TPU" - A single worker instance with a [Cloud TPU](/tpu)
|
||||
// "CUSTOM" - The CUSTOM tier is not a set tier, but rather enables
|
||||
// you to use your
|
||||
// own cluster specification. When you use this tier, set values
|
||||
|
@ -1641,7 +1644,7 @@ func (s *GoogleCloudMlV1__TrainingOutput) UnmarshalJSON(data []byte) error {
|
|||
// [projects.models.versions.list](/ml-engine/reference/rest/v1/p
|
||||
// rojects.models.versions/list).
|
||||
//
|
||||
// Next ID: 18
|
||||
// Next ID: 19
|
||||
// LINT.IfChange
|
||||
type GoogleCloudMlV1__Version struct {
|
||||
// AutoScaling: Automatically scale the number of nodes used to serve
|
||||
|
|
2014
vendor/google.golang.org/api/monitoring/v3/monitoring-api.json
generated
vendored
2014
vendor/google.golang.org/api/monitoring/v3/monitoring-api.json
generated
vendored
File diff suppressed because it is too large
Load diff
273
vendor/google.golang.org/api/oslogin/v1alpha/oslogin-api.json
generated
vendored
273
vendor/google.golang.org/api/oslogin/v1alpha/oslogin-api.json
generated
vendored
|
@ -1,5 +1,4 @@
|
|||
{
|
||||
"ownerName": "Google",
|
||||
"resources": {
|
||||
"users": {
|
||||
"resources": {
|
||||
|
@ -17,27 +16,9 @@
|
|||
],
|
||||
"httpMethod": "DELETE",
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/cloud-platform"
|
||||
"https://www.googleapis.com/auth/cloud-platform",
|
||||
"https://www.googleapis.com/auth/compute"
|
||||
],
|
||||
"parameters": {
|
||||
"name": {
|
||||
"description": "The fingerprint of the public key to update. Public keys are identified by\ntheir SHA-256 fingerprint. The fingerprint of the public key is in format\n`users/{user}/sshPublicKeys/{fingerprint}`.",
|
||||
"type": "string",
|
||||
"required": true,
|
||||
"pattern": "^users/[^/]+/sshPublicKeys/[^/]+$",
|
||||
"location": "path"
|
||||
}
|
||||
},
|
||||
"flatPath": "v1alpha/users/{usersId}/sshPublicKeys/{sshPublicKeysId}"
|
||||
},
|
||||
"patch": {
|
||||
"httpMethod": "PATCH",
|
||||
"parameterOrder": [
|
||||
"name"
|
||||
],
|
||||
"response": {
|
||||
"$ref": "SshPublicKey"
|
||||
},
|
||||
"parameters": {
|
||||
"name": {
|
||||
"pattern": "^users/[^/]+/sshPublicKeys/[^/]+$",
|
||||
|
@ -45,26 +26,49 @@
|
|||
"description": "The fingerprint of the public key to update. Public keys are identified by\ntheir SHA-256 fingerprint. The fingerprint of the public key is in format\n`users/{user}/sshPublicKeys/{fingerprint}`.",
|
||||
"type": "string",
|
||||
"required": true
|
||||
}
|
||||
},
|
||||
"flatPath": "v1alpha/users/{usersId}/sshPublicKeys/{sshPublicKeysId}"
|
||||
},
|
||||
"patch": {
|
||||
"response": {
|
||||
"$ref": "SshPublicKey"
|
||||
},
|
||||
"parameterOrder": [
|
||||
"name"
|
||||
],
|
||||
"httpMethod": "PATCH",
|
||||
"parameters": {
|
||||
"name": {
|
||||
"description": "The fingerprint of the public key to update. Public keys are identified by\ntheir SHA-256 fingerprint. The fingerprint of the public key is in format\n`users/{user}/sshPublicKeys/{fingerprint}`.",
|
||||
"type": "string",
|
||||
"required": true,
|
||||
"pattern": "^users/[^/]+/sshPublicKeys/[^/]+$",
|
||||
"location": "path"
|
||||
},
|
||||
"updateMask": {
|
||||
"location": "query",
|
||||
"format": "google-fieldmask",
|
||||
"description": "Mask to control which fields get updated. Updates all if not present.",
|
||||
"type": "string"
|
||||
"type": "string",
|
||||
"location": "query"
|
||||
}
|
||||
},
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/cloud-platform"
|
||||
"https://www.googleapis.com/auth/cloud-platform",
|
||||
"https://www.googleapis.com/auth/compute"
|
||||
],
|
||||
"flatPath": "v1alpha/users/{usersId}/sshPublicKeys/{sshPublicKeysId}",
|
||||
"path": "v1alpha/{+name}",
|
||||
"id": "oslogin.users.sshPublicKeys.patch",
|
||||
"path": "v1alpha/{+name}",
|
||||
"description": "Updates an SSH public key and returns the profile information. This method\nsupports patch semantics.",
|
||||
"request": {
|
||||
"$ref": "SshPublicKey"
|
||||
}
|
||||
},
|
||||
"get": {
|
||||
"id": "oslogin.users.sshPublicKeys.get",
|
||||
"path": "v1alpha/{+name}",
|
||||
"description": "Retrieves an SSH public key.",
|
||||
"response": {
|
||||
"$ref": "SshPublicKey"
|
||||
},
|
||||
|
@ -73,7 +77,8 @@
|
|||
],
|
||||
"httpMethod": "GET",
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/cloud-platform"
|
||||
"https://www.googleapis.com/auth/cloud-platform",
|
||||
"https://www.googleapis.com/auth/compute"
|
||||
],
|
||||
"parameters": {
|
||||
"name": {
|
||||
|
@ -84,42 +89,40 @@
|
|||
"location": "path"
|
||||
}
|
||||
},
|
||||
"flatPath": "v1alpha/users/{usersId}/sshPublicKeys/{sshPublicKeysId}",
|
||||
"id": "oslogin.users.sshPublicKeys.get",
|
||||
"path": "v1alpha/{+name}",
|
||||
"description": "Retrieves an SSH public key."
|
||||
"flatPath": "v1alpha/users/{usersId}/sshPublicKeys/{sshPublicKeysId}"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"methods": {
|
||||
"importSshPublicKey": {
|
||||
"response": {
|
||||
"$ref": "ImportSshPublicKeyResponse"
|
||||
},
|
||||
"httpMethod": "POST",
|
||||
"parameterOrder": [
|
||||
"parent"
|
||||
],
|
||||
"httpMethod": "POST",
|
||||
"parameters": {
|
||||
"parent": {
|
||||
"description": "The unique ID for the user in format `users/{user}`.",
|
||||
"type": "string",
|
||||
"required": true,
|
||||
"pattern": "^users/[^/]+$",
|
||||
"location": "path"
|
||||
}
|
||||
"response": {
|
||||
"$ref": "ImportSshPublicKeyResponse"
|
||||
},
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/cloud-platform"
|
||||
"https://www.googleapis.com/auth/cloud-platform",
|
||||
"https://www.googleapis.com/auth/compute"
|
||||
],
|
||||
"parameters": {
|
||||
"parent": {
|
||||
"pattern": "^users/[^/]+$",
|
||||
"location": "path",
|
||||
"description": "The unique ID for the user in format `users/{user}`.",
|
||||
"type": "string",
|
||||
"required": true
|
||||
}
|
||||
},
|
||||
"flatPath": "v1alpha/users/{usersId}:importSshPublicKey",
|
||||
"id": "oslogin.users.importSshPublicKey",
|
||||
"path": "v1alpha/{+parent}:importSshPublicKey",
|
||||
"description": "Adds an SSH public key and returns the profile information. Default POSIX\naccount information is set when no username and UID exist as part of the\nlogin profile.",
|
||||
"id": "oslogin.users.importSshPublicKey",
|
||||
"request": {
|
||||
"$ref": "SshPublicKey"
|
||||
}
|
||||
},
|
||||
"description": "Adds an SSH public key and returns the profile information. Default POSIX\naccount information is set when no username and UID exist as part of the\nlogin profile."
|
||||
},
|
||||
"getLoginProfile": {
|
||||
"id": "oslogin.users.getLoginProfile",
|
||||
|
@ -134,7 +137,9 @@
|
|||
"httpMethod": "GET",
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/cloud-platform",
|
||||
"https://www.googleapis.com/auth/cloud-platform.read-only"
|
||||
"https://www.googleapis.com/auth/cloud-platform.read-only",
|
||||
"https://www.googleapis.com/auth/compute",
|
||||
"https://www.googleapis.com/auth/compute.readonly"
|
||||
],
|
||||
"parameters": {
|
||||
"name": {
|
||||
|
@ -151,16 +156,11 @@
|
|||
}
|
||||
},
|
||||
"parameters": {
|
||||
"upload_protocol": {
|
||||
"location": "query",
|
||||
"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").",
|
||||
"type": "string"
|
||||
},
|
||||
"prettyPrint": {
|
||||
"location": "query",
|
||||
"description": "Returns response with indentations and line breaks.",
|
||||
"default": "true",
|
||||
"type": "boolean"
|
||||
"type": "boolean",
|
||||
"location": "query",
|
||||
"description": "Returns response with indentations and line breaks."
|
||||
},
|
||||
"uploadType": {
|
||||
"location": "query",
|
||||
|
@ -168,11 +168,18 @@
|
|||
"type": "string"
|
||||
},
|
||||
"fields": {
|
||||
"type": "string",
|
||||
"location": "query",
|
||||
"description": "Selector specifying which fields to include in a partial response.",
|
||||
"description": "Selector specifying which fields to include in a partial response."
|
||||
},
|
||||
"callback": {
|
||||
"location": "query",
|
||||
"description": "JSONP",
|
||||
"type": "string"
|
||||
},
|
||||
"$.xgafv": {
|
||||
"description": "V1 error format.",
|
||||
"type": "string",
|
||||
"enumDescriptions": [
|
||||
"v1 error format",
|
||||
"v2 error format"
|
||||
|
@ -181,45 +188,38 @@
|
|||
"enum": [
|
||||
"1",
|
||||
"2"
|
||||
],
|
||||
"description": "V1 error format.",
|
||||
"type": "string"
|
||||
},
|
||||
"callback": {
|
||||
"location": "query",
|
||||
"description": "JSONP",
|
||||
"type": "string"
|
||||
]
|
||||
},
|
||||
"alt": {
|
||||
"description": "Data format for response.",
|
||||
"default": "json",
|
||||
"enum": [
|
||||
"json",
|
||||
"media",
|
||||
"proto"
|
||||
],
|
||||
"type": "string",
|
||||
"enumDescriptions": [
|
||||
"Responses with Content-Type of application/json",
|
||||
"Media download with context-dependent Content-Type",
|
||||
"Responses with Content-Type of application/x-protobuf"
|
||||
],
|
||||
"location": "query"
|
||||
"location": "query",
|
||||
"description": "Data format for response.",
|
||||
"default": "json",
|
||||
"enum": [
|
||||
"json",
|
||||
"media",
|
||||
"proto"
|
||||
]
|
||||
},
|
||||
"access_token": {
|
||||
"location": "query",
|
||||
"description": "OAuth access token.",
|
||||
"type": "string",
|
||||
"location": "query"
|
||||
"type": "string"
|
||||
},
|
||||
"key": {
|
||||
"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.",
|
||||
"type": "string",
|
||||
"location": "query"
|
||||
"location": "query",
|
||||
"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token."
|
||||
},
|
||||
"quotaUser": {
|
||||
"type": "string",
|
||||
"location": "query",
|
||||
"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.",
|
||||
"type": "string"
|
||||
"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters."
|
||||
},
|
||||
"pp": {
|
||||
"description": "Pretty-print response.",
|
||||
|
@ -227,39 +227,70 @@
|
|||
"type": "boolean",
|
||||
"location": "query"
|
||||
},
|
||||
"bearer_token": {
|
||||
"description": "OAuth bearer token.",
|
||||
"oauth_token": {
|
||||
"description": "OAuth 2.0 token for the current user.",
|
||||
"type": "string",
|
||||
"location": "query"
|
||||
},
|
||||
"oauth_token": {
|
||||
"description": "OAuth 2.0 token for the current user.",
|
||||
"bearer_token": {
|
||||
"location": "query",
|
||||
"description": "OAuth bearer token.",
|
||||
"type": "string"
|
||||
},
|
||||
"upload_protocol": {
|
||||
"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").",
|
||||
"type": "string",
|
||||
"location": "query"
|
||||
}
|
||||
},
|
||||
"version": "v1alpha",
|
||||
"baseUrl": "https://oslogin.googleapis.com/",
|
||||
"servicePath": "",
|
||||
"kind": "discovery#restDescription",
|
||||
"description": "Manages OS login configuration for Directory API users.",
|
||||
"servicePath": "",
|
||||
"basePath": "",
|
||||
"id": "oslogin:v1alpha",
|
||||
"documentationLink": "https://cloud.google.com/compute/docs/oslogin/rest/",
|
||||
"revision": "20170918",
|
||||
"revision": "20170926",
|
||||
"discoveryVersion": "v1",
|
||||
"version_module": true,
|
||||
"schemas": {
|
||||
"SshPublicKey": {
|
||||
"description": "The SSH public key information associated with a Directory API User.",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"expirationTimeUsec": {
|
||||
"format": "int64",
|
||||
"description": "An expiration time in microseconds since epoch.",
|
||||
"type": "string"
|
||||
},
|
||||
"fingerprint": {
|
||||
"description": "The SHA-256 fingerprint of the SSH public key.\nOutput only.",
|
||||
"type": "string"
|
||||
},
|
||||
"key": {
|
||||
"description": "Public key text in SSH format, defined by\n\u003ca href=\"https://www.ietf.org/rfc/rfc4253.txt\" target=\"_blank\"\u003eRFC4253\u003c/a\u003e\nsection 6.6.",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"id": "SshPublicKey"
|
||||
},
|
||||
"Empty": {
|
||||
"description": "A generic empty message that you can re-use to avoid defining duplicated\nempty messages in your APIs. A typical example is to use it as the request\nor the response type of an API method. For instance:\n\n service Foo {\n rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);\n }\n\nThe JSON representation for `Empty` is empty JSON object `{}`.",
|
||||
"type": "object",
|
||||
"properties": {},
|
||||
"id": "Empty"
|
||||
},
|
||||
"ImportSshPublicKeyResponse": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"loginProfile": {
|
||||
"description": "The login profile information for the user.",
|
||||
"$ref": "LoginProfile"
|
||||
"$ref": "LoginProfile",
|
||||
"description": "The login profile information for the user."
|
||||
}
|
||||
},
|
||||
"id": "ImportSshPublicKeyResponse",
|
||||
"description": "A response message for importing an SSH public key.",
|
||||
"type": "object"
|
||||
"description": "A response message for importing an SSH public key."
|
||||
},
|
||||
"PosixAccount": {
|
||||
"description": "The POSIX account information associated with a Directory API User.",
|
||||
|
@ -270,14 +301,14 @@
|
|||
"type": "boolean"
|
||||
},
|
||||
"gid": {
|
||||
"type": "string",
|
||||
"format": "int64",
|
||||
"description": "The default group ID.",
|
||||
"type": "string"
|
||||
"description": "The default group ID."
|
||||
},
|
||||
"uid": {
|
||||
"type": "string",
|
||||
"format": "int64",
|
||||
"description": "The user ID.",
|
||||
"type": "string"
|
||||
"description": "The user ID."
|
||||
},
|
||||
"username": {
|
||||
"description": "The username of the POSIX account.",
|
||||
|
@ -291,20 +322,18 @@
|
|||
"description": "The path to the home directory for this account.",
|
||||
"type": "string"
|
||||
},
|
||||
"systemId": {
|
||||
"description": "System identifier for which account the username or uid applies to.\nBy default, the empty value is used.",
|
||||
"type": "string"
|
||||
},
|
||||
"gecos": {
|
||||
"description": "The GECOS (user information) entry for this account.",
|
||||
"type": "string"
|
||||
},
|
||||
"systemId": {
|
||||
"description": "System identifier for which account the username or uid applies to.\nBy default, the empty value is used.",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"id": "PosixAccount"
|
||||
},
|
||||
"LoginProfile": {
|
||||
"description": "The Directory API profile information used for logging in to a virtual\nmachine on Google Compute Engine.",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"sshPublicKeys": {
|
||||
"additionalProperties": {
|
||||
|
@ -329,49 +358,31 @@
|
|||
"type": "boolean"
|
||||
}
|
||||
},
|
||||
"id": "LoginProfile"
|
||||
},
|
||||
"SshPublicKey": {
|
||||
"description": "The SSH public key information associated with a Directory API User.",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"key": {
|
||||
"description": "Public key text in SSH format, defined by\n\u003ca href=\"https://www.ietf.org/rfc/rfc4253.txt\" target=\"_blank\"\u003eRFC4253\u003c/a\u003e\nsection 6.6.",
|
||||
"type": "string"
|
||||
},
|
||||
"expirationTimeUsec": {
|
||||
"format": "int64",
|
||||
"description": "An expiration time in microseconds since epoch.",
|
||||
"type": "string"
|
||||
},
|
||||
"fingerprint": {
|
||||
"description": "The SHA-256 fingerprint of the SSH public key.\nOutput only.",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"id": "SshPublicKey"
|
||||
},
|
||||
"Empty": {
|
||||
"description": "A generic empty message that you can re-use to avoid defining duplicated\nempty messages in your APIs. A typical example is to use it as the request\nor the response type of an API method. For instance:\n\n service Foo {\n rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);\n }\n\nThe JSON representation for `Empty` is empty JSON object `{}`.",
|
||||
"type": "object",
|
||||
"properties": {},
|
||||
"id": "Empty"
|
||||
"id": "LoginProfile",
|
||||
"description": "The Directory API profile information used for logging in to a virtual\nmachine on Google Compute Engine.",
|
||||
"type": "object"
|
||||
}
|
||||
},
|
||||
"protocol": "rest",
|
||||
"icons": {
|
||||
"x32": "http://www.google.com/images/icons/product/search-32.gif",
|
||||
"x16": "http://www.google.com/images/icons/product/search-16.gif"
|
||||
"x16": "http://www.google.com/images/icons/product/search-16.gif",
|
||||
"x32": "http://www.google.com/images/icons/product/search-32.gif"
|
||||
},
|
||||
"canonicalName": "Cloud OS Login",
|
||||
"auth": {
|
||||
"oauth2": {
|
||||
"scopes": {
|
||||
"https://www.googleapis.com/auth/cloud-platform.read-only": {
|
||||
"description": "View your data across Google Cloud Platform services"
|
||||
},
|
||||
"https://www.googleapis.com/auth/cloud-platform": {
|
||||
"description": "View and manage your data across Google Cloud Platform services"
|
||||
},
|
||||
"https://www.googleapis.com/auth/cloud-platform.read-only": {
|
||||
"description": "View your data across Google Cloud Platform services"
|
||||
"https://www.googleapis.com/auth/compute.readonly": {
|
||||
"description": "View your Google Compute Engine resources"
|
||||
},
|
||||
"https://www.googleapis.com/auth/compute": {
|
||||
"description": "View and manage your Google Compute Engine resources"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -380,5 +391,7 @@
|
|||
"ownerDomain": "google.com",
|
||||
"name": "oslogin",
|
||||
"batchPath": "batch",
|
||||
"title": "Google Cloud OS Login API"
|
||||
"fullyEncodeReservedExpansion": true,
|
||||
"title": "Google Cloud OS Login API",
|
||||
"ownerName": "Google"
|
||||
}
|
||||
|
|
22
vendor/google.golang.org/api/oslogin/v1alpha/oslogin-gen.go
generated
vendored
22
vendor/google.golang.org/api/oslogin/v1alpha/oslogin-gen.go
generated
vendored
|
@ -52,6 +52,12 @@ const (
|
|||
|
||||
// View your data across Google Cloud Platform services
|
||||
CloudPlatformReadOnlyScope = "https://www.googleapis.com/auth/cloud-platform.read-only"
|
||||
|
||||
// View and manage your Google Compute Engine resources
|
||||
ComputeScope = "https://www.googleapis.com/auth/compute"
|
||||
|
||||
// View your Google Compute Engine resources
|
||||
ComputeReadonlyScope = "https://www.googleapis.com/auth/compute.readonly"
|
||||
)
|
||||
|
||||
func New(client *http.Client) (*Service, error) {
|
||||
|
@ -427,7 +433,9 @@ func (c *UsersGetLoginProfileCall) Do(opts ...googleapi.CallOption) (*LoginProfi
|
|||
// },
|
||||
// "scopes": [
|
||||
// "https://www.googleapis.com/auth/cloud-platform",
|
||||
// "https://www.googleapis.com/auth/cloud-platform.read-only"
|
||||
// "https://www.googleapis.com/auth/cloud-platform.read-only",
|
||||
// "https://www.googleapis.com/auth/compute",
|
||||
// "https://www.googleapis.com/auth/compute.readonly"
|
||||
// ]
|
||||
// }
|
||||
|
||||
|
@ -566,7 +574,8 @@ func (c *UsersImportSshPublicKeyCall) Do(opts ...googleapi.CallOption) (*ImportS
|
|||
// "$ref": "ImportSshPublicKeyResponse"
|
||||
// },
|
||||
// "scopes": [
|
||||
// "https://www.googleapis.com/auth/cloud-platform"
|
||||
// "https://www.googleapis.com/auth/cloud-platform",
|
||||
// "https://www.googleapis.com/auth/compute"
|
||||
// ]
|
||||
// }
|
||||
|
||||
|
@ -691,7 +700,8 @@ func (c *UsersSshPublicKeysDeleteCall) Do(opts ...googleapi.CallOption) (*Empty,
|
|||
// "$ref": "Empty"
|
||||
// },
|
||||
// "scopes": [
|
||||
// "https://www.googleapis.com/auth/cloud-platform"
|
||||
// "https://www.googleapis.com/auth/cloud-platform",
|
||||
// "https://www.googleapis.com/auth/compute"
|
||||
// ]
|
||||
// }
|
||||
|
||||
|
@ -830,7 +840,8 @@ func (c *UsersSshPublicKeysGetCall) Do(opts ...googleapi.CallOption) (*SshPublic
|
|||
// "$ref": "SshPublicKey"
|
||||
// },
|
||||
// "scopes": [
|
||||
// "https://www.googleapis.com/auth/cloud-platform"
|
||||
// "https://www.googleapis.com/auth/cloud-platform",
|
||||
// "https://www.googleapis.com/auth/compute"
|
||||
// ]
|
||||
// }
|
||||
|
||||
|
@ -980,7 +991,8 @@ func (c *UsersSshPublicKeysPatchCall) Do(opts ...googleapi.CallOption) (*SshPubl
|
|||
// "$ref": "SshPublicKey"
|
||||
// },
|
||||
// "scopes": [
|
||||
// "https://www.googleapis.com/auth/cloud-platform"
|
||||
// "https://www.googleapis.com/auth/cloud-platform",
|
||||
// "https://www.googleapis.com/auth/compute"
|
||||
// ]
|
||||
// }
|
||||
|
||||
|
|
381
vendor/google.golang.org/api/oslogin/v1beta/oslogin-api.json
generated
vendored
381
vendor/google.golang.org/api/oslogin/v1beta/oslogin-api.json
generated
vendored
|
@ -1,21 +1,43 @@
|
|||
{
|
||||
"canonicalName": "Cloud OS Login",
|
||||
"auth": {
|
||||
"oauth2": {
|
||||
"scopes": {
|
||||
"https://www.googleapis.com/auth/compute": {
|
||||
"description": "View and manage your Google Compute Engine resources"
|
||||
},
|
||||
"https://www.googleapis.com/auth/cloud-platform.read-only": {
|
||||
"description": "View your data across Google Cloud Platform services"
|
||||
},
|
||||
"https://www.googleapis.com/auth/cloud-platform": {
|
||||
"description": "View and manage your data across Google Cloud Platform services"
|
||||
},
|
||||
"https://www.googleapis.com/auth/compute.readonly": {
|
||||
"description": "View your Google Compute Engine resources"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"rootUrl": "https://oslogin.googleapis.com/",
|
||||
"ownerDomain": "google.com",
|
||||
"name": "oslogin",
|
||||
"batchPath": "batch",
|
||||
"fullyEncodeReservedExpansion": true,
|
||||
"title": "Google Cloud OS Login API",
|
||||
"ownerName": "Google",
|
||||
"resources": {
|
||||
"users": {
|
||||
"methods": {
|
||||
"importSshPublicKey": {
|
||||
"getLoginProfile": {
|
||||
"response": {
|
||||
"$ref": "ImportSshPublicKeyResponse"
|
||||
"$ref": "LoginProfile"
|
||||
},
|
||||
"parameterOrder": [
|
||||
"parent"
|
||||
],
|
||||
"httpMethod": "POST",
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/cloud-platform"
|
||||
"name"
|
||||
],
|
||||
"httpMethod": "GET",
|
||||
"parameters": {
|
||||
"parent": {
|
||||
"name": {
|
||||
"description": "The unique ID for the user in format `users/{user}`.",
|
||||
"type": "string",
|
||||
"required": true,
|
||||
|
@ -23,84 +45,52 @@
|
|||
"location": "path"
|
||||
}
|
||||
},
|
||||
"flatPath": "v1beta/users/{usersId}:importSshPublicKey",
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/cloud-platform",
|
||||
"https://www.googleapis.com/auth/cloud-platform.read-only",
|
||||
"https://www.googleapis.com/auth/compute",
|
||||
"https://www.googleapis.com/auth/compute.readonly"
|
||||
],
|
||||
"flatPath": "v1beta/users/{usersId}/loginProfile",
|
||||
"id": "oslogin.users.getLoginProfile",
|
||||
"path": "v1beta/{+name}/loginProfile",
|
||||
"description": "Retrieves the profile information used for logging in to a virtual machine\non Google Compute Engine."
|
||||
},
|
||||
"importSshPublicKey": {
|
||||
"id": "oslogin.users.importSshPublicKey",
|
||||
"path": "v1beta/{+parent}:importSshPublicKey",
|
||||
"description": "Adds an SSH public key and returns the profile information. Default POSIX\naccount information is set when no username and UID exist as part of the\nlogin profile.",
|
||||
"request": {
|
||||
"$ref": "SshPublicKey"
|
||||
},
|
||||
"description": "Adds an SSH public key and returns the profile information. Default POSIX\naccount information is set when no username and UID exist as part of the\nlogin profile."
|
||||
},
|
||||
"getLoginProfile": {
|
||||
"httpMethod": "GET",
|
||||
"response": {
|
||||
"$ref": "LoginProfile"
|
||||
"$ref": "ImportSshPublicKeyResponse"
|
||||
},
|
||||
"parameterOrder": [
|
||||
"name"
|
||||
],
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/cloud-platform",
|
||||
"https://www.googleapis.com/auth/cloud-platform.read-only"
|
||||
"parent"
|
||||
],
|
||||
"httpMethod": "POST",
|
||||
"parameters": {
|
||||
"name": {
|
||||
"parent": {
|
||||
"pattern": "^users/[^/]+$",
|
||||
"location": "path",
|
||||
"description": "The unique ID for the user in format `users/{user}`.",
|
||||
"type": "string",
|
||||
"required": true,
|
||||
"pattern": "^users/[^/]+$"
|
||||
"required": true
|
||||
}
|
||||
},
|
||||
"flatPath": "v1beta/users/{usersId}/loginProfile",
|
||||
"path": "v1beta/{+name}/loginProfile",
|
||||
"id": "oslogin.users.getLoginProfile",
|
||||
"description": "Retrieves the profile information used for logging in to a virtual machine\non Google Compute Engine."
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/cloud-platform",
|
||||
"https://www.googleapis.com/auth/compute"
|
||||
],
|
||||
"flatPath": "v1beta/users/{usersId}:importSshPublicKey"
|
||||
}
|
||||
},
|
||||
"resources": {
|
||||
"sshPublicKeys": {
|
||||
"methods": {
|
||||
"delete": {
|
||||
"description": "Deletes an SSH public key.",
|
||||
"httpMethod": "DELETE",
|
||||
"parameterOrder": [
|
||||
"name"
|
||||
],
|
||||
"response": {
|
||||
"$ref": "Empty"
|
||||
},
|
||||
"parameters": {
|
||||
"name": {
|
||||
"location": "path",
|
||||
"description": "The fingerprint of the public key to update. Public keys are identified by\ntheir SHA-256 fingerprint. The fingerprint of the public key is in format\n`users/{user}/sshPublicKeys/{fingerprint}`.",
|
||||
"type": "string",
|
||||
"required": true,
|
||||
"pattern": "^users/[^/]+/sshPublicKeys/[^/]+$"
|
||||
}
|
||||
},
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/cloud-platform"
|
||||
],
|
||||
"flatPath": "v1beta/users/{usersId}/sshPublicKeys/{sshPublicKeysId}",
|
||||
"path": "v1beta/{+name}",
|
||||
"id": "oslogin.users.sshPublicKeys.delete"
|
||||
},
|
||||
"patch": {
|
||||
"httpMethod": "PATCH",
|
||||
"parameterOrder": [
|
||||
"name"
|
||||
],
|
||||
"response": {
|
||||
"$ref": "SshPublicKey"
|
||||
},
|
||||
"parameters": {
|
||||
"updateMask": {
|
||||
"format": "google-fieldmask",
|
||||
"description": "Mask to control which fields get updated. Updates all if not present.",
|
||||
"type": "string",
|
||||
"location": "query"
|
||||
},
|
||||
"name": {
|
||||
"description": "The fingerprint of the public key to update. Public keys are identified by\ntheir SHA-256 fingerprint. The fingerprint of the public key is in format\n`users/{user}/sshPublicKeys/{fingerprint}`.",
|
||||
"type": "string",
|
||||
|
@ -110,40 +100,81 @@
|
|||
}
|
||||
},
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/cloud-platform"
|
||||
"https://www.googleapis.com/auth/cloud-platform",
|
||||
"https://www.googleapis.com/auth/compute"
|
||||
],
|
||||
"flatPath": "v1beta/users/{usersId}/sshPublicKeys/{sshPublicKeysId}",
|
||||
"path": "v1beta/{+name}",
|
||||
"id": "oslogin.users.sshPublicKeys.patch",
|
||||
"id": "oslogin.users.sshPublicKeys.delete",
|
||||
"description": "Deletes an SSH public key.",
|
||||
"httpMethod": "DELETE",
|
||||
"response": {
|
||||
"$ref": "Empty"
|
||||
},
|
||||
"parameterOrder": [
|
||||
"name"
|
||||
]
|
||||
},
|
||||
"patch": {
|
||||
"description": "Updates an SSH public key and returns the profile information. This method\nsupports patch semantics.",
|
||||
"request": {
|
||||
"$ref": "SshPublicKey"
|
||||
}
|
||||
},
|
||||
"get": {
|
||||
"description": "Retrieves an SSH public key.",
|
||||
},
|
||||
"response": {
|
||||
"$ref": "SshPublicKey"
|
||||
},
|
||||
"parameterOrder": [
|
||||
"name"
|
||||
],
|
||||
"httpMethod": "GET",
|
||||
"httpMethod": "PATCH",
|
||||
"parameters": {
|
||||
"updateMask": {
|
||||
"location": "query",
|
||||
"format": "google-fieldmask",
|
||||
"description": "Mask to control which fields get updated. Updates all if not present.",
|
||||
"type": "string"
|
||||
},
|
||||
"name": {
|
||||
"pattern": "^users/[^/]+/sshPublicKeys/[^/]+$",
|
||||
"location": "path",
|
||||
"description": "The fingerprint of the public key to update. Public keys are identified by\ntheir SHA-256 fingerprint. The fingerprint of the public key is in format\n`users/{user}/sshPublicKeys/{fingerprint}`.",
|
||||
"type": "string",
|
||||
"required": true
|
||||
}
|
||||
},
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/cloud-platform"
|
||||
"https://www.googleapis.com/auth/cloud-platform",
|
||||
"https://www.googleapis.com/auth/compute"
|
||||
],
|
||||
"flatPath": "v1beta/users/{usersId}/sshPublicKeys/{sshPublicKeysId}",
|
||||
"id": "oslogin.users.sshPublicKeys.patch",
|
||||
"path": "v1beta/{+name}"
|
||||
},
|
||||
"get": {
|
||||
"httpMethod": "GET",
|
||||
"response": {
|
||||
"$ref": "SshPublicKey"
|
||||
},
|
||||
"parameterOrder": [
|
||||
"name"
|
||||
],
|
||||
"parameters": {
|
||||
"name": {
|
||||
"location": "path",
|
||||
"description": "The fingerprint of the public key to retrieve. Public keys are identified\nby their SHA-256 fingerprint. The fingerprint of the public key is in\nformat `users/{user}/sshPublicKeys/{fingerprint}`.",
|
||||
"type": "string",
|
||||
"required": true,
|
||||
"pattern": "^users/[^/]+/sshPublicKeys/[^/]+$"
|
||||
"pattern": "^users/[^/]+/sshPublicKeys/[^/]+$",
|
||||
"location": "path"
|
||||
}
|
||||
},
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/cloud-platform",
|
||||
"https://www.googleapis.com/auth/compute"
|
||||
],
|
||||
"flatPath": "v1beta/users/{usersId}/sshPublicKeys/{sshPublicKeysId}",
|
||||
"path": "v1beta/{+name}",
|
||||
"id": "oslogin.users.sshPublicKeys.get",
|
||||
"path": "v1beta/{+name}"
|
||||
"description": "Retrieves an SSH public key."
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -151,30 +182,7 @@
|
|||
}
|
||||
},
|
||||
"parameters": {
|
||||
"upload_protocol": {
|
||||
"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").",
|
||||
"type": "string",
|
||||
"location": "query"
|
||||
},
|
||||
"prettyPrint": {
|
||||
"description": "Returns response with indentations and line breaks.",
|
||||
"default": "true",
|
||||
"type": "boolean",
|
||||
"location": "query"
|
||||
},
|
||||
"uploadType": {
|
||||
"location": "query",
|
||||
"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").",
|
||||
"type": "string"
|
||||
},
|
||||
"fields": {
|
||||
"location": "query",
|
||||
"description": "Selector specifying which fields to include in a partial response.",
|
||||
"type": "string"
|
||||
},
|
||||
"$.xgafv": {
|
||||
"description": "V1 error format.",
|
||||
"type": "string",
|
||||
"enumDescriptions": [
|
||||
"v1 error format",
|
||||
"v2 error format"
|
||||
|
@ -183,7 +191,9 @@
|
|||
"enum": [
|
||||
"1",
|
||||
"2"
|
||||
]
|
||||
],
|
||||
"description": "V1 error format.",
|
||||
"type": "string"
|
||||
},
|
||||
"callback": {
|
||||
"location": "query",
|
||||
|
@ -191,6 +201,12 @@
|
|||
"type": "string"
|
||||
},
|
||||
"alt": {
|
||||
"enumDescriptions": [
|
||||
"Responses with Content-Type of application/json",
|
||||
"Media download with context-dependent Content-Type",
|
||||
"Responses with Content-Type of application/x-protobuf"
|
||||
],
|
||||
"location": "query",
|
||||
"description": "Data format for response.",
|
||||
"default": "json",
|
||||
"enum": [
|
||||
|
@ -198,18 +214,12 @@
|
|||
"media",
|
||||
"proto"
|
||||
],
|
||||
"type": "string",
|
||||
"enumDescriptions": [
|
||||
"Responses with Content-Type of application/json",
|
||||
"Media download with context-dependent Content-Type",
|
||||
"Responses with Content-Type of application/x-protobuf"
|
||||
],
|
||||
"location": "query"
|
||||
"type": "string"
|
||||
},
|
||||
"access_token": {
|
||||
"location": "query",
|
||||
"description": "OAuth access token.",
|
||||
"type": "string",
|
||||
"location": "query"
|
||||
"type": "string"
|
||||
},
|
||||
"key": {
|
||||
"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.",
|
||||
|
@ -222,20 +232,41 @@
|
|||
"location": "query"
|
||||
},
|
||||
"pp": {
|
||||
"location": "query",
|
||||
"description": "Pretty-print response.",
|
||||
"default": "true",
|
||||
"type": "boolean"
|
||||
"type": "boolean",
|
||||
"location": "query"
|
||||
},
|
||||
"bearer_token": {
|
||||
"location": "query",
|
||||
"description": "OAuth bearer token.",
|
||||
"type": "string"
|
||||
"type": "string",
|
||||
"location": "query"
|
||||
},
|
||||
"oauth_token": {
|
||||
"location": "query",
|
||||
"description": "OAuth 2.0 token for the current user.",
|
||||
"type": "string"
|
||||
},
|
||||
"upload_protocol": {
|
||||
"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").",
|
||||
"type": "string",
|
||||
"location": "query"
|
||||
},
|
||||
"prettyPrint": {
|
||||
"location": "query",
|
||||
"description": "Returns response with indentations and line breaks.",
|
||||
"default": "true",
|
||||
"type": "boolean"
|
||||
},
|
||||
"fields": {
|
||||
"description": "Selector specifying which fields to include in a partial response.",
|
||||
"type": "string",
|
||||
"location": "query"
|
||||
},
|
||||
"uploadType": {
|
||||
"location": "query",
|
||||
"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"version": "v1beta",
|
||||
|
@ -244,53 +275,20 @@
|
|||
"description": "Manages OS login configuration for Directory API users.",
|
||||
"servicePath": "",
|
||||
"basePath": "",
|
||||
"revision": "20170918",
|
||||
"documentationLink": "https://cloud.google.com/compute/docs/oslogin/rest/",
|
||||
"id": "oslogin:v1beta",
|
||||
"documentationLink": "https://cloud.google.com/compute/docs/oslogin/rest/",
|
||||
"revision": "20170926",
|
||||
"discoveryVersion": "v1",
|
||||
"version_module": true,
|
||||
"schemas": {
|
||||
"SshPublicKey": {
|
||||
"description": "The SSH public key information associated with a Directory API User.",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"expirationTimeUsec": {
|
||||
"format": "int64",
|
||||
"description": "An expiration time in microseconds since epoch.",
|
||||
"type": "string"
|
||||
},
|
||||
"fingerprint": {
|
||||
"description": "The SHA-256 fingerprint of the SSH public key.\nOutput only.",
|
||||
"type": "string"
|
||||
},
|
||||
"key": {
|
||||
"description": "Public key text in SSH format, defined by\n\u003ca href=\"https://www.ietf.org/rfc/rfc4253.txt\" target=\"_blank\"\u003eRFC4253\u003c/a\u003e\nsection 6.6.",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"id": "SshPublicKey"
|
||||
},
|
||||
"Empty": {
|
||||
"description": "A generic empty message that you can re-use to avoid defining duplicated\nempty messages in your APIs. A typical example is to use it as the request\nor the response type of an API method. For instance:\n\n service Foo {\n rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);\n }\n\nThe JSON representation for `Empty` is empty JSON object `{}`.",
|
||||
"type": "object",
|
||||
"properties": {},
|
||||
"id": "Empty"
|
||||
},
|
||||
"ImportSshPublicKeyResponse": {
|
||||
"description": "A response message for importing an SSH public key.",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"loginProfile": {
|
||||
"$ref": "LoginProfile",
|
||||
"description": "The login profile information for the user."
|
||||
}
|
||||
},
|
||||
"id": "ImportSshPublicKeyResponse"
|
||||
},
|
||||
"PosixAccount": {
|
||||
"description": "The POSIX account information associated with a Directory API User.",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"primary": {
|
||||
"description": "Only one POSIX account can be marked as primary.",
|
||||
"type": "boolean"
|
||||
},
|
||||
"gid": {
|
||||
"format": "int64",
|
||||
"description": "The default group ID.",
|
||||
|
@ -313,17 +311,13 @@
|
|||
"description": "The path to the home directory for this account.",
|
||||
"type": "string"
|
||||
},
|
||||
"gecos": {
|
||||
"description": "The GECOS (user information) entry for this account.",
|
||||
"type": "string"
|
||||
},
|
||||
"systemId": {
|
||||
"description": "System identifier for which account the username or uid applies to.\nBy default, the empty value is used.",
|
||||
"type": "string"
|
||||
},
|
||||
"primary": {
|
||||
"description": "Only one POSIX account can be marked as primary.",
|
||||
"type": "boolean"
|
||||
"gecos": {
|
||||
"description": "The GECOS (user information) entry for this account.",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"id": "PosixAccount"
|
||||
|
@ -332,6 +326,13 @@
|
|||
"description": "The user profile information used for logging in to a virtual machine on\nGoogle Compute Engine.",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"sshPublicKeys": {
|
||||
"additionalProperties": {
|
||||
"$ref": "SshPublicKey"
|
||||
},
|
||||
"description": "A map from SSH public key fingerprint to the associated key object.",
|
||||
"type": "object"
|
||||
},
|
||||
"posixAccounts": {
|
||||
"description": "The list of POSIX accounts associated with the user.",
|
||||
"items": {
|
||||
|
@ -346,39 +347,51 @@
|
|||
"suspended": {
|
||||
"description": "Indicates if the user is suspended. A suspended user cannot log in but\ntheir profile information is retained.",
|
||||
"type": "boolean"
|
||||
},
|
||||
"sshPublicKeys": {
|
||||
"additionalProperties": {
|
||||
"$ref": "SshPublicKey"
|
||||
},
|
||||
"description": "A map from SSH public key fingerprint to the associated key object.",
|
||||
"type": "object"
|
||||
}
|
||||
},
|
||||
"id": "LoginProfile"
|
||||
},
|
||||
"SshPublicKey": {
|
||||
"id": "SshPublicKey",
|
||||
"description": "The SSH public key information associated with a Directory API User.",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"expirationTimeUsec": {
|
||||
"format": "int64",
|
||||
"description": "An expiration time in microseconds since epoch.",
|
||||
"type": "string"
|
||||
},
|
||||
"fingerprint": {
|
||||
"description": "The SHA-256 fingerprint of the SSH public key.\nOutput only.",
|
||||
"type": "string"
|
||||
},
|
||||
"key": {
|
||||
"description": "Public key text in SSH format, defined by\n\u003ca href=\"https://www.ietf.org/rfc/rfc4253.txt\" target=\"_blank\"\u003eRFC4253\u003c/a\u003e\nsection 6.6.",
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
"Empty": {
|
||||
"description": "A generic empty message that you can re-use to avoid defining duplicated\nempty messages in your APIs. A typical example is to use it as the request\nor the response type of an API method. For instance:\n\n service Foo {\n rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);\n }\n\nThe JSON representation for `Empty` is empty JSON object `{}`.",
|
||||
"type": "object",
|
||||
"properties": {},
|
||||
"id": "Empty"
|
||||
},
|
||||
"ImportSshPublicKeyResponse": {
|
||||
"id": "ImportSshPublicKeyResponse",
|
||||
"description": "A response message for importing an SSH public key.",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"loginProfile": {
|
||||
"$ref": "LoginProfile",
|
||||
"description": "The login profile information for the user."
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"protocol": "rest",
|
||||
"icons": {
|
||||
"x16": "http://www.google.com/images/icons/product/search-16.gif",
|
||||
"x32": "http://www.google.com/images/icons/product/search-32.gif"
|
||||
},
|
||||
"canonicalName": "Cloud OS Login",
|
||||
"auth": {
|
||||
"oauth2": {
|
||||
"scopes": {
|
||||
"https://www.googleapis.com/auth/cloud-platform.read-only": {
|
||||
"description": "View your data across Google Cloud Platform services"
|
||||
},
|
||||
"https://www.googleapis.com/auth/cloud-platform": {
|
||||
"description": "View and manage your data across Google Cloud Platform services"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"rootUrl": "https://oslogin.googleapis.com/",
|
||||
"ownerDomain": "google.com",
|
||||
"name": "oslogin",
|
||||
"batchPath": "batch",
|
||||
"title": "Google Cloud OS Login API"
|
||||
}
|
||||
}
|
||||
|
|
22
vendor/google.golang.org/api/oslogin/v1beta/oslogin-gen.go
generated
vendored
22
vendor/google.golang.org/api/oslogin/v1beta/oslogin-gen.go
generated
vendored
|
@ -52,6 +52,12 @@ const (
|
|||
|
||||
// View your data across Google Cloud Platform services
|
||||
CloudPlatformReadOnlyScope = "https://www.googleapis.com/auth/cloud-platform.read-only"
|
||||
|
||||
// View and manage your Google Compute Engine resources
|
||||
ComputeScope = "https://www.googleapis.com/auth/compute"
|
||||
|
||||
// View your Google Compute Engine resources
|
||||
ComputeReadonlyScope = "https://www.googleapis.com/auth/compute.readonly"
|
||||
)
|
||||
|
||||
func New(client *http.Client) (*Service, error) {
|
||||
|
@ -428,7 +434,9 @@ func (c *UsersGetLoginProfileCall) Do(opts ...googleapi.CallOption) (*LoginProfi
|
|||
// },
|
||||
// "scopes": [
|
||||
// "https://www.googleapis.com/auth/cloud-platform",
|
||||
// "https://www.googleapis.com/auth/cloud-platform.read-only"
|
||||
// "https://www.googleapis.com/auth/cloud-platform.read-only",
|
||||
// "https://www.googleapis.com/auth/compute",
|
||||
// "https://www.googleapis.com/auth/compute.readonly"
|
||||
// ]
|
||||
// }
|
||||
|
||||
|
@ -567,7 +575,8 @@ func (c *UsersImportSshPublicKeyCall) Do(opts ...googleapi.CallOption) (*ImportS
|
|||
// "$ref": "ImportSshPublicKeyResponse"
|
||||
// },
|
||||
// "scopes": [
|
||||
// "https://www.googleapis.com/auth/cloud-platform"
|
||||
// "https://www.googleapis.com/auth/cloud-platform",
|
||||
// "https://www.googleapis.com/auth/compute"
|
||||
// ]
|
||||
// }
|
||||
|
||||
|
@ -692,7 +701,8 @@ func (c *UsersSshPublicKeysDeleteCall) Do(opts ...googleapi.CallOption) (*Empty,
|
|||
// "$ref": "Empty"
|
||||
// },
|
||||
// "scopes": [
|
||||
// "https://www.googleapis.com/auth/cloud-platform"
|
||||
// "https://www.googleapis.com/auth/cloud-platform",
|
||||
// "https://www.googleapis.com/auth/compute"
|
||||
// ]
|
||||
// }
|
||||
|
||||
|
@ -831,7 +841,8 @@ func (c *UsersSshPublicKeysGetCall) Do(opts ...googleapi.CallOption) (*SshPublic
|
|||
// "$ref": "SshPublicKey"
|
||||
// },
|
||||
// "scopes": [
|
||||
// "https://www.googleapis.com/auth/cloud-platform"
|
||||
// "https://www.googleapis.com/auth/cloud-platform",
|
||||
// "https://www.googleapis.com/auth/compute"
|
||||
// ]
|
||||
// }
|
||||
|
||||
|
@ -981,7 +992,8 @@ func (c *UsersSshPublicKeysPatchCall) Do(opts ...googleapi.CallOption) (*SshPubl
|
|||
// "$ref": "SshPublicKey"
|
||||
// },
|
||||
// "scopes": [
|
||||
// "https://www.googleapis.com/auth/cloud-platform"
|
||||
// "https://www.googleapis.com/auth/cloud-platform",
|
||||
// "https://www.googleapis.com/auth/compute"
|
||||
// ]
|
||||
// }
|
||||
|
||||
|
|
2990
vendor/google.golang.org/api/partners/v2/partners-api.json
generated
vendored
2990
vendor/google.golang.org/api/partners/v2/partners-api.json
generated
vendored
File diff suppressed because it is too large
Load diff
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Add a link
Reference in a new issue