forked from TrueCloudLab/rclone
vendor: update all dependencies
This commit is contained in:
parent
3f0789e2db
commit
08021c4636
2474 changed files with 435818 additions and 282709 deletions
1
vendor/google.golang.org/api/CONTRIBUTORS
generated
vendored
1
vendor/google.golang.org/api/CONTRIBUTORS
generated
vendored
|
@ -48,6 +48,7 @@ Kunpei Sakai <namusyaka@gmail.com>
|
|||
Matthew Whisenhunt <matt.whisenhunt@gmail.com>
|
||||
Michael McGreevy <mcgreevy@golang.org>
|
||||
Nick Craig-Wood <nickcw@gmail.com>
|
||||
Robbie Trencheny <me@robbiet.us>
|
||||
Ross Light <light@google.com>
|
||||
Sarah Adams <shadams@google.com>
|
||||
Scott Van Woudenberg <scottvw@google.com>
|
||||
|
|
16
vendor/google.golang.org/api/GettingStarted.md
generated
vendored
16
vendor/google.golang.org/api/GettingStarted.md
generated
vendored
|
@ -128,3 +128,19 @@ For a more complete example, see
|
|||
[urlshortener.go](https://github.com/google/google-api-go-client/tree/master/examples/urlshortener.go)
|
||||
in the [examples directory](https://github.com/google/google-api-go-client/tree/master/examples/).
|
||||
(the examples use some functions in `main.go` in the same directory)
|
||||
|
||||
## Error Handling
|
||||
|
||||
Most errors returned by the `Do` methods of these clients will be of type
|
||||
[`googleapi.Error`](https://godoc.org/google.golang.org/api/googleapi#Error).
|
||||
Use a type assertion to obtain the HTTP status code and other properties of the
|
||||
error:
|
||||
|
||||
```go
|
||||
url, err := svc.Url.Get(shortURL).Do()
|
||||
if err != nil {
|
||||
if e, ok := err.(*googleapi.Error); ok && e.Code == http.StatusNotFound {
|
||||
...
|
||||
}
|
||||
}
|
||||
```
|
||||
|
|
6
vendor/google.golang.org/api/README.md
generated
vendored
6
vendor/google.golang.org/api/README.md
generated
vendored
|
@ -39,11 +39,7 @@ These are auto-generated Go libraries from the Google Discovery Service's JSON d
|
|||
Due to the auto-generated nature of this collection of libraries, complete APIs or specific versions can appear or go away without notice.
|
||||
As a result, you should always locally vendor any API(s) that your code relies upon.
|
||||
|
||||
This client library is supported, but in maintenance mode only.
|
||||
We are fixing necessary bugs and adding essential features to ensure this
|
||||
library continues to meet your needs for accessing Google APIs.
|
||||
Non-critical issues will be closed.
|
||||
Any issue may be reopened if it is causing ongoing problems.
|
||||
These client libraries are officially supported by Google. However, the libraries are considered complete and are in maintenance mode. This means that we will address critical bugs and security issues but will not add any new features.
|
||||
|
||||
If you're working with Google Cloud Platform APIs such as Datastore or Pub/Sub,
|
||||
consider using the
|
||||
|
|
|
@ -49,11 +49,6 @@
|
|||
"location": "query",
|
||||
"type": "string"
|
||||
},
|
||||
"bearer_token": {
|
||||
"description": "OAuth bearer token.",
|
||||
"location": "query",
|
||||
"type": "string"
|
||||
},
|
||||
"callback": {
|
||||
"description": "JSONP",
|
||||
"location": "query",
|
||||
|
@ -74,12 +69,6 @@
|
|||
"location": "query",
|
||||
"type": "string"
|
||||
},
|
||||
"pp": {
|
||||
"default": "true",
|
||||
"description": "Pretty-print response.",
|
||||
"location": "query",
|
||||
"type": "boolean"
|
||||
},
|
||||
"prettyPrint": {
|
||||
"default": "true",
|
||||
"description": "Returns response with indentations and line breaks.",
|
||||
|
@ -124,7 +113,7 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
"revision": "20180203",
|
||||
"revision": "20180612",
|
||||
"rootUrl": "https://acceleratedmobilepageurl.googleapis.com/",
|
||||
"schemas": {
|
||||
"AmpUrl": {
|
||||
|
|
25
vendor/google.golang.org/api/adexchangebuyer2/v2beta1/adexchangebuyer2-api.json
generated
vendored
25
vendor/google.golang.org/api/adexchangebuyer2/v2beta1/adexchangebuyer2-api.json
generated
vendored
|
@ -59,11 +59,6 @@
|
|||
"location": "query",
|
||||
"type": "string"
|
||||
},
|
||||
"bearer_token": {
|
||||
"description": "OAuth bearer token.",
|
||||
"location": "query",
|
||||
"type": "string"
|
||||
},
|
||||
"callback": {
|
||||
"description": "JSONP",
|
||||
"location": "query",
|
||||
|
@ -84,12 +79,6 @@
|
|||
"location": "query",
|
||||
"type": "string"
|
||||
},
|
||||
"pp": {
|
||||
"default": "true",
|
||||
"description": "Pretty-print response.",
|
||||
"location": "query",
|
||||
"type": "boolean"
|
||||
},
|
||||
"prettyPrint": {
|
||||
"default": "true",
|
||||
"description": "Returns response with indentations and line breaks.",
|
||||
|
@ -612,7 +601,7 @@
|
|||
"type": "string"
|
||||
},
|
||||
"query": {
|
||||
"description": "An optional query string to filter creatives. If no filter is specified,\nall active creatives will be returned.\nSupported queries are:\n\u003cul\u003e\n\u003cli\u003eaccountId=\u003ci\u003eaccount_id_string\u003c/i\u003e\n\u003cli\u003ecreativeId=\u003ci\u003ecreative_id_string\u003c/i\u003e\n\u003cli\u003edealsStatus: {approved, conditionally_approved, disapproved,\n not_checked}\n\u003cli\u003eopenAuctionStatus: {approved, conditionally_approved, disapproved,\n not_checked}\n\u003cli\u003eattribute: {a numeric attribute from the list of attributes}\n\u003cli\u003edisapprovalReason: {a reason from\nDisapprovalReason}\n\u003c/ul\u003e\nExample: 'accountId=12345 AND (dealsStatus:disapproved AND\ndisapprovalReason:unacceptable_content) OR attribute:47'",
|
||||
"description": "An optional query string to filter creatives. If no filter is specified,\nall active creatives will be returned.\n\u003cp\u003eSupported queries are:\n\u003cul\u003e\n\u003cli\u003eaccountId=\u003ci\u003eaccount_id_string\u003c/i\u003e\n\u003cli\u003ecreativeId=\u003ci\u003ecreative_id_string\u003c/i\u003e\n\u003cli\u003edealsStatus: {approved, conditionally_approved, disapproved,\n not_checked}\n\u003cli\u003eopenAuctionStatus: {approved, conditionally_approved, disapproved,\n not_checked}\n\u003cli\u003eattribute: {a numeric attribute from the list of attributes}\n\u003cli\u003edisapprovalReason: {a reason from\nDisapprovalReason}\n\u003c/ul\u003e\nExample: 'accountId=12345 AND (dealsStatus:disapproved AND\ndisapprovalReason:unacceptable_content) OR attribute:47'",
|
||||
"location": "query",
|
||||
"type": "string"
|
||||
}
|
||||
|
@ -1947,7 +1936,7 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
"revision": "20180430",
|
||||
"revision": "20180607",
|
||||
"rootUrl": "https://adexchangebuyer.googleapis.com/",
|
||||
"schemas": {
|
||||
"AbsoluteDateRange": {
|
||||
|
@ -2704,7 +2693,10 @@
|
|||
"PERSONAL_LOANS",
|
||||
"UNSUPPORTED_FLASH_CONTENT",
|
||||
"MISUSE_BY_OMID_SCRIPT",
|
||||
"NON_WHITELISTED_OMID_VENDOR"
|
||||
"NON_WHITELISTED_OMID_VENDOR",
|
||||
"DESTINATION_EXPERIENCE",
|
||||
"UNSUPPORTED_LANGUAGE",
|
||||
"NON_SSL_COMPLIANT"
|
||||
],
|
||||
"enumDescriptions": [
|
||||
"The length of the image animation is longer than allowed.",
|
||||
|
@ -2802,7 +2794,10 @@
|
|||
"Financial service ad does not adhere to specifications.",
|
||||
"Flash content was found in an unsupported context.",
|
||||
"Misuse by an Open Measurement SDK script.",
|
||||
"Use of an Open Measurement SDK vendor not on approved whitelist."
|
||||
"Use of an Open Measurement SDK vendor not on approved whitelist.",
|
||||
"Unacceptable landing page.",
|
||||
"Unsupported language.",
|
||||
"Non-SSL compliant."
|
||||
],
|
||||
"type": "string"
|
||||
}
|
||||
|
|
7
vendor/google.golang.org/api/adexchangebuyer2/v2beta1/adexchangebuyer2-gen.go
generated
vendored
7
vendor/google.golang.org/api/adexchangebuyer2/v2beta1/adexchangebuyer2-gen.go
generated
vendored
|
@ -1592,6 +1592,9 @@ type Disapproval struct {
|
|||
// "MISUSE_BY_OMID_SCRIPT" - Misuse by an Open Measurement SDK script.
|
||||
// "NON_WHITELISTED_OMID_VENDOR" - Use of an Open Measurement SDK
|
||||
// vendor not on approved whitelist.
|
||||
// "DESTINATION_EXPERIENCE" - Unacceptable landing page.
|
||||
// "UNSUPPORTED_LANGUAGE" - Unsupported language.
|
||||
// "NON_SSL_COMPLIANT" - Non-SSL compliant.
|
||||
Reason string `json:"reason,omitempty"`
|
||||
|
||||
// ForceSendFields is a list of field names (e.g. "Details") to
|
||||
|
@ -5438,7 +5441,7 @@ func (c *AccountsCreativesListCall) PageToken(pageToken string) *AccountsCreativ
|
|||
// Query sets the optional parameter "query": An optional query string
|
||||
// to filter creatives. If no filter is specified,
|
||||
// all active creatives will be returned.
|
||||
// Supported queries
|
||||
// <p>Supported queries
|
||||
// are:
|
||||
// <ul>
|
||||
// <li>accountId=<i>account_id_string</i>
|
||||
|
@ -5583,7 +5586,7 @@ func (c *AccountsCreativesListCall) Do(opts ...googleapi.CallOption) (*ListCreat
|
|||
// "type": "string"
|
||||
// },
|
||||
// "query": {
|
||||
// "description": "An optional query string to filter creatives. If no filter is specified,\nall active creatives will be returned.\nSupported queries are:\n\u003cul\u003e\n\u003cli\u003eaccountId=\u003ci\u003eaccount_id_string\u003c/i\u003e\n\u003cli\u003ecreativeId=\u003ci\u003ecreative_id_string\u003c/i\u003e\n\u003cli\u003edealsStatus: {approved, conditionally_approved, disapproved,\n not_checked}\n\u003cli\u003eopenAuctionStatus: {approved, conditionally_approved, disapproved,\n not_checked}\n\u003cli\u003eattribute: {a numeric attribute from the list of attributes}\n\u003cli\u003edisapprovalReason: {a reason from\nDisapprovalReason}\n\u003c/ul\u003e\nExample: 'accountId=12345 AND (dealsStatus:disapproved AND\ndisapprovalReason:unacceptable_content) OR attribute:47'",
|
||||
// "description": "An optional query string to filter creatives. If no filter is specified,\nall active creatives will be returned.\n\u003cp\u003eSupported queries are:\n\u003cul\u003e\n\u003cli\u003eaccountId=\u003ci\u003eaccount_id_string\u003c/i\u003e\n\u003cli\u003ecreativeId=\u003ci\u003ecreative_id_string\u003c/i\u003e\n\u003cli\u003edealsStatus: {approved, conditionally_approved, disapproved,\n not_checked}\n\u003cli\u003eopenAuctionStatus: {approved, conditionally_approved, disapproved,\n not_checked}\n\u003cli\u003eattribute: {a numeric attribute from the list of attributes}\n\u003cli\u003edisapprovalReason: {a reason from\nDisapprovalReason}\n\u003c/ul\u003e\nExample: 'accountId=12345 AND (dealsStatus:disapproved AND\ndisapprovalReason:unacceptable_content) OR attribute:47'",
|
||||
// "location": "query",
|
||||
// "type": "string"
|
||||
// }
|
||||
|
|
10
vendor/google.golang.org/api/admin/directory/v1/admin-api.json
generated
vendored
10
vendor/google.golang.org/api/admin/directory/v1/admin-api.json
generated
vendored
|
@ -93,7 +93,7 @@
|
|||
"description": "Manages enterprise resources such as users and groups, administrative notifications, security features, and more.",
|
||||
"discoveryVersion": "v1",
|
||||
"documentationLink": "https://developers.google.com/admin-sdk/directory/",
|
||||
"etag": "\"Zkyw9ACJZUvcYmlFaKGChzhmtnE/cqLS0IwH2Is5IhWrKMNCt4VPtGQ\"",
|
||||
"etag": "\"Zkyw9ACJZUvcYmlFaKGChzhmtnE/v7vxOssi30MR6abOqdfvqmKaGFQ\"",
|
||||
"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"
|
||||
|
@ -401,7 +401,7 @@
|
|||
"type": "string"
|
||||
},
|
||||
"query": {
|
||||
"description": "Search string in the format given at http://support.google.com/chromeos/a/bin/answer.py?hl=en\u0026answer=1698333",
|
||||
"description": "Search string in the format given at http://support.google.com/chromeos/a/bin/answer.py?answer=1698333",
|
||||
"location": "query",
|
||||
"type": "string"
|
||||
},
|
||||
|
@ -961,7 +961,7 @@
|
|||
"type": "string"
|
||||
},
|
||||
"query": {
|
||||
"description": "Query string search. Should be of the form \"\". Complete documentation is at https://developers.google.com/admin-sdk/directory/v1/guides/search-users",
|
||||
"description": "Query string search. Should be of the form \"\". Complete documentation is at https://developers.google.com/admin-sdk/directory/v1/guides/search-groups",
|
||||
"location": "query",
|
||||
"type": "string"
|
||||
},
|
||||
|
@ -1542,7 +1542,7 @@
|
|||
"type": "string"
|
||||
},
|
||||
"query": {
|
||||
"description": "Search string in the format given at http://support.google.com/a/bin/answer.py?hl=en\u0026answer=1408863#search",
|
||||
"description": "Search string in the format given at http://support.google.com/a/bin/answer.py?answer=1408863#search",
|
||||
"location": "query",
|
||||
"type": "string"
|
||||
},
|
||||
|
@ -3969,7 +3969,7 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
"revision": "20180423",
|
||||
"revision": "20180604",
|
||||
"rootUrl": "https://www.googleapis.com/",
|
||||
"schemas": {
|
||||
"Alias": {
|
||||
|
|
12
vendor/google.golang.org/api/admin/directory/v1/admin-gen.go
generated
vendored
12
vendor/google.golang.org/api/admin/directory/v1/admin-gen.go
generated
vendored
|
@ -5172,7 +5172,7 @@ func (c *ChromeosdevicesListCall) Projection(projection string) *Chromeosdevices
|
|||
|
||||
// Query sets the optional parameter "query": Search string in the
|
||||
// format given at
|
||||
// http://support.google.com/chromeos/a/bin/answer.py?hl=en&answer=1698333
|
||||
// http://support.google.com/chromeos/a/bin/answer.py?answer=1698333
|
||||
func (c *ChromeosdevicesListCall) Query(query string) *ChromeosdevicesListCall {
|
||||
c.urlParams_.Set("query", query)
|
||||
return c
|
||||
|
@ -5351,7 +5351,7 @@ func (c *ChromeosdevicesListCall) Do(opts ...googleapi.CallOption) (*ChromeOsDev
|
|||
// "type": "string"
|
||||
// },
|
||||
// "query": {
|
||||
// "description": "Search string in the format given at http://support.google.com/chromeos/a/bin/answer.py?hl=en\u0026answer=1698333",
|
||||
// "description": "Search string in the format given at http://support.google.com/chromeos/a/bin/answer.py?answer=1698333",
|
||||
// "location": "query",
|
||||
// "type": "string"
|
||||
// },
|
||||
|
@ -7725,7 +7725,7 @@ func (c *GroupsListCall) PageToken(pageToken string) *GroupsListCall {
|
|||
|
||||
// Query sets the optional parameter "query": Query string search.
|
||||
// Should be of the form "". Complete documentation is at
|
||||
// https://developers.google.com/admin-sdk/directory/v1/guides/search-users
|
||||
// https://developers.google.com/admin-sdk/directory/v1/guides/search-groups
|
||||
func (c *GroupsListCall) Query(query string) *GroupsListCall {
|
||||
c.urlParams_.Set("query", query)
|
||||
return c
|
||||
|
@ -7880,7 +7880,7 @@ func (c *GroupsListCall) Do(opts ...googleapi.CallOption) (*Groups, error) {
|
|||
// "type": "string"
|
||||
// },
|
||||
// "query": {
|
||||
// "description": "Query string search. Should be of the form \"\". Complete documentation is at https://developers.google.com/admin-sdk/directory/v1/guides/search-users",
|
||||
// "description": "Query string search. Should be of the form \"\". Complete documentation is at https://developers.google.com/admin-sdk/directory/v1/guides/search-groups",
|
||||
// "location": "query",
|
||||
// "type": "string"
|
||||
// },
|
||||
|
@ -10079,7 +10079,7 @@ func (c *MobiledevicesListCall) Projection(projection string) *MobiledevicesList
|
|||
|
||||
// Query sets the optional parameter "query": Search string in the
|
||||
// format given at
|
||||
// http://support.google.com/a/bin/answer.py?hl=en&answer=1408863#search
|
||||
// http://support.google.com/a/bin/answer.py?answer=1408863#search
|
||||
func (c *MobiledevicesListCall) Query(query string) *MobiledevicesListCall {
|
||||
c.urlParams_.Set("query", query)
|
||||
return c
|
||||
|
@ -10255,7 +10255,7 @@ func (c *MobiledevicesListCall) Do(opts ...googleapi.CallOption) (*MobileDevices
|
|||
// "type": "string"
|
||||
// },
|
||||
// "query": {
|
||||
// "description": "Search string in the format given at http://support.google.com/a/bin/answer.py?hl=en\u0026answer=1408863#search",
|
||||
// "description": "Search string in the format given at http://support.google.com/a/bin/answer.py?answer=1408863#search",
|
||||
// "location": "query",
|
||||
// "type": "string"
|
||||
// },
|
||||
|
|
8
vendor/google.golang.org/api/admin/reports/v1/admin-api.json
generated
vendored
8
vendor/google.golang.org/api/admin/reports/v1/admin-api.json
generated
vendored
|
@ -18,7 +18,7 @@
|
|||
"description": "Fetches reports for the administrators of G Suite customers about the usage, collaboration, security, and risk for their users.",
|
||||
"discoveryVersion": "v1",
|
||||
"documentationLink": "https://developers.google.com/admin-sdk/reports/",
|
||||
"etag": "\"Zkyw9ACJZUvcYmlFaKGChzhmtnE/yidQnSpgj1IFF7QC_UWo1i1Etx0\"",
|
||||
"etag": "\"Zkyw9ACJZUvcYmlFaKGChzhmtnE/qLYAvJFGLfyQS5NN2Ycs-uWKdaw\"",
|
||||
"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"
|
||||
|
@ -95,7 +95,7 @@
|
|||
"applicationName": {
|
||||
"description": "Application name for which the events are to be retrieved.",
|
||||
"location": "path",
|
||||
"pattern": "(admin)|(calendar)|(drive)|(login)|(mobile)|(token)|(groups)|(saml)|(chat)|(gplus)|(rules)|(jamboard)",
|
||||
"pattern": "(admin)|(calendar)|(drive)|(login)|(mobile)|(token)|(groups)|(saml)|(chat)|(gplus)|(rules)|(jamboard)|(meet)",
|
||||
"required": true,
|
||||
"type": "string"
|
||||
},
|
||||
|
@ -174,7 +174,7 @@
|
|||
"applicationName": {
|
||||
"description": "Application name for which the events are to be retrieved.",
|
||||
"location": "path",
|
||||
"pattern": "(admin)|(calendar)|(drive)|(login)|(mobile)|(token)|(groups)|(saml)|(chat)|(gplus)|(rules)|(jamboard)",
|
||||
"pattern": "(admin)|(calendar)|(drive)|(login)|(mobile)|(token)|(groups)|(saml)|(chat)|(gplus)|(rules)|(jamboard)|(meet)",
|
||||
"required": true,
|
||||
"type": "string"
|
||||
},
|
||||
|
@ -443,7 +443,7 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
"revision": "20180430",
|
||||
"revision": "20180514",
|
||||
"rootUrl": "https://www.googleapis.com/",
|
||||
"schemas": {
|
||||
"Activities": {
|
||||
|
|
4
vendor/google.golang.org/api/admin/reports/v1/admin-gen.go
generated
vendored
4
vendor/google.golang.org/api/admin/reports/v1/admin-gen.go
generated
vendored
|
@ -862,7 +862,7 @@ func (c *ActivitiesListCall) Do(opts ...googleapi.CallOption) (*Activities, erro
|
|||
// "applicationName": {
|
||||
// "description": "Application name for which the events are to be retrieved.",
|
||||
// "location": "path",
|
||||
// "pattern": "(admin)|(calendar)|(drive)|(login)|(mobile)|(token)|(groups)|(saml)|(chat)|(gplus)|(rules)|(jamboard)",
|
||||
// "pattern": "(admin)|(calendar)|(drive)|(login)|(mobile)|(token)|(groups)|(saml)|(chat)|(gplus)|(rules)|(jamboard)|(meet)",
|
||||
// "required": true,
|
||||
// "type": "string"
|
||||
// },
|
||||
|
@ -1130,7 +1130,7 @@ func (c *ActivitiesWatchCall) Do(opts ...googleapi.CallOption) (*Channel, error)
|
|||
// "applicationName": {
|
||||
// "description": "Application name for which the events are to be retrieved.",
|
||||
// "location": "path",
|
||||
// "pattern": "(admin)|(calendar)|(drive)|(login)|(mobile)|(token)|(groups)|(saml)|(chat)|(gplus)|(rules)|(jamboard)",
|
||||
// "pattern": "(admin)|(calendar)|(drive)|(login)|(mobile)|(token)|(groups)|(saml)|(chat)|(gplus)|(rules)|(jamboard)|(meet)",
|
||||
// "required": true,
|
||||
// "type": "string"
|
||||
// },
|
||||
|
|
77
vendor/google.golang.org/api/analytics/v3/analytics-api.json
generated
vendored
77
vendor/google.golang.org/api/analytics/v3/analytics-api.json
generated
vendored
|
@ -19,6 +19,9 @@
|
|||
},
|
||||
"https://www.googleapis.com/auth/analytics.readonly": {
|
||||
"description": "View your Google Analytics data"
|
||||
},
|
||||
"https://www.googleapis.com/auth/analytics.user.deletion": {
|
||||
"description": "Manage Google Analytics user deletion requests"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -29,7 +32,7 @@
|
|||
"description": "Views and manages your Google Analytics data.",
|
||||
"discoveryVersion": "v1",
|
||||
"documentationLink": "https://developers.google.com/analytics/",
|
||||
"etag": "\"Zkyw9ACJZUvcYmlFaKGChzhmtnE/6p-mtXtqM7RLWG_i-dRwl-jH568\"",
|
||||
"etag": "\"Zkyw9ACJZUvcYmlFaKGChzhmtnE/AHLSBPz3If26VBakaAZdjeRmPvY\"",
|
||||
"icons": {
|
||||
"x16": "https://www.google.com/images/icons/product/analytics-16.png",
|
||||
"x32": "https://www.google.com/images/icons/product/analytics-32.png"
|
||||
|
@ -3757,9 +3760,32 @@
|
|||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"userDeletion": {
|
||||
"resources": {
|
||||
"userDeletionRequest": {
|
||||
"methods": {
|
||||
"upsert": {
|
||||
"description": "Insert or update a user deletion requests.",
|
||||
"httpMethod": "POST",
|
||||
"id": "analytics.userDeletion.userDeletionRequest.upsert",
|
||||
"path": "userDeletion/userDeletionRequests:upsert",
|
||||
"request": {
|
||||
"$ref": "UserDeletionRequest"
|
||||
},
|
||||
"response": {
|
||||
"$ref": "UserDeletionRequest"
|
||||
},
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/analytics.user.deletion"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"revision": "20180417",
|
||||
"revision": "20180514",
|
||||
"rootUrl": "https://www.googleapis.com/",
|
||||
"schemas": {
|
||||
"Account": {
|
||||
|
@ -7092,6 +7118,45 @@
|
|||
},
|
||||
"type": "object"
|
||||
},
|
||||
"UserDeletionRequest": {
|
||||
"description": "JSON template for a user deletion request resource.",
|
||||
"id": "UserDeletionRequest",
|
||||
"properties": {
|
||||
"deletionRequestTime": {
|
||||
"description": "This marks the point in time for which all user data before should be deleted",
|
||||
"format": "date-time",
|
||||
"type": "string"
|
||||
},
|
||||
"firebaseProjectId": {
|
||||
"description": "Firebase Project Id",
|
||||
"type": "string"
|
||||
},
|
||||
"id": {
|
||||
"description": "User ID.",
|
||||
"properties": {
|
||||
"type": {
|
||||
"description": "Type of user",
|
||||
"type": "string"
|
||||
},
|
||||
"userId": {
|
||||
"description": "The User's id",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"kind": {
|
||||
"default": "analytics#userDeletionRequest",
|
||||
"description": "Value is \"analytics#userDeletionRequest\".",
|
||||
"type": "string"
|
||||
},
|
||||
"webPropertyId": {
|
||||
"description": "Web property ID of the form UA-XXXXX-YY.",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"UserRef": {
|
||||
"description": "JSON template for a user reference.",
|
||||
"id": "UserRef",
|
||||
|
@ -7261,6 +7326,14 @@
|
|||
"readOnly": true,
|
||||
"type": "string"
|
||||
},
|
||||
"dataRetentionResetOnNewActivity": {
|
||||
"description": "Set to true to reset the retention period of the user identifier with each new event from that user (thus setting the expiration date to current time plus retention period).\nSet to false to delete data associated with the user identifer automatically after the rentention period.\nThis property cannot be set on insert.",
|
||||
"type": "boolean"
|
||||
},
|
||||
"dataRetentionTtl": {
|
||||
"description": "The length of time for which user and event data is retained.\nThis property cannot be set on insert.",
|
||||
"type": "string"
|
||||
},
|
||||
"defaultProfileId": {
|
||||
"description": "Default view (profile) ID.",
|
||||
"format": "int64",
|
||||
|
|
236
vendor/google.golang.org/api/analytics/v3/analytics-gen.go
generated
vendored
236
vendor/google.golang.org/api/analytics/v3/analytics-gen.go
generated
vendored
|
@ -65,6 +65,9 @@ const (
|
|||
|
||||
// View your Google Analytics data
|
||||
AnalyticsReadonlyScope = "https://www.googleapis.com/auth/analytics.readonly"
|
||||
|
||||
// Manage Google Analytics user deletion requests
|
||||
AnalyticsUserDeletionScope = "https://www.googleapis.com/auth/analytics.user.deletion"
|
||||
)
|
||||
|
||||
func New(client *http.Client) (*Service, error) {
|
||||
|
@ -76,6 +79,7 @@ func New(client *http.Client) (*Service, error) {
|
|||
s.Management = NewManagementService(s)
|
||||
s.Metadata = NewMetadataService(s)
|
||||
s.Provisioning = NewProvisioningService(s)
|
||||
s.UserDeletion = NewUserDeletionService(s)
|
||||
return s, nil
|
||||
}
|
||||
|
||||
|
@ -91,6 +95,8 @@ type Service struct {
|
|||
Metadata *MetadataService
|
||||
|
||||
Provisioning *ProvisioningService
|
||||
|
||||
UserDeletion *UserDeletionService
|
||||
}
|
||||
|
||||
func (s *Service) userAgent() string {
|
||||
|
@ -412,6 +418,27 @@ type ProvisioningService struct {
|
|||
s *Service
|
||||
}
|
||||
|
||||
func NewUserDeletionService(s *Service) *UserDeletionService {
|
||||
rs := &UserDeletionService{s: s}
|
||||
rs.UserDeletionRequest = NewUserDeletionUserDeletionRequestService(s)
|
||||
return rs
|
||||
}
|
||||
|
||||
type UserDeletionService struct {
|
||||
s *Service
|
||||
|
||||
UserDeletionRequest *UserDeletionUserDeletionRequestService
|
||||
}
|
||||
|
||||
func NewUserDeletionUserDeletionRequestService(s *Service) *UserDeletionUserDeletionRequestService {
|
||||
rs := &UserDeletionUserDeletionRequestService{s: s}
|
||||
return rs
|
||||
}
|
||||
|
||||
type UserDeletionUserDeletionRequestService struct {
|
||||
s *Service
|
||||
}
|
||||
|
||||
// Account: JSON template for Analytics account entry.
|
||||
type Account struct {
|
||||
// ChildLink: Child link for an account entry. Points to the list of web
|
||||
|
@ -5326,6 +5353,84 @@ func (s *Uploads) MarshalJSON() ([]byte, error) {
|
|||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
// UserDeletionRequest: JSON template for a user deletion request
|
||||
// resource.
|
||||
type UserDeletionRequest struct {
|
||||
// DeletionRequestTime: This marks the point in time for which all user
|
||||
// data before should be deleted
|
||||
DeletionRequestTime string `json:"deletionRequestTime,omitempty"`
|
||||
|
||||
// FirebaseProjectId: Firebase Project Id
|
||||
FirebaseProjectId string `json:"firebaseProjectId,omitempty"`
|
||||
|
||||
// Id: User ID.
|
||||
Id *UserDeletionRequestId `json:"id,omitempty"`
|
||||
|
||||
// Kind: Value is "analytics#userDeletionRequest".
|
||||
Kind string `json:"kind,omitempty"`
|
||||
|
||||
// WebPropertyId: Web property ID of the form UA-XXXXX-YY.
|
||||
WebPropertyId string `json:"webPropertyId,omitempty"`
|
||||
|
||||
// ServerResponse contains the HTTP response code and headers from the
|
||||
// server.
|
||||
googleapi.ServerResponse `json:"-"`
|
||||
|
||||
// ForceSendFields is a list of field names (e.g. "DeletionRequestTime")
|
||||
// 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. "DeletionRequestTime") 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 *UserDeletionRequest) MarshalJSON() ([]byte, error) {
|
||||
type NoMethod UserDeletionRequest
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
// UserDeletionRequestId: User ID.
|
||||
type UserDeletionRequestId struct {
|
||||
// Type: Type of user
|
||||
Type string `json:"type,omitempty"`
|
||||
|
||||
// UserId: The User's id
|
||||
UserId string `json:"userId,omitempty"`
|
||||
|
||||
// ForceSendFields is a list of field names (e.g. "Type") 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. "Type") 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 *UserDeletionRequestId) MarshalJSON() ([]byte, error) {
|
||||
type NoMethod UserDeletionRequestId
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
// UserRef: JSON template for a user reference.
|
||||
type UserRef struct {
|
||||
// Email: Email ID of this user.
|
||||
|
@ -5526,6 +5631,20 @@ type Webproperty struct {
|
|||
// Created: Time this web property was created.
|
||||
Created string `json:"created,omitempty"`
|
||||
|
||||
// DataRetentionResetOnNewActivity: Set to true to reset the retention
|
||||
// period of the user identifier with each new event from that user
|
||||
// (thus setting the expiration date to current time plus retention
|
||||
// period).
|
||||
// Set to false to delete data associated with the user identifer
|
||||
// automatically after the rentention period.
|
||||
// This property cannot be set on insert.
|
||||
DataRetentionResetOnNewActivity bool `json:"dataRetentionResetOnNewActivity,omitempty"`
|
||||
|
||||
// DataRetentionTtl: The length of time for which user and event data is
|
||||
// retained.
|
||||
// This property cannot be set on insert.
|
||||
DataRetentionTtl string `json:"dataRetentionTtl,omitempty"`
|
||||
|
||||
// DefaultProfileId: Default view (profile) ID.
|
||||
DefaultProfileId int64 `json:"defaultProfileId,omitempty,string"`
|
||||
|
||||
|
@ -19329,3 +19448,120 @@ func (c *ProvisioningCreateAccountTreeCall) Do(opts ...googleapi.CallOption) (*A
|
|||
// }
|
||||
|
||||
}
|
||||
|
||||
// method id "analytics.userDeletion.userDeletionRequest.upsert":
|
||||
|
||||
type UserDeletionUserDeletionRequestUpsertCall struct {
|
||||
s *Service
|
||||
userdeletionrequest *UserDeletionRequest
|
||||
urlParams_ gensupport.URLParams
|
||||
ctx_ context.Context
|
||||
header_ http.Header
|
||||
}
|
||||
|
||||
// Upsert: Insert or update a user deletion requests.
|
||||
func (r *UserDeletionUserDeletionRequestService) Upsert(userdeletionrequest *UserDeletionRequest) *UserDeletionUserDeletionRequestUpsertCall {
|
||||
c := &UserDeletionUserDeletionRequestUpsertCall{s: r.s, urlParams_: make(gensupport.URLParams)}
|
||||
c.userdeletionrequest = userdeletionrequest
|
||||
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 *UserDeletionUserDeletionRequestUpsertCall) Fields(s ...googleapi.Field) *UserDeletionUserDeletionRequestUpsertCall {
|
||||
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 *UserDeletionUserDeletionRequestUpsertCall) Context(ctx context.Context) *UserDeletionUserDeletionRequestUpsertCall {
|
||||
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 *UserDeletionUserDeletionRequestUpsertCall) Header() http.Header {
|
||||
if c.header_ == nil {
|
||||
c.header_ = make(http.Header)
|
||||
}
|
||||
return c.header_
|
||||
}
|
||||
|
||||
func (c *UserDeletionUserDeletionRequestUpsertCall) 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.userdeletionrequest)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
reqHeaders.Set("Content-Type", "application/json")
|
||||
c.urlParams_.Set("alt", alt)
|
||||
urls := googleapi.ResolveRelative(c.s.BasePath, "userDeletion/userDeletionRequests:upsert")
|
||||
urls += "?" + c.urlParams_.Encode()
|
||||
req, _ := http.NewRequest("POST", urls, body)
|
||||
req.Header = reqHeaders
|
||||
return gensupport.SendRequest(c.ctx_, c.s.client, req)
|
||||
}
|
||||
|
||||
// Do executes the "analytics.userDeletion.userDeletionRequest.upsert" call.
|
||||
// Exactly one of *UserDeletionRequest or error will be non-nil. Any
|
||||
// non-2xx status code is an error. Response headers are in either
|
||||
// *UserDeletionRequest.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 *UserDeletionUserDeletionRequestUpsertCall) Do(opts ...googleapi.CallOption) (*UserDeletionRequest, 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 := &UserDeletionRequest{
|
||||
ServerResponse: googleapi.ServerResponse{
|
||||
Header: res.Header,
|
||||
HTTPStatusCode: res.StatusCode,
|
||||
},
|
||||
}
|
||||
target := &ret
|
||||
if err := gensupport.DecodeResponse(target, res); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return ret, nil
|
||||
// {
|
||||
// "description": "Insert or update a user deletion requests.",
|
||||
// "httpMethod": "POST",
|
||||
// "id": "analytics.userDeletion.userDeletionRequest.upsert",
|
||||
// "path": "userDeletion/userDeletionRequests:upsert",
|
||||
// "request": {
|
||||
// "$ref": "UserDeletionRequest"
|
||||
// },
|
||||
// "response": {
|
||||
// "$ref": "UserDeletionRequest"
|
||||
// },
|
||||
// "scopes": [
|
||||
// "https://www.googleapis.com/auth/analytics.user.deletion"
|
||||
// ]
|
||||
// }
|
||||
|
||||
}
|
||||
|
|
6
vendor/google.golang.org/api/analyticsreporting/v4/analyticsreporting-api.json
generated
vendored
6
vendor/google.golang.org/api/analyticsreporting/v4/analyticsreporting-api.json
generated
vendored
|
@ -141,7 +141,7 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
"revision": "20180124",
|
||||
"revision": "20180515",
|
||||
"rootUrl": "https://analyticsreporting.googleapis.com/",
|
||||
"schemas": {
|
||||
"Cohort": {
|
||||
|
@ -862,7 +862,7 @@
|
|||
"type": "array"
|
||||
},
|
||||
"pageSize": {
|
||||
"description": "Page size is for paging and specifies the maximum number of returned rows.\nPage size should be \u003e= 0. A query returns the default of 1,000 rows.\nThe Analytics Core Reporting API returns a maximum of 10,000 rows per\nrequest, no matter how many you ask for. It can also return fewer rows\nthan requested, if there aren't as many dimension segments as you expect.\nFor instance, there are fewer than 300 possible values for `ga:country`,\nso when segmenting only by country, you can't get more than 300 rows,\neven if you set `pageSize` to a higher value.",
|
||||
"description": "Page size is for paging and specifies the maximum number of returned rows.\nPage size should be \u003e= 0. A query returns the default of 1,000 rows.\nThe Analytics Core Reporting API returns a maximum of 100,000 rows per\nrequest, no matter how many you ask for. It can also return fewer rows\nthan requested, if there aren't as many dimension segments as you expect.\nFor instance, there are fewer than 300 possible values for `ga:country`,\nso when segmenting only by country, you can't get more than 300 rows,\neven if you set `pageSize` to a higher value.",
|
||||
"format": "int32",
|
||||
"type": "integer"
|
||||
},
|
||||
|
@ -1187,7 +1187,7 @@
|
|||
}
|
||||
},
|
||||
"servicePath": "",
|
||||
"title": "Google Analytics Reporting API",
|
||||
"title": "Analytics Reporting API",
|
||||
"version": "v4",
|
||||
"version_module": true
|
||||
}
|
4
vendor/google.golang.org/api/analyticsreporting/v4/analyticsreporting-gen.go
generated
vendored
4
vendor/google.golang.org/api/analyticsreporting/v4/analyticsreporting-gen.go
generated
vendored
|
@ -1,4 +1,4 @@
|
|||
// Package analyticsreporting provides access to the Google Analytics Reporting API.
|
||||
// Package analyticsreporting provides access to the Analytics Reporting API.
|
||||
//
|
||||
// See https://developers.google.com/analytics/devguides/reporting/core/v4/
|
||||
//
|
||||
|
@ -1461,7 +1461,7 @@ type ReportRequest struct {
|
|||
// returned rows.
|
||||
// Page size should be >= 0. A query returns the default of 1,000
|
||||
// rows.
|
||||
// The Analytics Core Reporting API returns a maximum of 10,000 rows
|
||||
// The Analytics Core Reporting API returns a maximum of 100,000 rows
|
||||
// per
|
||||
// request, no matter how many you ask for. It can also return fewer
|
||||
// rows
|
||||
|
|
|
@ -50,11 +50,6 @@
|
|||
"location": "query",
|
||||
"type": "string"
|
||||
},
|
||||
"bearer_token": {
|
||||
"description": "OAuth bearer token.",
|
||||
"location": "query",
|
||||
"type": "string"
|
||||
},
|
||||
"callback": {
|
||||
"description": "JSONP",
|
||||
"location": "query",
|
||||
|
@ -75,12 +70,6 @@
|
|||
"location": "query",
|
||||
"type": "string"
|
||||
},
|
||||
"pp": {
|
||||
"default": "true",
|
||||
"description": "Pretty-print response.",
|
||||
"location": "query",
|
||||
"type": "boolean"
|
||||
},
|
||||
"prettyPrint": {
|
||||
"default": "true",
|
||||
"description": "Returns response with indentations and line breaks.",
|
||||
|
@ -747,7 +736,7 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
"revision": "20180413",
|
||||
"revision": "20180604",
|
||||
"rootUrl": "https://androiddeviceprovisioning.googleapis.com/",
|
||||
"schemas": {
|
||||
"ClaimDeviceRequest": {
|
||||
|
@ -838,6 +827,22 @@
|
|||
"type": "string"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"termsStatus": {
|
||||
"description": "Output only. Whether any user from the company has accepted the latest\nTerms of Service (ToS). See\nTermsStatus.",
|
||||
"enum": [
|
||||
"TERMS_STATUS_UNSPECIFIED",
|
||||
"TERMS_STATUS_NOT_ACCEPTED",
|
||||
"TERMS_STATUS_ACCEPTED",
|
||||
"TERMS_STATUS_STALE"
|
||||
],
|
||||
"enumDescriptions": [
|
||||
"Default value. This value should never be set if the enum is present.",
|
||||
"None of the company's users have accepted the ToS.",
|
||||
"One (or more) of the company's users has accepted the ToS.",
|
||||
"None of the company's users has accepted the current ToS but at least one\nuser accepted a previous ToS."
|
||||
],
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
|
|
|
@ -307,6 +307,23 @@ type Company struct {
|
|||
// delete, and edit your organization's portal users.
|
||||
OwnerEmails []string `json:"ownerEmails,omitempty"`
|
||||
|
||||
// TermsStatus: Output only. Whether any user from the company has
|
||||
// accepted the latest
|
||||
// Terms of Service (ToS). See
|
||||
// TermsStatus.
|
||||
//
|
||||
// Possible values:
|
||||
// "TERMS_STATUS_UNSPECIFIED" - Default value. This value should never
|
||||
// be set if the enum is present.
|
||||
// "TERMS_STATUS_NOT_ACCEPTED" - None of the company's users have
|
||||
// accepted the ToS.
|
||||
// "TERMS_STATUS_ACCEPTED" - One (or more) of the company's users has
|
||||
// accepted the ToS.
|
||||
// "TERMS_STATUS_STALE" - None of the company's users has accepted the
|
||||
// current ToS but at least one
|
||||
// user accepted a previous ToS.
|
||||
TermsStatus string `json:"termsStatus,omitempty"`
|
||||
|
||||
// ServerResponse contains the HTTP response code and headers from the
|
||||
// server.
|
||||
googleapi.ServerResponse `json:"-"`
|
||||
|
|
6
vendor/google.golang.org/api/androidenterprise/v1/androidenterprise-api.json
generated
vendored
6
vendor/google.golang.org/api/androidenterprise/v1/androidenterprise-api.json
generated
vendored
|
@ -15,7 +15,7 @@
|
|||
"description": "Manages the deployment of apps to Android for Work users.",
|
||||
"discoveryVersion": "v1",
|
||||
"documentationLink": "https://developers.google.com/android/work/play/emm-api",
|
||||
"etag": "\"Zkyw9ACJZUvcYmlFaKGChzhmtnE/7F-eJBLaASTTYJaC0mgfyno2lxc\"",
|
||||
"etag": "\"Zkyw9ACJZUvcYmlFaKGChzhmtnE/AFFEHUmDMrEYdaOxnZWUFow58ns\"",
|
||||
"icons": {
|
||||
"x16": "https://www.google.com/images/icons/product/android-16.png",
|
||||
"x32": "https://www.google.com/images/icons/product/android-32.png"
|
||||
|
@ -2804,7 +2804,7 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
"revision": "20180425",
|
||||
"revision": "20180502",
|
||||
"rootUrl": "https://www.googleapis.com/",
|
||||
"schemas": {
|
||||
"Administrator": {
|
||||
|
@ -3776,7 +3776,7 @@
|
|||
"description": "The maintenance window defining when apps running in the foreground should be updated."
|
||||
},
|
||||
"productAvailabilityPolicy": {
|
||||
"description": "The availability granted to the device for the specified products. \"all\" gives the device access to all products, regardless of approval status. \"allApproved\" entitles the device to access all products that are approved for the enterprise. \"allApproved\" and \"all\" do not enable automatic visibility of \"alpha\" or \"beta\" tracks. \"whitelist\" grants the device access the products specified in productPolicy[]. Only products that are approved or products that were previously approved (products with revoked approval) by the enterprise can be whitelisted. If no value is provided, the availability set at the user level is applied by default.",
|
||||
"description": "The availability granted to the device for the specified products. \"all\" gives the device access to all products, regardless of approval status. \"all\" does not enable automatic visibility of \"alpha\" or \"beta\" tracks. \"whitelist\" grants the device access the products specified in productPolicy[]. Only products that are approved or products that were previously approved (products with revoked approval) by the enterprise can be whitelisted. If no value is provided, the availability set at the user level is applied by default.",
|
||||
"type": "string"
|
||||
},
|
||||
"productPolicy": {
|
||||
|
|
16
vendor/google.golang.org/api/androidenterprise/v1/androidenterprise-gen.go
generated
vendored
16
vendor/google.golang.org/api/androidenterprise/v1/androidenterprise-gen.go
generated
vendored
|
@ -2142,15 +2142,13 @@ type Policy struct {
|
|||
|
||||
// ProductAvailabilityPolicy: The availability granted to the device for
|
||||
// the specified products. "all" gives the device access to all
|
||||
// products, regardless of approval status. "allApproved" entitles the
|
||||
// device to access all products that are approved for the enterprise.
|
||||
// "allApproved" and "all" do not enable automatic visibility of "alpha"
|
||||
// or "beta" tracks. "whitelist" grants the device access the products
|
||||
// specified in productPolicy[]. Only products that are approved or
|
||||
// products that were previously approved (products with revoked
|
||||
// approval) by the enterprise can be whitelisted. If no value is
|
||||
// provided, the availability set at the user level is applied by
|
||||
// default.
|
||||
// products, regardless of approval status. "all" does not enable
|
||||
// automatic visibility of "alpha" or "beta" tracks. "whitelist" grants
|
||||
// the device access the products specified in productPolicy[]. Only
|
||||
// products that are approved or products that were previously approved
|
||||
// (products with revoked approval) by the enterprise can be
|
||||
// whitelisted. If no value is provided, the availability set at the
|
||||
// user level is applied by default.
|
||||
ProductAvailabilityPolicy string `json:"productAvailabilityPolicy,omitempty"`
|
||||
|
||||
// ProductPolicy: The list of product policies.
|
||||
|
|
189
vendor/google.golang.org/api/androidmanagement/v1/androidmanagement-api.json
generated
vendored
189
vendor/google.golang.org/api/androidmanagement/v1/androidmanagement-api.json
generated
vendored
|
@ -60,11 +60,6 @@
|
|||
"location": "query",
|
||||
"type": "string"
|
||||
},
|
||||
"bearer_token": {
|
||||
"description": "OAuth bearer token.",
|
||||
"location": "query",
|
||||
"type": "string"
|
||||
},
|
||||
"callback": {
|
||||
"description": "JSONP",
|
||||
"location": "query",
|
||||
|
@ -85,12 +80,6 @@
|
|||
"location": "query",
|
||||
"type": "string"
|
||||
},
|
||||
"pp": {
|
||||
"default": "true",
|
||||
"description": "Pretty-print response.",
|
||||
"location": "query",
|
||||
"type": "boolean"
|
||||
},
|
||||
"prettyPrint": {
|
||||
"default": "true",
|
||||
"description": "Returns response with indentations and line breaks.",
|
||||
|
@ -766,7 +755,7 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
"revision": "20180423",
|
||||
"revision": "20180604",
|
||||
"rootUrl": "https://androidmanagement.googleapis.com/",
|
||||
"schemas": {
|
||||
"AlwaysOnVpnPackage": {
|
||||
|
@ -825,6 +814,44 @@
|
|||
},
|
||||
"type": "object"
|
||||
},
|
||||
"ApplicationEvent": {
|
||||
"description": "An app-related event.",
|
||||
"id": "ApplicationEvent",
|
||||
"properties": {
|
||||
"createTime": {
|
||||
"description": "The creation time of the event.",
|
||||
"format": "google-datetime",
|
||||
"type": "string"
|
||||
},
|
||||
"eventType": {
|
||||
"description": "App event type.",
|
||||
"enum": [
|
||||
"APPLICATION_EVENT_TYPE_UNSPECIFIED",
|
||||
"INSTALLED",
|
||||
"CHANGED",
|
||||
"DATA_CLEARED",
|
||||
"REMOVED",
|
||||
"REPLACED",
|
||||
"RESTARTED",
|
||||
"PINNED",
|
||||
"UNPINNED"
|
||||
],
|
||||
"enumDescriptions": [
|
||||
"This value is disallowed.",
|
||||
"The app was installed.",
|
||||
"The app was changed, for example, a component was enabled or disabled.",
|
||||
"The app data was cleared.",
|
||||
"The app was removed.",
|
||||
"A new version of the app has been installed, replacing the old version.",
|
||||
"The app was restarted.",
|
||||
"The app was pinned to the foreground.",
|
||||
"The app was unpinned."
|
||||
],
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"ApplicationPermission": {
|
||||
"description": "A permission required by the app.",
|
||||
"id": "ApplicationPermission",
|
||||
|
@ -889,17 +916,23 @@
|
|||
},
|
||||
"type": "array"
|
||||
},
|
||||
"disabled": {
|
||||
"description": "Whether the app is disabled. When disabled, the app data is still preserved.",
|
||||
"type": "boolean"
|
||||
},
|
||||
"installType": {
|
||||
"description": "The type of installation to perform.",
|
||||
"enum": [
|
||||
"INSTALL_TYPE_UNSPECIFIED",
|
||||
"PREINSTALLED",
|
||||
"FORCE_INSTALLED"
|
||||
"FORCE_INSTALLED",
|
||||
"AVAILABLE"
|
||||
],
|
||||
"enumDescriptions": [
|
||||
"No automatic installation is performed. Any other app policies will be applied if the user installs the app.",
|
||||
"Unspecified. Defaults to AVAILABLE.",
|
||||
"The app is automatically installed and can be removed by the user.",
|
||||
"The app is automatically installed and can't be removed by the user."
|
||||
"The app is automatically installed and can't be removed by the user.",
|
||||
"The app is available to install."
|
||||
],
|
||||
"type": "string"
|
||||
},
|
||||
|
@ -934,6 +967,102 @@
|
|||
},
|
||||
"type": "object"
|
||||
},
|
||||
"ApplicationReport": {
|
||||
"description": "Information reported about an installed app.",
|
||||
"id": "ApplicationReport",
|
||||
"properties": {
|
||||
"applicationSource": {
|
||||
"description": "The source of the package.",
|
||||
"enum": [
|
||||
"APPLICATION_SOURCE_UNSPECIFIED",
|
||||
"SYSTEM_APP_FACTORY_VERSION",
|
||||
"SYSTEM_APP_UPDATED_VERSION",
|
||||
"INSTALLED_FROM_PLAY_STORE"
|
||||
],
|
||||
"enumDescriptions": [
|
||||
"The app was sideloaded from an unspecified source.",
|
||||
"This is a system app from the device's factory image.",
|
||||
"This is an updated system app.",
|
||||
"The app was installed from the Google Play Store."
|
||||
],
|
||||
"type": "string"
|
||||
},
|
||||
"displayName": {
|
||||
"description": "The display name of the app.",
|
||||
"type": "string"
|
||||
},
|
||||
"events": {
|
||||
"description": "List of app events. The most recent 20 events are stored in the list.",
|
||||
"items": {
|
||||
"$ref": "ApplicationEvent"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"installerPackageName": {
|
||||
"description": "The package name of the app that installed this app.",
|
||||
"type": "string"
|
||||
},
|
||||
"packageName": {
|
||||
"description": "Package name of the app.",
|
||||
"type": "string"
|
||||
},
|
||||
"packageSha256Hash": {
|
||||
"description": "The SHA-256 hash of the app's APK file, which can be used to verify the app hasn't been modified. Each byte of the hash value is represented as a two-digit hexadecimal number.",
|
||||
"type": "string"
|
||||
},
|
||||
"signingKeyCertFingerprints": {
|
||||
"description": "The SHA-1 hash of each android.content.pm.Signature (https://developer.android.com/reference/android/content/pm/Signature.html) associated with the app package. Each byte of each hash value is represented as a two-digit hexadecimal number.",
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"state": {
|
||||
"description": "Application state.",
|
||||
"enum": [
|
||||
"INSTALLED",
|
||||
"REMOVED"
|
||||
],
|
||||
"enumDescriptions": [
|
||||
"App is installed on the device",
|
||||
"App was removed from the device"
|
||||
],
|
||||
"type": "string"
|
||||
},
|
||||
"versionCode": {
|
||||
"description": "The app version code, which can be used to determine whether one version is more recent than another.",
|
||||
"format": "int32",
|
||||
"type": "integer"
|
||||
},
|
||||
"versionName": {
|
||||
"description": "The app version as displayed to the user.",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"ChoosePrivateKeyRule": {
|
||||
"description": "A rule for automatically choosing a private key and certificate to authenticate the device to a server.",
|
||||
"id": "ChoosePrivateKeyRule",
|
||||
"properties": {
|
||||
"packageNames": {
|
||||
"description": "The package names for which outgoing requests are subject to this rule. If no package names are specified, then the rule applies to all packages. For each package name listed, the rule applies to that package and all other packages that shared the same Android UID. The SHA256 hash of the signing key signatures of each package_name will be verified against those provided by Play",
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"privateKeyAlias": {
|
||||
"description": "The alias of the private key to be used.",
|
||||
"type": "string"
|
||||
},
|
||||
"urlPattern": {
|
||||
"description": "The URL pattern to match against the URL of the outgoing request. The pattern may contain asterisk (*) wildcards. Any URL is matched if unspecified.",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"Command": {
|
||||
"description": "A command.",
|
||||
"id": "Command",
|
||||
|
@ -1042,6 +1171,13 @@
|
|||
"format": "int32",
|
||||
"type": "integer"
|
||||
},
|
||||
"applicationReports": {
|
||||
"description": "Reports for apps installed on the device. This information is only available when application_reports_enabled is true in the device's policy.",
|
||||
"items": {
|
||||
"$ref": "ApplicationReport"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"appliedPolicyName": {
|
||||
"description": "The name of the policy currently applied to the device.",
|
||||
"type": "string"
|
||||
|
@ -1109,7 +1245,7 @@
|
|||
"type": "array"
|
||||
},
|
||||
"lastPolicyComplianceReportTime": {
|
||||
"description": "The last time the device sent a policy compliance report.",
|
||||
"description": "The last time the device sent a policy compliance report. Important: This field is deprecated. The timestamp will be on last_status_report_time field, and last_status_report_time will be used for both status report and compliance report.",
|
||||
"format": "google-datetime",
|
||||
"type": "string"
|
||||
},
|
||||
|
@ -1363,7 +1499,7 @@
|
|||
"enumDescriptions": [
|
||||
"This value is ignored.",
|
||||
"A notification sent when a device enrolls.",
|
||||
"A notification sent when a device issues a policy compliance report.",
|
||||
"A notification sent when a device issues a policy compliance report. Important: This enum value is deprecated. The notification will be sent as STATUS_REPORT.",
|
||||
"A notification sent when a device issues a status report.",
|
||||
"A notification sent when a device command has completed."
|
||||
],
|
||||
|
@ -2050,7 +2186,7 @@
|
|||
"id": "PermissionGrant",
|
||||
"properties": {
|
||||
"permission": {
|
||||
"description": "The android permission, e.g. android.permission.READ_CALENDAR.",
|
||||
"description": "The android permission or group, e.g. android.permission.READ_CALENDAR or android.permission_group.CALENDAR.",
|
||||
"type": "string"
|
||||
},
|
||||
"policy": {
|
||||
|
@ -2190,6 +2326,13 @@
|
|||
"description": "Whether configuring cell broadcast is disabled.",
|
||||
"type": "boolean"
|
||||
},
|
||||
"choosePrivateKeyRules": {
|
||||
"description": "Rules for automatically choosing a private key and certificate to authenticate the device to a server. The rules are ordered by increasing precedence, so if an outgoing request matches more than one rule, the last rule defines which private key to use.",
|
||||
"items": {
|
||||
"$ref": "ChoosePrivateKeyRule"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"complianceRules": {
|
||||
"description": "Rules declaring which mitigating actions to take when a device is not compliant with its policy. When the conditions for multiple rules are satisfied, all of the mitigating actions for the rules are taken. There is a maximum limit of 100 rules.",
|
||||
"items": {
|
||||
|
@ -2391,6 +2534,10 @@
|
|||
},
|
||||
"type": "array"
|
||||
},
|
||||
"privateKeySelectionEnabled": {
|
||||
"description": "Allows showing UI on a device for a user to choose a private key alias if there are no matching rules in ChoosePrivateKeyRules. For devices below Android P, setting this may leave enterprise keys vulnerable.",
|
||||
"type": "boolean"
|
||||
},
|
||||
"recommendedGlobalProxy": {
|
||||
"$ref": "ProxyInfo",
|
||||
"description": "The network-independent global HTTP proxy. Typically proxies should be configured per-network in open_network_configuration. However for unusual configurations like general internal filtering a global HTTP proxy may be useful. If the proxy is not accessible, network access may break. The global proxy is only a recommendation and some apps may ignore it."
|
||||
|
@ -2479,7 +2626,7 @@
|
|||
"type": "boolean"
|
||||
},
|
||||
"usbMassStorageEnabled": {
|
||||
"description": "Allows admins to toggle whether USB storge is enabled or disabled on user's devices.",
|
||||
"description": "Whether USB storage is enabled.",
|
||||
"type": "boolean"
|
||||
},
|
||||
"version": {
|
||||
|
@ -2661,6 +2808,10 @@
|
|||
"description": "Settings controlling the behavior of status reports.",
|
||||
"id": "StatusReportingSettings",
|
||||
"properties": {
|
||||
"applicationReportsEnabled": {
|
||||
"description": "Whether app reports are enabled.",
|
||||
"type": "boolean"
|
||||
},
|
||||
"deviceSettingsEnabled": {
|
||||
"description": "Whether device settings reporting is enabled.",
|
||||
"type": "boolean"
|
||||
|
|
229
vendor/google.golang.org/api/androidmanagement/v1/androidmanagement-gen.go
generated
vendored
229
vendor/google.golang.org/api/androidmanagement/v1/androidmanagement-gen.go
generated
vendored
|
@ -277,6 +277,50 @@ func (s *Application) MarshalJSON() ([]byte, error) {
|
|||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
// ApplicationEvent: An app-related event.
|
||||
type ApplicationEvent struct {
|
||||
// CreateTime: The creation time of the event.
|
||||
CreateTime string `json:"createTime,omitempty"`
|
||||
|
||||
// EventType: App event type.
|
||||
//
|
||||
// Possible values:
|
||||
// "APPLICATION_EVENT_TYPE_UNSPECIFIED" - This value is disallowed.
|
||||
// "INSTALLED" - The app was installed.
|
||||
// "CHANGED" - The app was changed, for example, a component was
|
||||
// enabled or disabled.
|
||||
// "DATA_CLEARED" - The app data was cleared.
|
||||
// "REMOVED" - The app was removed.
|
||||
// "REPLACED" - A new version of the app has been installed, replacing
|
||||
// the old version.
|
||||
// "RESTARTED" - The app was restarted.
|
||||
// "PINNED" - The app was pinned to the foreground.
|
||||
// "UNPINNED" - The app was unpinned.
|
||||
EventType string `json:"eventType,omitempty"`
|
||||
|
||||
// ForceSendFields is a list of field names (e.g. "CreateTime") 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. "CreateTime") 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 *ApplicationEvent) MarshalJSON() ([]byte, error) {
|
||||
type NoMethod ApplicationEvent
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
// ApplicationPermission: A permission required by the app.
|
||||
type ApplicationPermission struct {
|
||||
// Description: A longer description of the permission, providing more
|
||||
|
@ -345,16 +389,19 @@ type ApplicationPolicy struct {
|
|||
// "ENABLE_SYSTEM_APP" - Grants access for enabling system apps.
|
||||
DelegatedScopes []string `json:"delegatedScopes,omitempty"`
|
||||
|
||||
// Disabled: Whether the app is disabled. When disabled, the app data is
|
||||
// still preserved.
|
||||
Disabled bool `json:"disabled,omitempty"`
|
||||
|
||||
// InstallType: The type of installation to perform.
|
||||
//
|
||||
// Possible values:
|
||||
// "INSTALL_TYPE_UNSPECIFIED" - No automatic installation is
|
||||
// performed. Any other app policies will be applied if the user
|
||||
// installs the app.
|
||||
// "INSTALL_TYPE_UNSPECIFIED" - Unspecified. Defaults to AVAILABLE.
|
||||
// "PREINSTALLED" - The app is automatically installed and can be
|
||||
// removed by the user.
|
||||
// "FORCE_INSTALLED" - The app is automatically installed and can't be
|
||||
// removed by the user.
|
||||
// "AVAILABLE" - The app is available to install.
|
||||
InstallType string `json:"installType,omitempty"`
|
||||
|
||||
// LockTaskAllowed: Whether the app is allowed to lock itself in
|
||||
|
@ -419,6 +466,126 @@ func (s *ApplicationPolicy) MarshalJSON() ([]byte, error) {
|
|||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
// ApplicationReport: Information reported about an installed app.
|
||||
type ApplicationReport struct {
|
||||
// ApplicationSource: The source of the package.
|
||||
//
|
||||
// Possible values:
|
||||
// "APPLICATION_SOURCE_UNSPECIFIED" - The app was sideloaded from an
|
||||
// unspecified source.
|
||||
// "SYSTEM_APP_FACTORY_VERSION" - This is a system app from the
|
||||
// device's factory image.
|
||||
// "SYSTEM_APP_UPDATED_VERSION" - This is an updated system app.
|
||||
// "INSTALLED_FROM_PLAY_STORE" - The app was installed from the Google
|
||||
// Play Store.
|
||||
ApplicationSource string `json:"applicationSource,omitempty"`
|
||||
|
||||
// DisplayName: The display name of the app.
|
||||
DisplayName string `json:"displayName,omitempty"`
|
||||
|
||||
// Events: List of app events. The most recent 20 events are stored in
|
||||
// the list.
|
||||
Events []*ApplicationEvent `json:"events,omitempty"`
|
||||
|
||||
// InstallerPackageName: The package name of the app that installed this
|
||||
// app.
|
||||
InstallerPackageName string `json:"installerPackageName,omitempty"`
|
||||
|
||||
// PackageName: Package name of the app.
|
||||
PackageName string `json:"packageName,omitempty"`
|
||||
|
||||
// PackageSha256Hash: The SHA-256 hash of the app's APK file, which can
|
||||
// be used to verify the app hasn't been modified. Each byte of the hash
|
||||
// value is represented as a two-digit hexadecimal number.
|
||||
PackageSha256Hash string `json:"packageSha256Hash,omitempty"`
|
||||
|
||||
// SigningKeyCertFingerprints: The SHA-1 hash of each
|
||||
// android.content.pm.Signature
|
||||
// (https://developer.android.com/reference/android/content/pm/Signature.
|
||||
// html) associated with the app package. Each byte of each hash value
|
||||
// is represented as a two-digit hexadecimal number.
|
||||
SigningKeyCertFingerprints []string `json:"signingKeyCertFingerprints,omitempty"`
|
||||
|
||||
// State: Application state.
|
||||
//
|
||||
// Possible values:
|
||||
// "INSTALLED" - App is installed on the device
|
||||
// "REMOVED" - App was removed from the device
|
||||
State string `json:"state,omitempty"`
|
||||
|
||||
// VersionCode: The app version code, which can be used to determine
|
||||
// whether one version is more recent than another.
|
||||
VersionCode int64 `json:"versionCode,omitempty"`
|
||||
|
||||
// VersionName: The app version as displayed to the user.
|
||||
VersionName string `json:"versionName,omitempty"`
|
||||
|
||||
// ForceSendFields is a list of field names (e.g. "ApplicationSource")
|
||||
// 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. "ApplicationSource") 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 *ApplicationReport) MarshalJSON() ([]byte, error) {
|
||||
type NoMethod ApplicationReport
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
// ChoosePrivateKeyRule: A rule for automatically choosing a private key
|
||||
// and certificate to authenticate the device to a server.
|
||||
type ChoosePrivateKeyRule struct {
|
||||
// PackageNames: The package names for which outgoing requests are
|
||||
// subject to this rule. If no package names are specified, then the
|
||||
// rule applies to all packages. For each package name listed, the rule
|
||||
// applies to that package and all other packages that shared the same
|
||||
// Android UID. The SHA256 hash of the signing key signatures of each
|
||||
// package_name will be verified against those provided by Play
|
||||
PackageNames []string `json:"packageNames,omitempty"`
|
||||
|
||||
// PrivateKeyAlias: The alias of the private key to be used.
|
||||
PrivateKeyAlias string `json:"privateKeyAlias,omitempty"`
|
||||
|
||||
// UrlPattern: The URL pattern to match against the URL of the outgoing
|
||||
// request. The pattern may contain asterisk (*) wildcards. Any URL is
|
||||
// matched if unspecified.
|
||||
UrlPattern string `json:"urlPattern,omitempty"`
|
||||
|
||||
// ForceSendFields is a list of field names (e.g. "PackageNames") 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. "PackageNames") 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 *ChoosePrivateKeyRule) MarshalJSON() ([]byte, error) {
|
||||
type NoMethod ChoosePrivateKeyRule
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
// Command: A command.
|
||||
type Command struct {
|
||||
// CreateTime: The timestamp at which the command was created. The
|
||||
|
@ -555,6 +722,11 @@ type Device struct {
|
|||
// the device.
|
||||
ApiLevel int64 `json:"apiLevel,omitempty"`
|
||||
|
||||
// ApplicationReports: Reports for apps installed on the device. This
|
||||
// information is only available when application_reports_enabled is
|
||||
// true in the device's policy.
|
||||
ApplicationReports []*ApplicationReport `json:"applicationReports,omitempty"`
|
||||
|
||||
// AppliedPolicyName: The name of the policy currently applied to the
|
||||
// device.
|
||||
AppliedPolicyName string `json:"appliedPolicyName,omitempty"`
|
||||
|
@ -611,7 +783,10 @@ type Device struct {
|
|||
HardwareStatusSamples []*HardwareStatus `json:"hardwareStatusSamples,omitempty"`
|
||||
|
||||
// LastPolicyComplianceReportTime: The last time the device sent a
|
||||
// policy compliance report.
|
||||
// policy compliance report. Important: This field is deprecated. The
|
||||
// timestamp will be on last_status_report_time field, and
|
||||
// last_status_report_time will be used for both status report and
|
||||
// compliance report.
|
||||
LastPolicyComplianceReportTime string `json:"lastPolicyComplianceReportTime,omitempty"`
|
||||
|
||||
// LastPolicySyncTime: The last time the device fetched its policy.
|
||||
|
@ -937,7 +1112,8 @@ type Enterprise struct {
|
|||
// "NOTIFICATION_TYPE_UNSPECIFIED" - This value is ignored.
|
||||
// "ENROLLMENT" - A notification sent when a device enrolls.
|
||||
// "COMPLIANCE_REPORT" - A notification sent when a device issues a
|
||||
// policy compliance report.
|
||||
// policy compliance report. Important: This enum value is deprecated.
|
||||
// The notification will be sent as STATUS_REPORT.
|
||||
// "STATUS_REPORT" - A notification sent when a device issues a status
|
||||
// report.
|
||||
// "COMMAND" - A notification sent when a device command has
|
||||
|
@ -1864,8 +2040,9 @@ func (s *PasswordRequirements) MarshalJSON() ([]byte, error) {
|
|||
// PermissionGrant: Configuration for an Android permission and its
|
||||
// grant state.
|
||||
type PermissionGrant struct {
|
||||
// Permission: The android permission, e.g.
|
||||
// android.permission.READ_CALENDAR.
|
||||
// Permission: The android permission or group, e.g.
|
||||
// android.permission.READ_CALENDAR or
|
||||
// android.permission_group.CALENDAR.
|
||||
Permission string `json:"permission,omitempty"`
|
||||
|
||||
// Policy: The policy for granting the permission.
|
||||
|
@ -2023,6 +2200,12 @@ type Policy struct {
|
|||
// disabled.
|
||||
CellBroadcastsConfigDisabled bool `json:"cellBroadcastsConfigDisabled,omitempty"`
|
||||
|
||||
// ChoosePrivateKeyRules: Rules for automatically choosing a private key
|
||||
// and certificate to authenticate the device to a server. The rules are
|
||||
// ordered by increasing precedence, so if an outgoing request matches
|
||||
// more than one rule, the last rule defines which private key to use.
|
||||
ChoosePrivateKeyRules []*ChoosePrivateKeyRule `json:"choosePrivateKeyRules,omitempty"`
|
||||
|
||||
// ComplianceRules: Rules declaring which mitigating actions to take
|
||||
// when a device is not compliant with its policy. When the conditions
|
||||
// for multiple rules are satisfied, all of the mitigating actions for
|
||||
|
@ -2203,6 +2386,12 @@ type Policy struct {
|
|||
// PersistentPreferredActivities: Default intent handler activities.
|
||||
PersistentPreferredActivities []*PersistentPreferredActivity `json:"persistentPreferredActivities,omitempty"`
|
||||
|
||||
// PrivateKeySelectionEnabled: Allows showing UI on a device for a user
|
||||
// to choose a private key alias if there are no matching rules in
|
||||
// ChoosePrivateKeyRules. For devices below Android P, setting this may
|
||||
// leave enterprise keys vulnerable.
|
||||
PrivateKeySelectionEnabled bool `json:"privateKeySelectionEnabled,omitempty"`
|
||||
|
||||
// RecommendedGlobalProxy: The network-independent global HTTP proxy.
|
||||
// Typically proxies should be configured per-network in
|
||||
// open_network_configuration. However for unusual configurations like
|
||||
|
@ -2284,8 +2473,7 @@ type Policy struct {
|
|||
// disabled.
|
||||
UsbFileTransferDisabled bool `json:"usbFileTransferDisabled,omitempty"`
|
||||
|
||||
// UsbMassStorageEnabled: Allows admins to toggle whether USB storge is
|
||||
// enabled or disabled on user's devices.
|
||||
// UsbMassStorageEnabled: Whether USB storage is enabled.
|
||||
UsbMassStorageEnabled bool `json:"usbMassStorageEnabled,omitempty"`
|
||||
|
||||
// Version: The version of the policy. This is a read-only field. The
|
||||
|
@ -2609,6 +2797,9 @@ func (s *Status) MarshalJSON() ([]byte, error) {
|
|||
// StatusReportingSettings: Settings controlling the behavior of status
|
||||
// reports.
|
||||
type StatusReportingSettings struct {
|
||||
// ApplicationReportsEnabled: Whether app reports are enabled.
|
||||
ApplicationReportsEnabled bool `json:"applicationReportsEnabled,omitempty"`
|
||||
|
||||
// DeviceSettingsEnabled: Whether device settings reporting is enabled.
|
||||
DeviceSettingsEnabled bool `json:"deviceSettingsEnabled,omitempty"`
|
||||
|
||||
|
@ -2632,21 +2823,21 @@ type StatusReportingSettings struct {
|
|||
SoftwareInfoEnabled bool `json:"softwareInfoEnabled,omitempty"`
|
||||
|
||||
// ForceSendFields is a list of field names (e.g.
|
||||
// "DeviceSettingsEnabled") 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
|
||||
// "ApplicationReportsEnabled") 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. "DeviceSettingsEnabled") 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.
|
||||
// "ApplicationReportsEnabled") 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:"-"`
|
||||
}
|
||||
|
||||
|
|
162
vendor/google.golang.org/api/androidpublisher/v2/androidpublisher-api.json
generated
vendored
162
vendor/google.golang.org/api/androidpublisher/v2/androidpublisher-api.json
generated
vendored
|
@ -15,7 +15,7 @@
|
|||
"description": "Lets Android application developers access their Google Play accounts.",
|
||||
"discoveryVersion": "v1",
|
||||
"documentationLink": "https://developers.google.com/android-publisher",
|
||||
"etag": "\"Zkyw9ACJZUvcYmlFaKGChzhmtnE/e3MuT7-T4mkaaCQS_qVwD7HvOQ8\"",
|
||||
"etag": "\"Zkyw9ACJZUvcYmlFaKGChzhmtnE/061HEfmtqIvhrLJA1HbEK0nsWh4\"",
|
||||
"icons": {
|
||||
"x16": "https://www.google.com/images/icons/product/android-16.png",
|
||||
"x32": "https://www.google.com/images/icons/product/android-32.png"
|
||||
|
@ -592,6 +592,86 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
"bundles": {
|
||||
"methods": {
|
||||
"list": {
|
||||
"httpMethod": "GET",
|
||||
"id": "androidpublisher.edits.bundles.list",
|
||||
"parameterOrder": [
|
||||
"packageName",
|
||||
"editId"
|
||||
],
|
||||
"parameters": {
|
||||
"editId": {
|
||||
"description": "Unique identifier for this edit.",
|
||||
"location": "path",
|
||||
"required": true,
|
||||
"type": "string"
|
||||
},
|
||||
"packageName": {
|
||||
"description": "Unique identifier for the Android app that is being updated; for example, \"com.spiffygame\".",
|
||||
"location": "path",
|
||||
"required": true,
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"path": "{packageName}/edits/{editId}/bundles",
|
||||
"response": {
|
||||
"$ref": "BundlesListResponse"
|
||||
},
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/androidpublisher"
|
||||
]
|
||||
},
|
||||
"upload": {
|
||||
"description": "Uploads a new Android App Bundle to this edit. If you are using the Google API client libraries, please increase the timeout of the http request before calling this endpoint (a timeout of 2 minutes is recommended). See: https://developers.google.com/api-client-library/java/google-api-java-client/errors for an example in java.",
|
||||
"httpMethod": "POST",
|
||||
"id": "androidpublisher.edits.bundles.upload",
|
||||
"mediaUpload": {
|
||||
"accept": [
|
||||
"application/octet-stream"
|
||||
],
|
||||
"maxSize": "2GB",
|
||||
"protocols": {
|
||||
"resumable": {
|
||||
"multipart": true,
|
||||
"path": "/resumable/upload/androidpublisher/v2/applications/{packageName}/edits/{editId}/bundles"
|
||||
},
|
||||
"simple": {
|
||||
"multipart": true,
|
||||
"path": "/upload/androidpublisher/v2/applications/{packageName}/edits/{editId}/bundles"
|
||||
}
|
||||
}
|
||||
},
|
||||
"parameterOrder": [
|
||||
"packageName",
|
||||
"editId"
|
||||
],
|
||||
"parameters": {
|
||||
"editId": {
|
||||
"description": "Unique identifier for this edit.",
|
||||
"location": "path",
|
||||
"required": true,
|
||||
"type": "string"
|
||||
},
|
||||
"packageName": {
|
||||
"description": "Unique identifier for the Android app that is being updated; for example, \"com.spiffygame\".",
|
||||
"location": "path",
|
||||
"required": true,
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"path": "{packageName}/edits/{editId}/bundles",
|
||||
"response": {
|
||||
"$ref": "Bundle"
|
||||
},
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/androidpublisher"
|
||||
],
|
||||
"supportsMediaUpload": true
|
||||
}
|
||||
}
|
||||
},
|
||||
"deobfuscationfiles": {
|
||||
"methods": {
|
||||
"upload": {
|
||||
|
@ -1973,6 +2053,42 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
"orders": {
|
||||
"methods": {
|
||||
"refund": {
|
||||
"description": "Refund a user's subscription or in-app purchase order.",
|
||||
"httpMethod": "POST",
|
||||
"id": "androidpublisher.orders.refund",
|
||||
"parameterOrder": [
|
||||
"packageName",
|
||||
"orderId"
|
||||
],
|
||||
"parameters": {
|
||||
"orderId": {
|
||||
"description": "The order ID provided to the user when the subscription or in-app order was purchased.",
|
||||
"location": "path",
|
||||
"required": true,
|
||||
"type": "string"
|
||||
},
|
||||
"packageName": {
|
||||
"description": "The package name of the application for which this subscription or in-app item was purchased (for example, 'com.some.thing').",
|
||||
"location": "path",
|
||||
"required": true,
|
||||
"type": "string"
|
||||
},
|
||||
"revoke": {
|
||||
"description": "Whether to revoke the purchased item. If set to true, access to the subscription or in-app item will be terminated immediately. If the item is a recurring subscription, all future payments will also be terminated. Consumed in-app items need to be handled by developer's app. (optional)",
|
||||
"location": "query",
|
||||
"type": "boolean"
|
||||
}
|
||||
},
|
||||
"path": "{packageName}/orders/{orderId}:refund",
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/androidpublisher"
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"purchases": {
|
||||
"resources": {
|
||||
"products": {
|
||||
|
@ -2365,7 +2481,6 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
"revision": "20180501",
|
||||
"rootUrl": "https://www.googleapis.com/",
|
||||
"schemas": {
|
||||
"Apk": {
|
||||
|
@ -2503,6 +2618,42 @@
|
|||
},
|
||||
"type": "object"
|
||||
},
|
||||
"Bundle": {
|
||||
"id": "Bundle",
|
||||
"properties": {
|
||||
"sha1": {
|
||||
"description": "A sha1 hash of the upload payload, encoded as a hex string and matching the output of the sha1sum command.",
|
||||
"type": "string"
|
||||
},
|
||||
"sha256": {
|
||||
"description": "A sha256 hash of the upload payload, encoded as a hex string and matching the output of the sha256sum command.",
|
||||
"type": "string"
|
||||
},
|
||||
"versionCode": {
|
||||
"description": "The version code of the Android App Bundle. As specified in the Android App Bundle's base module APK manifest file.",
|
||||
"format": "int32",
|
||||
"type": "integer"
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"BundlesListResponse": {
|
||||
"id": "BundlesListResponse",
|
||||
"properties": {
|
||||
"bundles": {
|
||||
"items": {
|
||||
"$ref": "Bundle"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"kind": {
|
||||
"default": "androidpublisher#bundlesListResponse",
|
||||
"description": "Identifies what kind of resource this is. Value: the fixed string \"androidpublisher#bundlesListResponse\".",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"Comment": {
|
||||
"id": "Comment",
|
||||
"properties": {
|
||||
|
@ -2792,6 +2943,10 @@
|
|||
"$ref": "Price",
|
||||
"description": "Default price cannot be zero. In-app products can never be free. Default price is always in the developer's Checkout merchant currency."
|
||||
},
|
||||
"gracePeriod": {
|
||||
"description": "Grace period of the subscription, specified in ISO 8601 format. It will allow developers to give their subscribers a grace period when the payment for the new recurrence period is declined. Acceptable values = \"P3D\" (three days) and \"P7D\" (seven days)",
|
||||
"type": "string"
|
||||
},
|
||||
"listings": {
|
||||
"additionalProperties": {
|
||||
"$ref": "InAppProductListing",
|
||||
|
@ -3308,7 +3463,7 @@
|
|||
"id": "Track",
|
||||
"properties": {
|
||||
"track": {
|
||||
"description": "Identifier for this track. One of \"alpha\", \"beta\", \"production\", \"rollout\" or \"internal\".",
|
||||
"description": "Identifier for this track.",
|
||||
"type": "string"
|
||||
},
|
||||
"userFraction": {
|
||||
|
@ -3316,6 +3471,7 @@
|
|||
"type": "number"
|
||||
},
|
||||
"versionCodes": {
|
||||
"description": "Version codes to make active on this track. Note that this list should contain all versions you wish to be active, including those you wish to retain from previous releases.",
|
||||
"items": {
|
||||
"format": "int32",
|
||||
"type": "integer"
|
||||
|
|
599
vendor/google.golang.org/api/androidpublisher/v2/androidpublisher-gen.go
generated
vendored
599
vendor/google.golang.org/api/androidpublisher/v2/androidpublisher-gen.go
generated
vendored
|
@ -58,6 +58,7 @@ func New(client *http.Client) (*Service, error) {
|
|||
s := &Service{client: client, BasePath: basePath}
|
||||
s.Edits = NewEditsService(s)
|
||||
s.Inappproducts = NewInappproductsService(s)
|
||||
s.Orders = NewOrdersService(s)
|
||||
s.Purchases = NewPurchasesService(s)
|
||||
s.Reviews = NewReviewsService(s)
|
||||
return s, nil
|
||||
|
@ -72,6 +73,8 @@ type Service struct {
|
|||
|
||||
Inappproducts *InappproductsService
|
||||
|
||||
Orders *OrdersService
|
||||
|
||||
Purchases *PurchasesService
|
||||
|
||||
Reviews *ReviewsService
|
||||
|
@ -88,6 +91,7 @@ func NewEditsService(s *Service) *EditsService {
|
|||
rs := &EditsService{s: s}
|
||||
rs.Apklistings = NewEditsApklistingsService(s)
|
||||
rs.Apks = NewEditsApksService(s)
|
||||
rs.Bundles = NewEditsBundlesService(s)
|
||||
rs.Deobfuscationfiles = NewEditsDeobfuscationfilesService(s)
|
||||
rs.Details = NewEditsDetailsService(s)
|
||||
rs.Expansionfiles = NewEditsExpansionfilesService(s)
|
||||
|
@ -105,6 +109,8 @@ type EditsService struct {
|
|||
|
||||
Apks *EditsApksService
|
||||
|
||||
Bundles *EditsBundlesService
|
||||
|
||||
Deobfuscationfiles *EditsDeobfuscationfilesService
|
||||
|
||||
Details *EditsDetailsService
|
||||
|
@ -138,6 +144,15 @@ type EditsApksService struct {
|
|||
s *Service
|
||||
}
|
||||
|
||||
func NewEditsBundlesService(s *Service) *EditsBundlesService {
|
||||
rs := &EditsBundlesService{s: s}
|
||||
return rs
|
||||
}
|
||||
|
||||
type EditsBundlesService struct {
|
||||
s *Service
|
||||
}
|
||||
|
||||
func NewEditsDeobfuscationfilesService(s *Service) *EditsDeobfuscationfilesService {
|
||||
rs := &EditsDeobfuscationfilesService{s: s}
|
||||
return rs
|
||||
|
@ -210,6 +225,15 @@ type InappproductsService struct {
|
|||
s *Service
|
||||
}
|
||||
|
||||
func NewOrdersService(s *Service) *OrdersService {
|
||||
rs := &OrdersService{s: s}
|
||||
return rs
|
||||
}
|
||||
|
||||
type OrdersService struct {
|
||||
s *Service
|
||||
}
|
||||
|
||||
func NewPurchasesService(s *Service) *PurchasesService {
|
||||
rs := &PurchasesService{s: s}
|
||||
rs.Products = NewPurchasesProductsService(s)
|
||||
|
@ -576,6 +600,80 @@ func (s *AppEdit) MarshalJSON() ([]byte, error) {
|
|||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
type Bundle struct {
|
||||
// Sha1: A sha1 hash of the upload payload, encoded as a hex string and
|
||||
// matching the output of the sha1sum command.
|
||||
Sha1 string `json:"sha1,omitempty"`
|
||||
|
||||
// Sha256: A sha256 hash of the upload payload, encoded as a hex string
|
||||
// and matching the output of the sha256sum command.
|
||||
Sha256 string `json:"sha256,omitempty"`
|
||||
|
||||
// VersionCode: The version code of the Android App Bundle. As specified
|
||||
// in the Android App Bundle's base module APK manifest file.
|
||||
VersionCode int64 `json:"versionCode,omitempty"`
|
||||
|
||||
// ServerResponse contains the HTTP response code and headers from the
|
||||
// server.
|
||||
googleapi.ServerResponse `json:"-"`
|
||||
|
||||
// ForceSendFields is a list of field names (e.g. "Sha1") 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. "Sha1") 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 *Bundle) MarshalJSON() ([]byte, error) {
|
||||
type NoMethod Bundle
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
type BundlesListResponse struct {
|
||||
Bundles []*Bundle `json:"bundles,omitempty"`
|
||||
|
||||
// Kind: Identifies what kind of resource this is. Value: the fixed
|
||||
// string "androidpublisher#bundlesListResponse".
|
||||
Kind string `json:"kind,omitempty"`
|
||||
|
||||
// ServerResponse contains the HTTP response code and headers from the
|
||||
// server.
|
||||
googleapi.ServerResponse `json:"-"`
|
||||
|
||||
// ForceSendFields is a list of field names (e.g. "Bundles") 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. "Bundles") 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 *BundlesListResponse) MarshalJSON() ([]byte, error) {
|
||||
type NoMethod BundlesListResponse
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
type Comment struct {
|
||||
// DeveloperComment: A comment from a developer.
|
||||
DeveloperComment *DeveloperComment `json:"developerComment,omitempty"`
|
||||
|
@ -1069,6 +1167,12 @@ type InAppProduct struct {
|
|||
// currency.
|
||||
DefaultPrice *Price `json:"defaultPrice,omitempty"`
|
||||
|
||||
// GracePeriod: Grace period of the subscription, specified in ISO 8601
|
||||
// format. It will allow developers to give their subscribers a grace
|
||||
// period when the payment for the new recurrence period is declined.
|
||||
// Acceptable values = "P3D" (three days) and "P7D" (seven days)
|
||||
GracePeriod string `json:"gracePeriod,omitempty"`
|
||||
|
||||
// Listings: List of localized title and description data.
|
||||
Listings map[string]InAppProductListing `json:"listings,omitempty"`
|
||||
|
||||
|
@ -2034,12 +2138,14 @@ func (s *TokenPagination) MarshalJSON() ([]byte, error) {
|
|||
}
|
||||
|
||||
type Track struct {
|
||||
// Track: Identifier for this track. One of "alpha", "beta",
|
||||
// "production", "rollout" or "internal".
|
||||
// Track: Identifier for this track.
|
||||
Track string `json:"track,omitempty"`
|
||||
|
||||
UserFraction float64 `json:"userFraction,omitempty"`
|
||||
|
||||
// VersionCodes: Version codes to make active on this track. Note that
|
||||
// this list should contain all versions you wish to be active,
|
||||
// including those you wish to retain from previous releases.
|
||||
VersionCodes []int64 `json:"versionCodes,omitempty"`
|
||||
|
||||
// ServerResponse contains the HTTP response code and headers from the
|
||||
|
@ -4341,6 +4447,375 @@ func (c *EditsApksUploadCall) Do(opts ...googleapi.CallOption) (*Apk, error) {
|
|||
|
||||
}
|
||||
|
||||
// method id "androidpublisher.edits.bundles.list":
|
||||
|
||||
type EditsBundlesListCall struct {
|
||||
s *Service
|
||||
packageNameid string
|
||||
editId string
|
||||
urlParams_ gensupport.URLParams
|
||||
ifNoneMatch_ string
|
||||
ctx_ context.Context
|
||||
header_ http.Header
|
||||
}
|
||||
|
||||
// List:
|
||||
func (r *EditsBundlesService) List(packageNameid string, editId string) *EditsBundlesListCall {
|
||||
c := &EditsBundlesListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
|
||||
c.packageNameid = packageNameid
|
||||
c.editId = editId
|
||||
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 *EditsBundlesListCall) Fields(s ...googleapi.Field) *EditsBundlesListCall {
|
||||
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 *EditsBundlesListCall) IfNoneMatch(entityTag string) *EditsBundlesListCall {
|
||||
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 *EditsBundlesListCall) Context(ctx context.Context) *EditsBundlesListCall {
|
||||
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 *EditsBundlesListCall) Header() http.Header {
|
||||
if c.header_ == nil {
|
||||
c.header_ = make(http.Header)
|
||||
}
|
||||
return c.header_
|
||||
}
|
||||
|
||||
func (c *EditsBundlesListCall) 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, "{packageName}/edits/{editId}/bundles")
|
||||
urls += "?" + c.urlParams_.Encode()
|
||||
req, _ := http.NewRequest("GET", urls, body)
|
||||
req.Header = reqHeaders
|
||||
googleapi.Expand(req.URL, map[string]string{
|
||||
"packageName": c.packageNameid,
|
||||
"editId": c.editId,
|
||||
})
|
||||
return gensupport.SendRequest(c.ctx_, c.s.client, req)
|
||||
}
|
||||
|
||||
// Do executes the "androidpublisher.edits.bundles.list" call.
|
||||
// Exactly one of *BundlesListResponse or error will be non-nil. Any
|
||||
// non-2xx status code is an error. Response headers are in either
|
||||
// *BundlesListResponse.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 *EditsBundlesListCall) Do(opts ...googleapi.CallOption) (*BundlesListResponse, 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 := &BundlesListResponse{
|
||||
ServerResponse: googleapi.ServerResponse{
|
||||
Header: res.Header,
|
||||
HTTPStatusCode: res.StatusCode,
|
||||
},
|
||||
}
|
||||
target := &ret
|
||||
if err := gensupport.DecodeResponse(target, res); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return ret, nil
|
||||
// {
|
||||
// "httpMethod": "GET",
|
||||
// "id": "androidpublisher.edits.bundles.list",
|
||||
// "parameterOrder": [
|
||||
// "packageName",
|
||||
// "editId"
|
||||
// ],
|
||||
// "parameters": {
|
||||
// "editId": {
|
||||
// "description": "Unique identifier for this edit.",
|
||||
// "location": "path",
|
||||
// "required": true,
|
||||
// "type": "string"
|
||||
// },
|
||||
// "packageName": {
|
||||
// "description": "Unique identifier for the Android app that is being updated; for example, \"com.spiffygame\".",
|
||||
// "location": "path",
|
||||
// "required": true,
|
||||
// "type": "string"
|
||||
// }
|
||||
// },
|
||||
// "path": "{packageName}/edits/{editId}/bundles",
|
||||
// "response": {
|
||||
// "$ref": "BundlesListResponse"
|
||||
// },
|
||||
// "scopes": [
|
||||
// "https://www.googleapis.com/auth/androidpublisher"
|
||||
// ]
|
||||
// }
|
||||
|
||||
}
|
||||
|
||||
// method id "androidpublisher.edits.bundles.upload":
|
||||
|
||||
type EditsBundlesUploadCall struct {
|
||||
s *Service
|
||||
packageNameid string
|
||||
editId string
|
||||
urlParams_ gensupport.URLParams
|
||||
mediaInfo_ *gensupport.MediaInfo
|
||||
ctx_ context.Context
|
||||
header_ http.Header
|
||||
}
|
||||
|
||||
// Upload: Uploads a new Android App Bundle to this edit. If you are
|
||||
// using the Google API client libraries, please increase the timeout of
|
||||
// the http request before calling this endpoint (a timeout of 2 minutes
|
||||
// is recommended). See:
|
||||
// https://developers.google.com/api-client-library/java/google-api-java-client/errors for an example in
|
||||
// java.
|
||||
func (r *EditsBundlesService) Upload(packageNameid string, editId string) *EditsBundlesUploadCall {
|
||||
c := &EditsBundlesUploadCall{s: r.s, urlParams_: make(gensupport.URLParams)}
|
||||
c.packageNameid = packageNameid
|
||||
c.editId = editId
|
||||
return c
|
||||
}
|
||||
|
||||
// Media specifies the media to upload in one or more chunks. The chunk
|
||||
// size may be controlled by supplying a MediaOption generated by
|
||||
// googleapi.ChunkSize. The chunk size defaults to
|
||||
// googleapi.DefaultUploadChunkSize.The Content-Type header used in the
|
||||
// upload request will be determined by sniffing the contents of r,
|
||||
// unless a MediaOption generated by googleapi.ContentType is
|
||||
// supplied.
|
||||
// At most one of Media and ResumableMedia may be set.
|
||||
func (c *EditsBundlesUploadCall) Media(r io.Reader, options ...googleapi.MediaOption) *EditsBundlesUploadCall {
|
||||
c.mediaInfo_ = gensupport.NewInfoFromMedia(r, options)
|
||||
return c
|
||||
}
|
||||
|
||||
// ResumableMedia specifies the media to upload in chunks and can be
|
||||
// canceled with ctx.
|
||||
//
|
||||
// Deprecated: use Media instead.
|
||||
//
|
||||
// At most one of Media and ResumableMedia may be set. mediaType
|
||||
// identifies the MIME media type of the upload, such as "image/png". If
|
||||
// mediaType is "", it will be auto-detected. The provided ctx will
|
||||
// supersede any context previously provided to the Context method.
|
||||
func (c *EditsBundlesUploadCall) ResumableMedia(ctx context.Context, r io.ReaderAt, size int64, mediaType string) *EditsBundlesUploadCall {
|
||||
c.ctx_ = ctx
|
||||
c.mediaInfo_ = gensupport.NewInfoFromResumableMedia(r, size, mediaType)
|
||||
return c
|
||||
}
|
||||
|
||||
// ProgressUpdater provides a callback function that will be called
|
||||
// after every chunk. It should be a low-latency function in order to
|
||||
// not slow down the upload operation. This should only be called when
|
||||
// using ResumableMedia (as opposed to Media).
|
||||
func (c *EditsBundlesUploadCall) ProgressUpdater(pu googleapi.ProgressUpdater) *EditsBundlesUploadCall {
|
||||
c.mediaInfo_.SetProgressUpdater(pu)
|
||||
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 *EditsBundlesUploadCall) Fields(s ...googleapi.Field) *EditsBundlesUploadCall {
|
||||
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.
|
||||
// This context will supersede any context previously provided to the
|
||||
// ResumableMedia method.
|
||||
func (c *EditsBundlesUploadCall) Context(ctx context.Context) *EditsBundlesUploadCall {
|
||||
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 *EditsBundlesUploadCall) Header() http.Header {
|
||||
if c.header_ == nil {
|
||||
c.header_ = make(http.Header)
|
||||
}
|
||||
return c.header_
|
||||
}
|
||||
|
||||
func (c *EditsBundlesUploadCall) 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
|
||||
c.urlParams_.Set("alt", alt)
|
||||
urls := googleapi.ResolveRelative(c.s.BasePath, "{packageName}/edits/{editId}/bundles")
|
||||
if c.mediaInfo_ != nil {
|
||||
urls = strings.Replace(urls, "https://www.googleapis.com/", "https://www.googleapis.com/upload/", 1)
|
||||
c.urlParams_.Set("uploadType", c.mediaInfo_.UploadType())
|
||||
}
|
||||
if body == nil {
|
||||
body = new(bytes.Buffer)
|
||||
reqHeaders.Set("Content-Type", "application/json")
|
||||
}
|
||||
body, getBody, cleanup := c.mediaInfo_.UploadRequest(reqHeaders, body)
|
||||
defer cleanup()
|
||||
urls += "?" + c.urlParams_.Encode()
|
||||
req, _ := http.NewRequest("POST", urls, body)
|
||||
req.Header = reqHeaders
|
||||
gensupport.SetGetBody(req, getBody)
|
||||
googleapi.Expand(req.URL, map[string]string{
|
||||
"packageName": c.packageNameid,
|
||||
"editId": c.editId,
|
||||
})
|
||||
return gensupport.SendRequest(c.ctx_, c.s.client, req)
|
||||
}
|
||||
|
||||
// Do executes the "androidpublisher.edits.bundles.upload" call.
|
||||
// Exactly one of *Bundle or error will be non-nil. Any non-2xx status
|
||||
// code is an error. Response headers are in either
|
||||
// *Bundle.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 *EditsBundlesUploadCall) Do(opts ...googleapi.CallOption) (*Bundle, 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
|
||||
}
|
||||
rx := c.mediaInfo_.ResumableUpload(res.Header.Get("Location"))
|
||||
if rx != nil {
|
||||
rx.Client = c.s.client
|
||||
rx.UserAgent = c.s.userAgent()
|
||||
ctx := c.ctx_
|
||||
if ctx == nil {
|
||||
ctx = context.TODO()
|
||||
}
|
||||
res, err = rx.Upload(ctx)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
defer res.Body.Close()
|
||||
if err := googleapi.CheckResponse(res); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
}
|
||||
ret := &Bundle{
|
||||
ServerResponse: googleapi.ServerResponse{
|
||||
Header: res.Header,
|
||||
HTTPStatusCode: res.StatusCode,
|
||||
},
|
||||
}
|
||||
target := &ret
|
||||
if err := gensupport.DecodeResponse(target, res); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return ret, nil
|
||||
// {
|
||||
// "description": "Uploads a new Android App Bundle to this edit. If you are using the Google API client libraries, please increase the timeout of the http request before calling this endpoint (a timeout of 2 minutes is recommended). See: https://developers.google.com/api-client-library/java/google-api-java-client/errors for an example in java.",
|
||||
// "httpMethod": "POST",
|
||||
// "id": "androidpublisher.edits.bundles.upload",
|
||||
// "mediaUpload": {
|
||||
// "accept": [
|
||||
// "application/octet-stream"
|
||||
// ],
|
||||
// "maxSize": "2GB",
|
||||
// "protocols": {
|
||||
// "resumable": {
|
||||
// "multipart": true,
|
||||
// "path": "/resumable/upload/androidpublisher/v2/applications/{packageName}/edits/{editId}/bundles"
|
||||
// },
|
||||
// "simple": {
|
||||
// "multipart": true,
|
||||
// "path": "/upload/androidpublisher/v2/applications/{packageName}/edits/{editId}/bundles"
|
||||
// }
|
||||
// }
|
||||
// },
|
||||
// "parameterOrder": [
|
||||
// "packageName",
|
||||
// "editId"
|
||||
// ],
|
||||
// "parameters": {
|
||||
// "editId": {
|
||||
// "description": "Unique identifier for this edit.",
|
||||
// "location": "path",
|
||||
// "required": true,
|
||||
// "type": "string"
|
||||
// },
|
||||
// "packageName": {
|
||||
// "description": "Unique identifier for the Android app that is being updated; for example, \"com.spiffygame\".",
|
||||
// "location": "path",
|
||||
// "required": true,
|
||||
// "type": "string"
|
||||
// }
|
||||
// },
|
||||
// "path": "{packageName}/edits/{editId}/bundles",
|
||||
// "response": {
|
||||
// "$ref": "Bundle"
|
||||
// },
|
||||
// "scopes": [
|
||||
// "https://www.googleapis.com/auth/androidpublisher"
|
||||
// ],
|
||||
// "supportsMediaUpload": true
|
||||
// }
|
||||
|
||||
}
|
||||
|
||||
// method id "androidpublisher.edits.deobfuscationfiles.upload":
|
||||
|
||||
type EditsDeobfuscationfilesUploadCall struct {
|
||||
|
@ -9365,6 +9840,126 @@ func (c *InappproductsUpdateCall) Do(opts ...googleapi.CallOption) (*InAppProduc
|
|||
|
||||
}
|
||||
|
||||
// method id "androidpublisher.orders.refund":
|
||||
|
||||
type OrdersRefundCall struct {
|
||||
s *Service
|
||||
packageName string
|
||||
orderId string
|
||||
urlParams_ gensupport.URLParams
|
||||
ctx_ context.Context
|
||||
header_ http.Header
|
||||
}
|
||||
|
||||
// Refund: Refund a user's subscription or in-app purchase order.
|
||||
func (r *OrdersService) Refund(packageName string, orderId string) *OrdersRefundCall {
|
||||
c := &OrdersRefundCall{s: r.s, urlParams_: make(gensupport.URLParams)}
|
||||
c.packageName = packageName
|
||||
c.orderId = orderId
|
||||
return c
|
||||
}
|
||||
|
||||
// Revoke sets the optional parameter "revoke": Whether to revoke the
|
||||
// purchased item. If set to true, access to the subscription or in-app
|
||||
// item will be terminated immediately. If the item is a recurring
|
||||
// subscription, all future payments will also be terminated. Consumed
|
||||
// in-app items need to be handled by developer's app. (optional)
|
||||
func (c *OrdersRefundCall) Revoke(revoke bool) *OrdersRefundCall {
|
||||
c.urlParams_.Set("revoke", fmt.Sprint(revoke))
|
||||
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 *OrdersRefundCall) Fields(s ...googleapi.Field) *OrdersRefundCall {
|
||||
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 *OrdersRefundCall) Context(ctx context.Context) *OrdersRefundCall {
|
||||
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 *OrdersRefundCall) Header() http.Header {
|
||||
if c.header_ == nil {
|
||||
c.header_ = make(http.Header)
|
||||
}
|
||||
return c.header_
|
||||
}
|
||||
|
||||
func (c *OrdersRefundCall) 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
|
||||
c.urlParams_.Set("alt", alt)
|
||||
urls := googleapi.ResolveRelative(c.s.BasePath, "{packageName}/orders/{orderId}:refund")
|
||||
urls += "?" + c.urlParams_.Encode()
|
||||
req, _ := http.NewRequest("POST", urls, body)
|
||||
req.Header = reqHeaders
|
||||
googleapi.Expand(req.URL, map[string]string{
|
||||
"packageName": c.packageName,
|
||||
"orderId": c.orderId,
|
||||
})
|
||||
return gensupport.SendRequest(c.ctx_, c.s.client, req)
|
||||
}
|
||||
|
||||
// Do executes the "androidpublisher.orders.refund" call.
|
||||
func (c *OrdersRefundCall) Do(opts ...googleapi.CallOption) error {
|
||||
gensupport.SetOptions(c.urlParams_, opts...)
|
||||
res, err := c.doRequest("json")
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
defer googleapi.CloseBody(res)
|
||||
if err := googleapi.CheckResponse(res); err != nil {
|
||||
return err
|
||||
}
|
||||
return nil
|
||||
// {
|
||||
// "description": "Refund a user's subscription or in-app purchase order.",
|
||||
// "httpMethod": "POST",
|
||||
// "id": "androidpublisher.orders.refund",
|
||||
// "parameterOrder": [
|
||||
// "packageName",
|
||||
// "orderId"
|
||||
// ],
|
||||
// "parameters": {
|
||||
// "orderId": {
|
||||
// "description": "The order ID provided to the user when the subscription or in-app order was purchased.",
|
||||
// "location": "path",
|
||||
// "required": true,
|
||||
// "type": "string"
|
||||
// },
|
||||
// "packageName": {
|
||||
// "description": "The package name of the application for which this subscription or in-app item was purchased (for example, 'com.some.thing').",
|
||||
// "location": "path",
|
||||
// "required": true,
|
||||
// "type": "string"
|
||||
// },
|
||||
// "revoke": {
|
||||
// "description": "Whether to revoke the purchased item. If set to true, access to the subscription or in-app item will be terminated immediately. If the item is a recurring subscription, all future payments will also be terminated. Consumed in-app items need to be handled by developer's app. (optional)",
|
||||
// "location": "query",
|
||||
// "type": "boolean"
|
||||
// }
|
||||
// },
|
||||
// "path": "{packageName}/orders/{orderId}:refund",
|
||||
// "scopes": [
|
||||
// "https://www.googleapis.com/auth/androidpublisher"
|
||||
// ]
|
||||
// }
|
||||
|
||||
}
|
||||
|
||||
// method id "androidpublisher.purchases.products.get":
|
||||
|
||||
type PurchasesProductsGetCall struct {
|
||||
|
|
3360
vendor/google.golang.org/api/androidpublisher/v3/androidpublisher-api.json
generated
vendored
Normal file
3360
vendor/google.golang.org/api/androidpublisher/v3/androidpublisher-api.json
generated
vendored
Normal file
File diff suppressed because it is too large
Load diff
10560
vendor/google.golang.org/api/androidpublisher/v3/androidpublisher-gen.go
generated
vendored
Normal file
10560
vendor/google.golang.org/api/androidpublisher/v3/androidpublisher-gen.go
generated
vendored
Normal file
File diff suppressed because it is too large
Load diff
173
vendor/google.golang.org/api/api-list.json
generated
vendored
173
vendor/google.golang.org/api/api-list.json
generated
vendored
|
@ -380,6 +380,22 @@
|
|||
"x32": "https://www.google.com/images/icons/product/android-32.png"
|
||||
},
|
||||
"documentationLink": "https://developers.google.com/android-publisher",
|
||||
"preferred": false
|
||||
},
|
||||
{
|
||||
"kind": "discovery#directoryItem",
|
||||
"id": "androidpublisher:v3",
|
||||
"name": "androidpublisher",
|
||||
"version": "v3",
|
||||
"title": "Google Play Developer API",
|
||||
"description": "Lets Android application developers access their Google Play accounts.",
|
||||
"discoveryRestUrl": "https://www.googleapis.com/discovery/v1/apis/androidpublisher/v3/rest",
|
||||
"discoveryLink": "./apis/androidpublisher/v3/rest",
|
||||
"icons": {
|
||||
"x16": "https://www.google.com/images/icons/product/android-16.png",
|
||||
"x32": "https://www.google.com/images/icons/product/android-32.png"
|
||||
},
|
||||
"documentationLink": "https://developers.google.com/android-publisher",
|
||||
"preferred": true
|
||||
},
|
||||
{
|
||||
|
@ -678,7 +694,7 @@
|
|||
"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": "http://cloud.google.com/debugger",
|
||||
"documentationLink": "https://cloud.google.com/debugger",
|
||||
"preferred": true
|
||||
},
|
||||
{
|
||||
|
@ -726,21 +742,6 @@
|
|||
"documentationLink": "https://cloud.google.com/functions",
|
||||
"preferred": false
|
||||
},
|
||||
{
|
||||
"kind": "discovery#directoryItem",
|
||||
"id": "cloudiot:v1alpha1",
|
||||
"name": "cloudiot",
|
||||
"version": "v1alpha1",
|
||||
"title": "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=v1alpha1",
|
||||
"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": "cloudiot:v1",
|
||||
|
@ -882,7 +883,7 @@
|
|||
"name": "cloudtasks",
|
||||
"version": "v2beta2",
|
||||
"title": "Cloud Tasks API",
|
||||
"description": "Manages the execution of large numbers of distributed requests. Cloud Tasks is in Alpha.",
|
||||
"description": "Manages the execution of large numbers of distributed requests.",
|
||||
"discoveryRestUrl": "https://cloudtasks.googleapis.com/$discovery/rest?version=v2beta2",
|
||||
"icons": {
|
||||
"x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png",
|
||||
|
@ -1112,7 +1113,7 @@
|
|||
"id": "datastore:v1",
|
||||
"name": "datastore",
|
||||
"version": "v1",
|
||||
"title": "Google Cloud Datastore API",
|
||||
"title": "Cloud Datastore API",
|
||||
"description": "Accesses the schemaless NoSQL database to provide fully managed, robust, scalable storage for your application.",
|
||||
"discoveryRestUrl": "https://datastore.googleapis.com/$discovery/rest?version=v1",
|
||||
"icons": {
|
||||
|
@ -1127,7 +1128,7 @@
|
|||
"id": "datastore:v1beta1",
|
||||
"name": "datastore",
|
||||
"version": "v1beta1",
|
||||
"title": "Google Cloud Datastore API",
|
||||
"title": "Cloud Datastore API",
|
||||
"description": "Accesses the schemaless NoSQL database to provide fully managed, robust, scalable storage for your application.",
|
||||
"discoveryRestUrl": "https://datastore.googleapis.com/$discovery/rest?version=v1beta1",
|
||||
"icons": {
|
||||
|
@ -1142,7 +1143,7 @@
|
|||
"id": "datastore:v1beta3",
|
||||
"name": "datastore",
|
||||
"version": "v1beta3",
|
||||
"title": "Google Cloud Datastore API",
|
||||
"title": "Cloud Datastore API",
|
||||
"description": "Accesses the schemaless NoSQL database to provide fully managed, robust, scalable storage for your application.",
|
||||
"discoveryRestUrl": "https://datastore.googleapis.com/$discovery/rest?version=v1beta3",
|
||||
"icons": {
|
||||
|
@ -1230,6 +1231,22 @@
|
|||
"x32": "https://www.google.com/images/icons/product/doubleclick-32.gif"
|
||||
},
|
||||
"documentationLink": "https://developers.google.com/doubleclick-advertisers/",
|
||||
"preferred": false
|
||||
},
|
||||
{
|
||||
"kind": "discovery#directoryItem",
|
||||
"id": "dfareporting:v3.1",
|
||||
"name": "dfareporting",
|
||||
"version": "v3.1",
|
||||
"title": "DCM/DFA Reporting And Trafficking API",
|
||||
"description": "Manages your DoubleClick Campaign Manager ad campaigns and reports.",
|
||||
"discoveryRestUrl": "https://www.googleapis.com/discovery/v1/apis/dfareporting/v3.1/rest",
|
||||
"discoveryLink": "./apis/dfareporting/v3.1/rest",
|
||||
"icons": {
|
||||
"x16": "https://www.google.com/images/icons/product/doubleclick-16.gif",
|
||||
"x32": "https://www.google.com/images/icons/product/doubleclick-32.gif"
|
||||
},
|
||||
"documentationLink": "https://developers.google.com/doubleclick-advertisers/",
|
||||
"preferred": true
|
||||
},
|
||||
{
|
||||
|
@ -1458,7 +1475,7 @@
|
|||
"id": "firestore:v1beta1",
|
||||
"name": "firestore",
|
||||
"version": "v1beta1",
|
||||
"title": "Google Cloud Firestore API",
|
||||
"title": "Cloud Firestore API",
|
||||
"description": "",
|
||||
"discoveryRestUrl": "https://firestore.googleapis.com/$discovery/rest?version=v1beta1",
|
||||
"icons": {
|
||||
|
@ -1672,6 +1689,21 @@
|
|||
"documentationLink": "https://cloud.google.com/iam/",
|
||||
"preferred": true
|
||||
},
|
||||
{
|
||||
"kind": "discovery#directoryItem",
|
||||
"id": "iamcredentials:v1",
|
||||
"name": "iamcredentials",
|
||||
"version": "v1",
|
||||
"title": "IAM Service Account Credentials API",
|
||||
"description": "IAM Service Account Credentials API",
|
||||
"discoveryRestUrl": "https://iamcredentials.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://developers.google.com/identity/protocols/OAuth2ServiceAccount",
|
||||
"preferred": true
|
||||
},
|
||||
{
|
||||
"kind": "discovery#directoryItem",
|
||||
"id": "identitytoolkit:v3",
|
||||
|
@ -1688,6 +1720,21 @@
|
|||
"documentationLink": "https://developers.google.com/identity-toolkit/v3/",
|
||||
"preferred": true
|
||||
},
|
||||
{
|
||||
"kind": "discovery#directoryItem",
|
||||
"id": "jobs:v2",
|
||||
"name": "jobs",
|
||||
"version": "v2",
|
||||
"title": "Cloud Job Discovery",
|
||||
"description": "Cloud Job Discovery provides the capability to create, read, update, and delete job postings, as well as search jobs based on keywords and filters.",
|
||||
"discoveryRestUrl": "https://jobs.googleapis.com/$discovery/rest?version=v2",
|
||||
"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/job-discovery/docs",
|
||||
"preferred": true
|
||||
},
|
||||
{
|
||||
"kind": "discovery#directoryItem",
|
||||
"id": "kgsearch:v1",
|
||||
|
@ -2168,25 +2215,6 @@
|
|||
"labels": [
|
||||
"limited_availability"
|
||||
],
|
||||
"preferred": false
|
||||
},
|
||||
{
|
||||
"kind": "discovery#directoryItem",
|
||||
"id": "replicapool:v1beta2",
|
||||
"name": "replicapool",
|
||||
"version": "v1beta2",
|
||||
"title": "Google Compute Engine Instance Group Manager API",
|
||||
"description": "[Deprecated. Please use Instance Group Manager in Compute API] Provides groups of homogenous Compute Engine instances.",
|
||||
"discoveryRestUrl": "https://www.googleapis.com/discovery/v1/apis/replicapool/v1beta2/rest",
|
||||
"discoveryLink": "./apis/replicapool/v1beta2/rest",
|
||||
"icons": {
|
||||
"x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png",
|
||||
"x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png"
|
||||
},
|
||||
"documentationLink": "https://developers.google.com/compute/docs/instance-groups/manager/v1beta2",
|
||||
"labels": [
|
||||
"limited_availability"
|
||||
],
|
||||
"preferred": true
|
||||
},
|
||||
{
|
||||
|
@ -2227,50 +2255,12 @@
|
|||
],
|
||||
"preferred": true
|
||||
},
|
||||
{
|
||||
"kind": "discovery#directoryItem",
|
||||
"id": "resourceviews:v1beta1",
|
||||
"name": "resourceviews",
|
||||
"version": "v1beta1",
|
||||
"title": "Resource Views API",
|
||||
"description": "The Resource View API allows users to create and manage logical sets of Google Compute Engine instances.",
|
||||
"discoveryRestUrl": "https://www.googleapis.com/discovery/v1/apis/resourceviews/v1beta1/rest",
|
||||
"discoveryLink": "./apis/resourceviews/v1beta1/rest",
|
||||
"icons": {
|
||||
"x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png",
|
||||
"x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png"
|
||||
},
|
||||
"documentationLink": "https://developers.google.com/compute/",
|
||||
"labels": [
|
||||
"limited_availability"
|
||||
],
|
||||
"preferred": false
|
||||
},
|
||||
{
|
||||
"kind": "discovery#directoryItem",
|
||||
"id": "resourceviews:v1beta2",
|
||||
"name": "resourceviews",
|
||||
"version": "v1beta2",
|
||||
"title": "Google Compute Engine Instance Groups API",
|
||||
"description": "The Resource View API allows users to create and manage logical sets of Google Compute Engine instances.",
|
||||
"discoveryRestUrl": "https://www.googleapis.com/discovery/v1/apis/resourceviews/v1beta2/rest",
|
||||
"discoveryLink": "./apis/resourceviews/v1beta2/rest",
|
||||
"icons": {
|
||||
"x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png",
|
||||
"x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png"
|
||||
},
|
||||
"documentationLink": "https://developers.google.com/compute/",
|
||||
"labels": [
|
||||
"limited_availability"
|
||||
],
|
||||
"preferred": true
|
||||
},
|
||||
{
|
||||
"kind": "discovery#directoryItem",
|
||||
"id": "runtimeconfig:v1",
|
||||
"name": "runtimeconfig",
|
||||
"version": "v1",
|
||||
"title": "Google Cloud Runtime Configuration API",
|
||||
"title": "Cloud Runtime Configuration API",
|
||||
"description": "The Runtime Configurator allows you to dynamically configure and expose variables through Google Cloud Platform. In addition, you can also set Watchers and Waiters that will watch for changes to your data and return based on certain conditions.",
|
||||
"discoveryRestUrl": "https://runtimeconfig.googleapis.com/$discovery/rest?version=v1",
|
||||
"icons": {
|
||||
|
@ -2285,7 +2275,7 @@
|
|||
"id": "runtimeconfig:v1beta1",
|
||||
"name": "runtimeconfig",
|
||||
"version": "v1beta1",
|
||||
"title": "Google Cloud Runtime Configuration API",
|
||||
"title": "Cloud Runtime Configuration API",
|
||||
"description": "The Runtime Configurator allows you to dynamically configure and expose variables through Google Cloud Platform. In addition, you can also set Watchers and Waiters that will watch for changes to your data and return based on certain conditions.",
|
||||
"discoveryRestUrl": "https://runtimeconfig.googleapis.com/$discovery/rest?version=v1beta1",
|
||||
"icons": {
|
||||
|
@ -2676,7 +2666,7 @@
|
|||
"id": "storagetransfer:v1",
|
||||
"name": "storagetransfer",
|
||||
"version": "v1",
|
||||
"title": "Google Storage Transfer API",
|
||||
"title": "Storage Transfer API",
|
||||
"description": "Transfers data from external data sources to a Google Cloud Storage bucket or between Google Cloud Storage buckets.",
|
||||
"discoveryRestUrl": "https://storagetransfer.googleapis.com/$discovery/rest?version=v1",
|
||||
"icons": {
|
||||
|
@ -2791,7 +2781,7 @@
|
|||
"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": "http://cloud.google.com/text-to-speech/",
|
||||
"documentationLink": "https://cloud.google.com/text-to-speech/",
|
||||
"preferred": true
|
||||
},
|
||||
{
|
||||
|
@ -2823,6 +2813,21 @@
|
|||
"x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png"
|
||||
},
|
||||
"documentationLink": "https://cloud.google.com/tpu/",
|
||||
"preferred": false
|
||||
},
|
||||
{
|
||||
"kind": "discovery#directoryItem",
|
||||
"id": "tpu:v1",
|
||||
"name": "tpu",
|
||||
"version": "v1",
|
||||
"title": "Cloud TPU API",
|
||||
"description": "TPU API provides customers with access to Google TPU technology.",
|
||||
"discoveryRestUrl": "https://tpu.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/tpu/",
|
||||
"preferred": true
|
||||
},
|
||||
{
|
||||
|
@ -2830,7 +2835,7 @@
|
|||
"id": "translate:v2",
|
||||
"name": "translate",
|
||||
"version": "v2",
|
||||
"title": "Google Cloud Translation API",
|
||||
"title": "Cloud Translation API",
|
||||
"description": "The Google Cloud Translation API lets websites and programs integrate with Google Translate programmatically.",
|
||||
"discoveryRestUrl": "https://translation.googleapis.com/$discovery/rest?version=v2",
|
||||
"icons": {
|
||||
|
@ -3071,7 +3076,7 @@
|
|||
"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": "http://developers.google.com/youtube/analytics",
|
||||
"documentationLink": "https://developers.google.com/youtube/analytics",
|
||||
"preferred": true
|
||||
},
|
||||
{
|
||||
|
|
66
vendor/google.golang.org/api/appengine/v1/appengine-api.json
generated
vendored
66
vendor/google.golang.org/api/appengine/v1/appengine-api.json
generated
vendored
|
@ -1333,7 +1333,7 @@
|
|||
]
|
||||
},
|
||||
"patch": {
|
||||
"description": "Updates the specified Version resource. You can specify the following fields depending on the App Engine environment and type of scaling that the version resource uses:\nserving_status (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.serving_status): For Version resources that use basic scaling, manual scaling, or run in the App Engine flexible environment.\ninstance_class (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.instance_class): For Version resources that run in the App Engine standard environment.\nautomatic_scaling.min_idle_instances (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling): For Version resources that use automatic scaling and run in the App Engine standard environment.\nautomatic_scaling.max_idle_instances (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling): For Version resources that use automatic scaling and run in the App Engine standard environment.\nautomatic_scaling.min_total_instances (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling): For Version resources that use automatic scaling and run in the App Engine flexible environment.\nautomatic_scaling.max_total_instances (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling): For Version resources that use automatic scaling and run in the App Engine flexible environment.\nautomatic_scaling.cool_down_period_sec (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling): For Version resources that use automatic scaling and run in the App Engine flexible environment.\nautomatic_scaling.cpu_utilization.target_utilization (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling): For Version resources that use automatic scaling and run in the App Engine flexible environment.",
|
||||
"description": "Updates the specified Version resource. You can specify the following fields depending on the App Engine environment and type of scaling that the version resource uses:Standard environment\ninstance_class (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.instance_class)automatic scaling in the standard environment:\nautomatic_scaling.min_idle_instances (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling)\nautomatic_scaling.max_idle_instances (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling)\nautomaticScaling.standard_scheduler_settings.max_instances (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#StandardSchedulerSettings)\nautomaticScaling.standard_scheduler_settings.min_instances (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#StandardSchedulerSettings)\nautomaticScaling.standard_scheduler_settings.target_cpu_utilization (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#StandardSchedulerSettings)\nautomaticScaling.standard_scheduler_settings.target_throughput_utilization (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#StandardSchedulerSettings)basic scaling or manual scaling in the standard environment:\nserving_status (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.serving_status)Flexible environment\nserving_status (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.serving_status)automatic scaling in the flexible environment:\nautomatic_scaling.min_total_instances (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling)\nautomatic_scaling.max_total_instances (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling)\nautomatic_scaling.cool_down_period_sec (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling)\nautomatic_scaling.cpu_utilization.target_utilization (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling)",
|
||||
"flatPath": "v1/apps/{appsId}/services/{servicesId}/versions/{versionsId}",
|
||||
"httpMethod": "PATCH",
|
||||
"id": "appengine.apps.services.versions.patch",
|
||||
|
@ -1583,7 +1583,7 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
"revision": "20180320",
|
||||
"revision": "20180525",
|
||||
"rootUrl": "https://appengine.googleapis.com/",
|
||||
"schemas": {
|
||||
"ApiConfigHandler": {
|
||||
|
@ -1767,6 +1767,10 @@
|
|||
"description": "Relative name of the certificate. This is a unique value autogenerated on AuthorizedCertificate resource creation. Example: 12345.@OutputOnly",
|
||||
"type": "string"
|
||||
},
|
||||
"managedCertificate": {
|
||||
"$ref": "ManagedCertificate",
|
||||
"description": "Only applicable if this certificate is managed by App Engine. Managed certificates are tied to the lifecycle of a DomainMapping and cannot be updated or deleted via the AuthorizedCertificates API. If this certificate is manually administered by the user, this field will be empty.@OutputOnly"
|
||||
},
|
||||
"name": {
|
||||
"description": "Full path to the AuthorizedCertificate resource in the API. Example: apps/myapp/authorizedCertificates/12345.@OutputOnly",
|
||||
"type": "string"
|
||||
|
@ -2097,11 +2101,11 @@
|
|||
"type": "object"
|
||||
},
|
||||
"EndpointsApiService": {
|
||||
"description": "Cloud Endpoints (https://cloud.google.com/endpoints) configuration. The Endpoints API Service provides tooling for serving Open API and gRPC endpoints via an NGINX proxy. Only valid for App Engine Flexible environment deployments.The fields here refer to the name and configuration id of a \"service\" resource in the Service Management API (https://cloud.google.com/service-management/overview).",
|
||||
"description": "Cloud Endpoints (https://cloud.google.com/endpoints) configuration. The Endpoints API Service provides tooling for serving Open API and gRPC endpoints via an NGINX proxy. Only valid for App Engine Flexible environment deployments.The fields here refer to the name and configuration ID of a \"service\" resource in the Service Management API (https://cloud.google.com/service-management/overview).",
|
||||
"id": "EndpointsApiService",
|
||||
"properties": {
|
||||
"configId": {
|
||||
"description": "Endpoints service configuration id as specified by the Service Management API. For example \"2016-09-19r1\"",
|
||||
"description": "Endpoints service configuration ID as specified by the Service Management API. For example \"2016-09-19r1\".By default, the rollout strategy for Endpoints is RolloutStrategy.FIXED. This means that Endpoints starts up with a particular configuration ID. When a new configuration is rolled out, Endpoints must be given the new configuration ID. The config_id field is used to give the configuration ID and is required in this case.Endpoints also has a rollout strategy called RolloutStrategy.MANAGED. When using this, Endpoints fetches the latest configuration and does not need the configuration ID. In this case, config_id must be omitted.",
|
||||
"type": "string"
|
||||
},
|
||||
"name": {
|
||||
|
@ -2624,6 +2628,40 @@
|
|||
},
|
||||
"type": "object"
|
||||
},
|
||||
"ManagedCertificate": {
|
||||
"description": "A certificate managed by App Engine.",
|
||||
"id": "ManagedCertificate",
|
||||
"properties": {
|
||||
"lastRenewalTime": {
|
||||
"description": "Time at which the certificate was last renewed. The renewal process is fully managed. Certificate renewal will automatically occur before the certificate expires. Renewal errors can be tracked via ManagementStatus.@OutputOnly",
|
||||
"format": "google-datetime",
|
||||
"type": "string"
|
||||
},
|
||||
"status": {
|
||||
"description": "Status of certificate management. Refers to the most recent certificate acquisition or renewal attempt.@OutputOnly",
|
||||
"enum": [
|
||||
"MANAGEMENT_STATUS_UNSPECIFIED",
|
||||
"OK",
|
||||
"PENDING",
|
||||
"FAILED_RETRYING_NOT_VISIBLE",
|
||||
"FAILED_PERMANENT",
|
||||
"FAILED_RETRYING_CAA_FORBIDDEN",
|
||||
"FAILED_RETRYING_CAA_CHECKING"
|
||||
],
|
||||
"enumDescriptions": [
|
||||
"",
|
||||
"Certificate was successfully obtained and inserted into the serving system.",
|
||||
"Certificate is under active attempts to acquire or renew.",
|
||||
"Most recent renewal failed due to an invalid DNS setup and will be retried. Renewal attempts will continue to fail until the certificate domain's DNS configuration is fixed. The last successfully provisioned certificate may still be serving.",
|
||||
"All renewal attempts have been exhausted, likely due to an invalid DNS setup.",
|
||||
"Most recent renewal failed due to an explicit CAA record that does not include the in-use CA, Let's Encrypt. Renewals will continue to fail until the CAA is reconfigured. The last successfully provisioned certificate may still be serving.",
|
||||
"Most recent renewal failed due to a CAA retrieval failure. This means that the domain's DNS provider does not properly handle CAA records, failing requests for CAA records when no CAA records are defined. Renewals will continue to fail until the DNS provider is changed or a CAA record is added for the given domain. The last successfully provisioned certificate may still be serving."
|
||||
],
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"ManualScaling": {
|
||||
"description": "A service with manual scaling runs continuously, allowing you to perform complex initialization and rely on the state of its memory over time.",
|
||||
"id": "ManualScaling",
|
||||
|
@ -3073,7 +3111,25 @@
|
|||
"id": "SslSettings",
|
||||
"properties": {
|
||||
"certificateId": {
|
||||
"description": "ID of the AuthorizedCertificate resource configuring SSL for the application. Clearing this field will remove SSL support. Example: 12345.",
|
||||
"description": "ID of the AuthorizedCertificate resource configuring SSL for the application. Clearing this field will remove SSL support.By default, a managed certificate is automatically created for every domain mapping. To omit SSL support or to configure SSL manually, specify SslManagementType.MANUAL on a CREATE or UPDATE request. You must be authorized to administer the AuthorizedCertificate resource to manually map it to a DomainMapping resource. Example: 12345.",
|
||||
"type": "string"
|
||||
},
|
||||
"pendingManagedCertificateId": {
|
||||
"description": "ID of the managed AuthorizedCertificate resource currently being provisioned, if applicable. Until the new managed certificate has been successfully provisioned, the previous SSL state will be preserved. Once the provisioning process completes, the certificate_id field will reflect the new managed certificate and this field will be left empty. To remove SSL support while there is still a pending managed certificate, clear the certificate_id field with an UpdateDomainMappingRequest.@OutputOnly",
|
||||
"type": "string"
|
||||
},
|
||||
"sslManagementType": {
|
||||
"description": "SSL management type for this domain. If AUTOMATIC, a managed certificate is automatically provisioned. If MANUAL, certificate_id must be manually specified in order to configure SSL for this domain.",
|
||||
"enum": [
|
||||
"SSL_MANAGEMENT_TYPE_UNSPECIFIED",
|
||||
"AUTOMATIC",
|
||||
"MANUAL"
|
||||
],
|
||||
"enumDescriptions": [
|
||||
"Defaults to AUTOMATIC.",
|
||||
"SSL support for this domain is configured automatically. The mapped SSL certificate will be automatically renewed.",
|
||||
"SSL support for this domain is configured manually by the user. Either the domain has no SSL support or a user-obtained SSL certificate has been explictly mapped to this domain."
|
||||
],
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
|
|
194
vendor/google.golang.org/api/appengine/v1/appengine-gen.go
generated
vendored
194
vendor/google.golang.org/api/appengine/v1/appengine-gen.go
generated
vendored
|
@ -449,6 +449,13 @@ type AuthorizedCertificate struct {
|
|||
// 12345.@OutputOnly
|
||||
Id string `json:"id,omitempty"`
|
||||
|
||||
// ManagedCertificate: Only applicable if this certificate is managed by
|
||||
// App Engine. Managed certificates are tied to the lifecycle of a
|
||||
// DomainMapping and cannot be updated or deleted via the
|
||||
// AuthorizedCertificates API. If this certificate is manually
|
||||
// administered by the user, this field will be empty.@OutputOnly
|
||||
ManagedCertificate *ManagedCertificate `json:"managedCertificate,omitempty"`
|
||||
|
||||
// Name: Full path to the AuthorizedCertificate resource in the API.
|
||||
// Example: apps/myapp/authorizedCertificates/12345.@OutputOnly
|
||||
Name string `json:"name,omitempty"`
|
||||
|
@ -1148,12 +1155,20 @@ type Empty struct {
|
|||
// (https://cloud.google.com/endpoints) configuration. The Endpoints API
|
||||
// Service provides tooling for serving Open API and gRPC endpoints via
|
||||
// an NGINX proxy. Only valid for App Engine Flexible environment
|
||||
// deployments.The fields here refer to the name and configuration id of
|
||||
// deployments.The fields here refer to the name and configuration ID of
|
||||
// a "service" resource in the Service Management API
|
||||
// (https://cloud.google.com/service-management/overview).
|
||||
type EndpointsApiService struct {
|
||||
// ConfigId: Endpoints service configuration id as specified by the
|
||||
// Service Management API. For example "2016-09-19r1"
|
||||
// ConfigId: Endpoints service configuration ID as specified by the
|
||||
// Service Management API. For example "2016-09-19r1".By default, the
|
||||
// rollout strategy for Endpoints is RolloutStrategy.FIXED. This means
|
||||
// that Endpoints starts up with a particular configuration ID. When a
|
||||
// new configuration is rolled out, Endpoints must be given the new
|
||||
// configuration ID. The config_id field is used to give the
|
||||
// configuration ID and is required in this case.Endpoints also has a
|
||||
// rollout strategy called RolloutStrategy.MANAGED. When using this,
|
||||
// Endpoints fetches the latest configuration and does not need the
|
||||
// configuration ID. In this case, config_id must be omitted.
|
||||
ConfigId string `json:"configId,omitempty"`
|
||||
|
||||
// Name: Endpoints service name which is the name of the "service"
|
||||
|
@ -2077,6 +2092,68 @@ func (s *LocationMetadata) MarshalJSON() ([]byte, error) {
|
|||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
// ManagedCertificate: A certificate managed by App Engine.
|
||||
type ManagedCertificate struct {
|
||||
// LastRenewalTime: Time at which the certificate was last renewed. The
|
||||
// renewal process is fully managed. Certificate renewal will
|
||||
// automatically occur before the certificate expires. Renewal errors
|
||||
// can be tracked via ManagementStatus.@OutputOnly
|
||||
LastRenewalTime string `json:"lastRenewalTime,omitempty"`
|
||||
|
||||
// Status: Status of certificate management. Refers to the most recent
|
||||
// certificate acquisition or renewal attempt.@OutputOnly
|
||||
//
|
||||
// Possible values:
|
||||
// "MANAGEMENT_STATUS_UNSPECIFIED"
|
||||
// "OK" - Certificate was successfully obtained and inserted into the
|
||||
// serving system.
|
||||
// "PENDING" - Certificate is under active attempts to acquire or
|
||||
// renew.
|
||||
// "FAILED_RETRYING_NOT_VISIBLE" - Most recent renewal failed due to
|
||||
// an invalid DNS setup and will be retried. Renewal attempts will
|
||||
// continue to fail until the certificate domain's DNS configuration is
|
||||
// fixed. The last successfully provisioned certificate may still be
|
||||
// serving.
|
||||
// "FAILED_PERMANENT" - All renewal attempts have been exhausted,
|
||||
// likely due to an invalid DNS setup.
|
||||
// "FAILED_RETRYING_CAA_FORBIDDEN" - Most recent renewal failed due to
|
||||
// an explicit CAA record that does not include the in-use CA, Let's
|
||||
// Encrypt. Renewals will continue to fail until the CAA is
|
||||
// reconfigured. The last successfully provisioned certificate may still
|
||||
// be serving.
|
||||
// "FAILED_RETRYING_CAA_CHECKING" - Most recent renewal failed due to
|
||||
// a CAA retrieval failure. This means that the domain's DNS provider
|
||||
// does not properly handle CAA records, failing requests for CAA
|
||||
// records when no CAA records are defined. Renewals will continue to
|
||||
// fail until the DNS provider is changed or a CAA record is added for
|
||||
// the given domain. The last successfully provisioned certificate may
|
||||
// still be serving.
|
||||
Status string `json:"status,omitempty"`
|
||||
|
||||
// ForceSendFields is a list of field names (e.g. "LastRenewalTime") 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. "LastRenewalTime") 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 *ManagedCertificate) MarshalJSON() ([]byte, error) {
|
||||
type NoMethod ManagedCertificate
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
// ManualScaling: A service with manual scaling runs continuously,
|
||||
// allowing you to perform complex initialization and rely on the state
|
||||
// of its memory over time.
|
||||
|
@ -2794,10 +2871,40 @@ func (s *Service) MarshalJSON() ([]byte, error) {
|
|||
// SslSettings: SSL configuration for a DomainMapping resource.
|
||||
type SslSettings struct {
|
||||
// CertificateId: ID of the AuthorizedCertificate resource configuring
|
||||
// SSL for the application. Clearing this field will remove SSL support.
|
||||
// Example: 12345.
|
||||
// SSL for the application. Clearing this field will remove SSL
|
||||
// support.By default, a managed certificate is automatically created
|
||||
// for every domain mapping. To omit SSL support or to configure SSL
|
||||
// manually, specify SslManagementType.MANUAL on a CREATE or UPDATE
|
||||
// request. You must be authorized to administer the
|
||||
// AuthorizedCertificate resource to manually map it to a DomainMapping
|
||||
// resource. Example: 12345.
|
||||
CertificateId string `json:"certificateId,omitempty"`
|
||||
|
||||
// PendingManagedCertificateId: ID of the managed AuthorizedCertificate
|
||||
// resource currently being provisioned, if applicable. Until the new
|
||||
// managed certificate has been successfully provisioned, the previous
|
||||
// SSL state will be preserved. Once the provisioning process completes,
|
||||
// the certificate_id field will reflect the new managed certificate and
|
||||
// this field will be left empty. To remove SSL support while there is
|
||||
// still a pending managed certificate, clear the certificate_id field
|
||||
// with an UpdateDomainMappingRequest.@OutputOnly
|
||||
PendingManagedCertificateId string `json:"pendingManagedCertificateId,omitempty"`
|
||||
|
||||
// SslManagementType: SSL management type for this domain. If AUTOMATIC,
|
||||
// a managed certificate is automatically provisioned. If MANUAL,
|
||||
// certificate_id must be manually specified in order to configure SSL
|
||||
// for this domain.
|
||||
//
|
||||
// Possible values:
|
||||
// "SSL_MANAGEMENT_TYPE_UNSPECIFIED" - Defaults to AUTOMATIC.
|
||||
// "AUTOMATIC" - SSL support for this domain is configured
|
||||
// automatically. The mapped SSL certificate will be automatically
|
||||
// renewed.
|
||||
// "MANUAL" - SSL support for this domain is configured manually by
|
||||
// the user. Either the domain has no SSL support or a user-obtained SSL
|
||||
// certificate has been explictly mapped to this domain.
|
||||
SslManagementType string `json:"sslManagementType,omitempty"`
|
||||
|
||||
// ForceSendFields is a list of field names (e.g. "CertificateId") to
|
||||
// unconditionally include in API requests. By default, fields with
|
||||
// empty values are omitted from API requests. However, any non-pointer,
|
||||
|
@ -8832,48 +8939,59 @@ type AppsServicesVersionsPatchCall struct {
|
|||
|
||||
// Patch: Updates the specified Version resource. You can specify the
|
||||
// following fields depending on the App Engine environment and type of
|
||||
// scaling that the version resource uses:
|
||||
// serving_status
|
||||
// (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/a
|
||||
// pps.services.versions#Version.FIELDS.serving_status): For Version
|
||||
// resources that use basic scaling, manual scaling, or run in the App
|
||||
// Engine flexible environment.
|
||||
// scaling that the version resource uses:Standard
|
||||
// environment
|
||||
// instance_class
|
||||
// (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/a
|
||||
// pps.services.versions#Version.FIELDS.instance_class): For Version
|
||||
// resources that run in the App Engine standard
|
||||
// environment.
|
||||
// pps.services.versions#Version.FIELDS.instance_class)automatic scaling
|
||||
// in the standard environment:
|
||||
// automatic_scaling.min_idle_instances
|
||||
// (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/a
|
||||
// pps.services.versions#Version.FIELDS.automatic_scaling): For Version
|
||||
// resources that use automatic scaling and run in the App Engine
|
||||
// standard environment.
|
||||
// automatic_scaling.max_idle_instances
|
||||
// pps.services.versions#Version.FIELDS.automatic_scaling)
|
||||
// automatic_scal
|
||||
// ing.max_idle_instances
|
||||
// (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/a
|
||||
// pps.services.versions#Version.FIELDS.automatic_scaling): For Version
|
||||
// resources that use automatic scaling and run in the App Engine
|
||||
// standard environment.
|
||||
// pps.services.versions#Version.FIELDS.automatic_scaling)
|
||||
// automaticScali
|
||||
// ng.standard_scheduler_settings.max_instances
|
||||
// (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/a
|
||||
// pps.services.versions#StandardSchedulerSettings)
|
||||
// automaticScaling.stan
|
||||
// dard_scheduler_settings.min_instances
|
||||
// (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/a
|
||||
// pps.services.versions#StandardSchedulerSettings)
|
||||
// automaticScaling.stan
|
||||
// dard_scheduler_settings.target_cpu_utilization
|
||||
// (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/a
|
||||
// pps.services.versions#StandardSchedulerSettings)
|
||||
// automaticScaling.stan
|
||||
// dard_scheduler_settings.target_throughput_utilization
|
||||
// (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/a
|
||||
// pps.services.versions#StandardSchedulerSettings)basic scaling or
|
||||
// manual scaling in the standard environment:
|
||||
// serving_status
|
||||
// (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/a
|
||||
// pps.services.versions#Version.FIELDS.serving_status)Flexible
|
||||
// environment
|
||||
// serving_status
|
||||
// (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/a
|
||||
// pps.services.versions#Version.FIELDS.serving_status)automatic scaling
|
||||
// in the flexible environment:
|
||||
// automatic_scaling.min_total_instances
|
||||
// (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/a
|
||||
// pps.services.versions#Version.FIELDS.automatic_scaling): For Version
|
||||
// resources that use automatic scaling and run in the App Engine
|
||||
// flexible environment.
|
||||
// automatic_scaling.max_total_instances
|
||||
// pps.services.versions#Version.FIELDS.automatic_scaling)
|
||||
// automatic_scal
|
||||
// ing.max_total_instances
|
||||
// (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/a
|
||||
// pps.services.versions#Version.FIELDS.automatic_scaling): For Version
|
||||
// resources that use automatic scaling and run in the App Engine
|
||||
// flexible environment.
|
||||
// automatic_scaling.cool_down_period_sec
|
||||
// pps.services.versions#Version.FIELDS.automatic_scaling)
|
||||
// automatic_scal
|
||||
// ing.cool_down_period_sec
|
||||
// (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/a
|
||||
// pps.services.versions#Version.FIELDS.automatic_scaling): For Version
|
||||
// resources that use automatic scaling and run in the App Engine
|
||||
// flexible
|
||||
// environment.
|
||||
// automatic_scaling.cpu_utilization.target_utilization
|
||||
// pps.services.versions#Version.FIELDS.automatic_scaling)
|
||||
// automatic_scal
|
||||
// ing.cpu_utilization.target_utilization
|
||||
// (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/a
|
||||
// pps.services.versions#Version.FIELDS.automatic_scaling): For Version
|
||||
// resources that use automatic scaling and run in the App Engine
|
||||
// flexible environment.
|
||||
// pps.services.versions#Version.FIELDS.automatic_scaling)
|
||||
func (r *AppsServicesVersionsService) Patch(appsId string, servicesId string, versionsId string, version *Version) *AppsServicesVersionsPatchCall {
|
||||
c := &AppsServicesVersionsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
|
||||
c.appsId = appsId
|
||||
|
@ -8978,7 +9096,7 @@ func (c *AppsServicesVersionsPatchCall) Do(opts ...googleapi.CallOption) (*Opera
|
|||
}
|
||||
return ret, nil
|
||||
// {
|
||||
// "description": "Updates the specified Version resource. You can specify the following fields depending on the App Engine environment and type of scaling that the version resource uses:\nserving_status (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.serving_status): For Version resources that use basic scaling, manual scaling, or run in the App Engine flexible environment.\ninstance_class (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.instance_class): For Version resources that run in the App Engine standard environment.\nautomatic_scaling.min_idle_instances (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling): For Version resources that use automatic scaling and run in the App Engine standard environment.\nautomatic_scaling.max_idle_instances (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling): For Version resources that use automatic scaling and run in the App Engine standard environment.\nautomatic_scaling.min_total_instances (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling): For Version resources that use automatic scaling and run in the App Engine flexible environment.\nautomatic_scaling.max_total_instances (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling): For Version resources that use automatic scaling and run in the App Engine flexible environment.\nautomatic_scaling.cool_down_period_sec (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling): For Version resources that use automatic scaling and run in the App Engine flexible environment.\nautomatic_scaling.cpu_utilization.target_utilization (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling): For Version resources that use automatic scaling and run in the App Engine flexible environment.",
|
||||
// "description": "Updates the specified Version resource. You can specify the following fields depending on the App Engine environment and type of scaling that the version resource uses:Standard environment\ninstance_class (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.instance_class)automatic scaling in the standard environment:\nautomatic_scaling.min_idle_instances (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling)\nautomatic_scaling.max_idle_instances (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling)\nautomaticScaling.standard_scheduler_settings.max_instances (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#StandardSchedulerSettings)\nautomaticScaling.standard_scheduler_settings.min_instances (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#StandardSchedulerSettings)\nautomaticScaling.standard_scheduler_settings.target_cpu_utilization (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#StandardSchedulerSettings)\nautomaticScaling.standard_scheduler_settings.target_throughput_utilization (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#StandardSchedulerSettings)basic scaling or manual scaling in the standard environment:\nserving_status (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.serving_status)Flexible environment\nserving_status (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.serving_status)automatic scaling in the flexible environment:\nautomatic_scaling.min_total_instances (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling)\nautomatic_scaling.max_total_instances (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling)\nautomatic_scaling.cool_down_period_sec (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling)\nautomatic_scaling.cpu_utilization.target_utilization (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling)",
|
||||
// "flatPath": "v1/apps/{appsId}/services/{servicesId}/versions/{versionsId}",
|
||||
// "httpMethod": "PATCH",
|
||||
// "id": "appengine.apps.services.versions.patch",
|
||||
|
|
12
vendor/google.golang.org/api/appengine/v1beta/appengine-api.json
generated
vendored
12
vendor/google.golang.org/api/appengine/v1beta/appengine-api.json
generated
vendored
|
@ -1333,7 +1333,7 @@
|
|||
]
|
||||
},
|
||||
"patch": {
|
||||
"description": "Updates the specified Version resource. You can specify the following fields depending on the App Engine environment and type of scaling that the version resource uses:\nserving_status (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta/apps.services.versions#Version.FIELDS.serving_status): For Version resources that use basic scaling, manual scaling, or run in the App Engine flexible environment.\ninstance_class (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta/apps.services.versions#Version.FIELDS.instance_class): For Version resources that run in the App Engine standard environment.\nautomatic_scaling.min_idle_instances (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta/apps.services.versions#Version.FIELDS.automatic_scaling): For Version resources that use automatic scaling and run in the App Engine standard environment.\nautomatic_scaling.max_idle_instances (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta/apps.services.versions#Version.FIELDS.automatic_scaling): For Version resources that use automatic scaling and run in the App Engine standard environment.\nautomatic_scaling.min_total_instances (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta/apps.services.versions#Version.FIELDS.automatic_scaling): For Version resources that use automatic scaling and run in the App Engine flexible environment.\nautomatic_scaling.max_total_instances (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta/apps.services.versions#Version.FIELDS.automatic_scaling): For Version resources that use automatic scaling and run in the App Engine flexible environment.\nautomatic_scaling.cool_down_period_sec (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta/apps.services.versions#Version.FIELDS.automatic_scaling): For Version resources that use automatic scaling and run in the App Engine flexible environment.\nautomatic_scaling.cpu_utilization.target_utilization (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta/apps.services.versions#Version.FIELDS.automatic_scaling): For Version resources that use automatic scaling and run in the App Engine flexible environment.",
|
||||
"description": "Updates the specified Version resource. You can specify the following fields depending on the App Engine environment and type of scaling that the version resource uses:Standard environment\ninstance_class (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta/apps.services.versions#Version.FIELDS.instance_class)automatic scaling in the standard environment:\nautomatic_scaling.min_idle_instances (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta/apps.services.versions#Version.FIELDS.automatic_scaling)\nautomatic_scaling.max_idle_instances (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta/apps.services.versions#Version.FIELDS.automatic_scaling)\nautomaticScaling.standard_scheduler_settings.max_instances (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta/apps.services.versions#StandardSchedulerSettings)\nautomaticScaling.standard_scheduler_settings.min_instances (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta/apps.services.versions#StandardSchedulerSettings)\nautomaticScaling.standard_scheduler_settings.target_cpu_utilization (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta/apps.services.versions#StandardSchedulerSettings)\nautomaticScaling.standard_scheduler_settings.target_throughput_utilization (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta/apps.services.versions#StandardSchedulerSettings)basic scaling or manual scaling in the standard environment:\nserving_status (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta/apps.services.versions#Version.FIELDS.serving_status)Flexible environment\nserving_status (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta/apps.services.versions#Version.FIELDS.serving_status)automatic scaling in the flexible environment:\nautomatic_scaling.min_total_instances (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta/apps.services.versions#Version.FIELDS.automatic_scaling)\nautomatic_scaling.max_total_instances (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta/apps.services.versions#Version.FIELDS.automatic_scaling)\nautomatic_scaling.cool_down_period_sec (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta/apps.services.versions#Version.FIELDS.automatic_scaling)\nautomatic_scaling.cpu_utilization.target_utilization (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta/apps.services.versions#Version.FIELDS.automatic_scaling)",
|
||||
"flatPath": "v1beta/apps/{appsId}/services/{servicesId}/versions/{versionsId}",
|
||||
"httpMethod": "PATCH",
|
||||
"id": "appengine.apps.services.versions.patch",
|
||||
|
@ -1583,7 +1583,7 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
"revision": "20180320",
|
||||
"revision": "20180511",
|
||||
"rootUrl": "https://appengine.googleapis.com/",
|
||||
"schemas": {
|
||||
"ApiConfigHandler": {
|
||||
|
@ -2152,11 +2152,11 @@
|
|||
"type": "object"
|
||||
},
|
||||
"EndpointsApiService": {
|
||||
"description": "Cloud Endpoints (https://cloud.google.com/endpoints) configuration. The Endpoints API Service provides tooling for serving Open API and gRPC endpoints via an NGINX proxy. Only valid for App Engine Flexible environment deployments.The fields here refer to the name and configuration id of a \"service\" resource in the Service Management API (https://cloud.google.com/service-management/overview).",
|
||||
"description": "Cloud Endpoints (https://cloud.google.com/endpoints) configuration. The Endpoints API Service provides tooling for serving Open API and gRPC endpoints via an NGINX proxy. Only valid for App Engine Flexible environment deployments.The fields here refer to the name and configuration ID of a \"service\" resource in the Service Management API (https://cloud.google.com/service-management/overview).",
|
||||
"id": "EndpointsApiService",
|
||||
"properties": {
|
||||
"configId": {
|
||||
"description": "Endpoints service configuration id as specified by the Service Management API. For example \"2016-09-19r1\"By default, the Endpoints service configuration id is fixed and config_id must be specified. To keep the Endpoints service configuration id updated with each rollout, specify RolloutStrategy.MANAGED and omit config_id.",
|
||||
"description": "Endpoints service configuration ID as specified by the Service Management API. For example \"2016-09-19r1\".By default, the rollout strategy for Endpoints is RolloutStrategy.FIXED. This means that Endpoints starts up with a particular configuration ID. When a new configuration is rolled out, Endpoints must be given the new configuration ID. The config_id field is used to give the configuration ID and is required in this case.Endpoints also has a rollout strategy called RolloutStrategy.MANAGED. When using this, Endpoints fetches the latest configuration and does not need to be told the configuration ID. In this case, config_id must be omitted.",
|
||||
"type": "string"
|
||||
},
|
||||
"name": {
|
||||
|
@ -2172,8 +2172,8 @@
|
|||
],
|
||||
"enumDescriptions": [
|
||||
"Not specified. Defaults to FIXED.",
|
||||
"Endpoints service configuration id will be fixed to the configuration id specified by config_id.",
|
||||
"Endpoints service configuration id will be updated with each rollout."
|
||||
"Endpoints service configuration ID will be fixed to the configuration ID specified by config_id.",
|
||||
"Endpoints service configuration ID will be updated with each rollout."
|
||||
],
|
||||
"type": "string"
|
||||
}
|
||||
|
|
103
vendor/google.golang.org/api/appengine/v1beta/appengine-gen.go
generated
vendored
103
vendor/google.golang.org/api/appengine/v1beta/appengine-gen.go
generated
vendored
|
@ -1252,16 +1252,20 @@ type Empty struct {
|
|||
// (https://cloud.google.com/endpoints) configuration. The Endpoints API
|
||||
// Service provides tooling for serving Open API and gRPC endpoints via
|
||||
// an NGINX proxy. Only valid for App Engine Flexible environment
|
||||
// deployments.The fields here refer to the name and configuration id of
|
||||
// deployments.The fields here refer to the name and configuration ID of
|
||||
// a "service" resource in the Service Management API
|
||||
// (https://cloud.google.com/service-management/overview).
|
||||
type EndpointsApiService struct {
|
||||
// ConfigId: Endpoints service configuration id as specified by the
|
||||
// Service Management API. For example "2016-09-19r1"By default, the
|
||||
// Endpoints service configuration id is fixed and config_id must be
|
||||
// specified. To keep the Endpoints service configuration id updated
|
||||
// with each rollout, specify RolloutStrategy.MANAGED and omit
|
||||
// config_id.
|
||||
// ConfigId: Endpoints service configuration ID as specified by the
|
||||
// Service Management API. For example "2016-09-19r1".By default, the
|
||||
// rollout strategy for Endpoints is RolloutStrategy.FIXED. This means
|
||||
// that Endpoints starts up with a particular configuration ID. When a
|
||||
// new configuration is rolled out, Endpoints must be given the new
|
||||
// configuration ID. The config_id field is used to give the
|
||||
// configuration ID and is required in this case.Endpoints also has a
|
||||
// rollout strategy called RolloutStrategy.MANAGED. When using this,
|
||||
// Endpoints fetches the latest configuration and does not need to be
|
||||
// told the configuration ID. In this case, config_id must be omitted.
|
||||
ConfigId string `json:"configId,omitempty"`
|
||||
|
||||
// Name: Endpoints service name which is the name of the "service"
|
||||
|
@ -1274,9 +1278,9 @@ type EndpointsApiService struct {
|
|||
//
|
||||
// Possible values:
|
||||
// "UNSPECIFIED_ROLLOUT_STRATEGY" - Not specified. Defaults to FIXED.
|
||||
// "FIXED" - Endpoints service configuration id will be fixed to the
|
||||
// configuration id specified by config_id.
|
||||
// "MANAGED" - Endpoints service configuration id will be updated with
|
||||
// "FIXED" - Endpoints service configuration ID will be fixed to the
|
||||
// configuration ID specified by config_id.
|
||||
// "MANAGED" - Endpoints service configuration ID will be updated with
|
||||
// each rollout.
|
||||
RolloutStrategy string `json:"rolloutStrategy,omitempty"`
|
||||
|
||||
|
@ -9051,48 +9055,61 @@ type AppsServicesVersionsPatchCall struct {
|
|||
|
||||
// Patch: Updates the specified Version resource. You can specify the
|
||||
// following fields depending on the App Engine environment and type of
|
||||
// scaling that the version resource uses:
|
||||
// serving_status
|
||||
// (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1be
|
||||
// ta/apps.services.versions#Version.FIELDS.serving_status): For
|
||||
// Version resources that use basic scaling, manual scaling, or run in
|
||||
// the App Engine flexible environment.
|
||||
// scaling that the version resource uses:Standard
|
||||
// environment
|
||||
// instance_class
|
||||
// (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1be
|
||||
// ta/apps.services.versions#Version.FIELDS.instance_class): For
|
||||
// Version resources that run in the App Engine standard
|
||||
// environment.
|
||||
// ta/apps.services.versions#Version.FIELDS.instance_class)automatic
|
||||
// scaling in the standard
|
||||
// environment:
|
||||
// automatic_scaling.min_idle_instances
|
||||
// (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1be
|
||||
// ta/apps.services.versions#Version.FIELDS.automatic_scaling): For
|
||||
// Version resources that use automatic scaling and run in the App
|
||||
// Engine standard environment.
|
||||
// automatic_scaling.max_idle_instances
|
||||
// ta/apps.services.versions#Version.FIELDS.automatic_scaling)
|
||||
// automatic_
|
||||
// scaling.max_idle_instances
|
||||
// (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1be
|
||||
// ta/apps.services.versions#Version.FIELDS.automatic_scaling): For
|
||||
// Version resources that use automatic scaling and run in the App
|
||||
// Engine standard environment.
|
||||
// ta/apps.services.versions#Version.FIELDS.automatic_scaling)
|
||||
// automaticS
|
||||
// caling.standard_scheduler_settings.max_instances
|
||||
// (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1be
|
||||
// ta/apps.services.versions#StandardSchedulerSettings)
|
||||
// automaticScaling.
|
||||
// standard_scheduler_settings.min_instances
|
||||
// (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1be
|
||||
// ta/apps.services.versions#StandardSchedulerSettings)
|
||||
// automaticScaling.
|
||||
// standard_scheduler_settings.target_cpu_utilization
|
||||
// (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1be
|
||||
// ta/apps.services.versions#StandardSchedulerSettings)
|
||||
// automaticScaling.
|
||||
// standard_scheduler_settings.target_throughput_utilization
|
||||
// (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1be
|
||||
// ta/apps.services.versions#StandardSchedulerSettings)basic scaling or
|
||||
// manual scaling in the standard environment:
|
||||
// serving_status
|
||||
// (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1be
|
||||
// ta/apps.services.versions#Version.FIELDS.serving_status)Flexible
|
||||
// environment
|
||||
// serving_status
|
||||
// (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1be
|
||||
// ta/apps.services.versions#Version.FIELDS.serving_status)automatic
|
||||
// scaling in the flexible
|
||||
// environment:
|
||||
// automatic_scaling.min_total_instances
|
||||
// (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1be
|
||||
// ta/apps.services.versions#Version.FIELDS.automatic_scaling): For
|
||||
// Version resources that use automatic scaling and run in the App
|
||||
// Engine flexible environment.
|
||||
// automatic_scaling.max_total_instances
|
||||
// ta/apps.services.versions#Version.FIELDS.automatic_scaling)
|
||||
// automatic_
|
||||
// scaling.max_total_instances
|
||||
// (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1be
|
||||
// ta/apps.services.versions#Version.FIELDS.automatic_scaling): For
|
||||
// Version resources that use automatic scaling and run in the App
|
||||
// Engine flexible environment.
|
||||
// automatic_scaling.cool_down_period_sec
|
||||
// ta/apps.services.versions#Version.FIELDS.automatic_scaling)
|
||||
// automatic_
|
||||
// scaling.cool_down_period_sec
|
||||
// (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1be
|
||||
// ta/apps.services.versions#Version.FIELDS.automatic_scaling): For
|
||||
// Version resources that use automatic scaling and run in the App
|
||||
// Engine flexible
|
||||
// environment.
|
||||
// automatic_scaling.cpu_utilization.target_utilization
|
||||
// ta/apps.services.versions#Version.FIELDS.automatic_scaling)
|
||||
// automatic_
|
||||
// scaling.cpu_utilization.target_utilization
|
||||
// (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1be
|
||||
// ta/apps.services.versions#Version.FIELDS.automatic_scaling): For
|
||||
// Version resources that use automatic scaling and run in the App
|
||||
// Engine flexible environment.
|
||||
// ta/apps.services.versions#Version.FIELDS.automatic_scaling)
|
||||
func (r *AppsServicesVersionsService) Patch(appsId string, servicesId string, versionsId string, version *Version) *AppsServicesVersionsPatchCall {
|
||||
c := &AppsServicesVersionsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
|
||||
c.appsId = appsId
|
||||
|
@ -9197,7 +9214,7 @@ func (c *AppsServicesVersionsPatchCall) Do(opts ...googleapi.CallOption) (*Opera
|
|||
}
|
||||
return ret, nil
|
||||
// {
|
||||
// "description": "Updates the specified Version resource. You can specify the following fields depending on the App Engine environment and type of scaling that the version resource uses:\nserving_status (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta/apps.services.versions#Version.FIELDS.serving_status): For Version resources that use basic scaling, manual scaling, or run in the App Engine flexible environment.\ninstance_class (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta/apps.services.versions#Version.FIELDS.instance_class): For Version resources that run in the App Engine standard environment.\nautomatic_scaling.min_idle_instances (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta/apps.services.versions#Version.FIELDS.automatic_scaling): For Version resources that use automatic scaling and run in the App Engine standard environment.\nautomatic_scaling.max_idle_instances (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta/apps.services.versions#Version.FIELDS.automatic_scaling): For Version resources that use automatic scaling and run in the App Engine standard environment.\nautomatic_scaling.min_total_instances (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta/apps.services.versions#Version.FIELDS.automatic_scaling): For Version resources that use automatic scaling and run in the App Engine flexible environment.\nautomatic_scaling.max_total_instances (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta/apps.services.versions#Version.FIELDS.automatic_scaling): For Version resources that use automatic scaling and run in the App Engine flexible environment.\nautomatic_scaling.cool_down_period_sec (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta/apps.services.versions#Version.FIELDS.automatic_scaling): For Version resources that use automatic scaling and run in the App Engine flexible environment.\nautomatic_scaling.cpu_utilization.target_utilization (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta/apps.services.versions#Version.FIELDS.automatic_scaling): For Version resources that use automatic scaling and run in the App Engine flexible environment.",
|
||||
// "description": "Updates the specified Version resource. You can specify the following fields depending on the App Engine environment and type of scaling that the version resource uses:Standard environment\ninstance_class (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta/apps.services.versions#Version.FIELDS.instance_class)automatic scaling in the standard environment:\nautomatic_scaling.min_idle_instances (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta/apps.services.versions#Version.FIELDS.automatic_scaling)\nautomatic_scaling.max_idle_instances (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta/apps.services.versions#Version.FIELDS.automatic_scaling)\nautomaticScaling.standard_scheduler_settings.max_instances (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta/apps.services.versions#StandardSchedulerSettings)\nautomaticScaling.standard_scheduler_settings.min_instances (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta/apps.services.versions#StandardSchedulerSettings)\nautomaticScaling.standard_scheduler_settings.target_cpu_utilization (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta/apps.services.versions#StandardSchedulerSettings)\nautomaticScaling.standard_scheduler_settings.target_throughput_utilization (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta/apps.services.versions#StandardSchedulerSettings)basic scaling or manual scaling in the standard environment:\nserving_status (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta/apps.services.versions#Version.FIELDS.serving_status)Flexible environment\nserving_status (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta/apps.services.versions#Version.FIELDS.serving_status)automatic scaling in the flexible environment:\nautomatic_scaling.min_total_instances (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta/apps.services.versions#Version.FIELDS.automatic_scaling)\nautomatic_scaling.max_total_instances (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta/apps.services.versions#Version.FIELDS.automatic_scaling)\nautomatic_scaling.cool_down_period_sec (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta/apps.services.versions#Version.FIELDS.automatic_scaling)\nautomatic_scaling.cpu_utilization.target_utilization (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta/apps.services.versions#Version.FIELDS.automatic_scaling)",
|
||||
// "flatPath": "v1beta/apps/{appsId}/services/{servicesId}/versions/{versionsId}",
|
||||
// "httpMethod": "PATCH",
|
||||
// "id": "appengine.apps.services.versions.patch",
|
||||
|
|
35
vendor/google.golang.org/api/bigquery/v2/bigquery-api.json
generated
vendored
35
vendor/google.golang.org/api/bigquery/v2/bigquery-api.json
generated
vendored
|
@ -32,7 +32,7 @@
|
|||
"description": "A data platform for customers to create, manage, share and query data.",
|
||||
"discoveryVersion": "v1",
|
||||
"documentationLink": "https://cloud.google.com/bigquery/",
|
||||
"etag": "\"Zkyw9ACJZUvcYmlFaKGChzhmtnE/cg_n3NWH4TV_fCgEGVaEaOZcGEA\"",
|
||||
"etag": "\"Zkyw9ACJZUvcYmlFaKGChzhmtnE/F-icUrqc7COP2F5FibwkaYei6ww\"",
|
||||
"icons": {
|
||||
"x16": "https://www.google.com/images/icons/product/search-16.gif",
|
||||
"x32": "https://www.google.com/images/icons/product/search-32.gif"
|
||||
|
@ -317,7 +317,7 @@
|
|||
"type": "string"
|
||||
},
|
||||
"location": {
|
||||
"description": "[Experimental] The geographic location of the job. Required except for US and EU.",
|
||||
"description": "[Experimental] The geographic location of the job. Required except for US and EU. See details at https://cloud.google.com/bigquery/docs/dataset-locations#specifying_your_location.",
|
||||
"location": "query",
|
||||
"type": "string"
|
||||
},
|
||||
|
@ -353,7 +353,7 @@
|
|||
"type": "string"
|
||||
},
|
||||
"location": {
|
||||
"description": "[Experimental] The geographic location of the job. Required except for US and EU.",
|
||||
"description": "[Experimental] The geographic location of the job. Required except for US and EU. See details at https://cloud.google.com/bigquery/docs/dataset-locations#specifying_your_location.",
|
||||
"location": "query",
|
||||
"type": "string"
|
||||
},
|
||||
|
@ -390,7 +390,7 @@
|
|||
"type": "string"
|
||||
},
|
||||
"location": {
|
||||
"description": "[Experimental] The geographic location where the job should run. Required except for US and EU.",
|
||||
"description": "[Experimental] The geographic location where the job should run. Required except for US and EU. See details at https://cloud.google.com/bigquery/docs/dataset-locations#specifying_your_location.",
|
||||
"location": "query",
|
||||
"type": "string"
|
||||
},
|
||||
|
@ -998,7 +998,6 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
"revision": "20180422",
|
||||
"rootUrl": "https://www.googleapis.com/",
|
||||
"schemas": {
|
||||
"BigtableColumn": {
|
||||
|
@ -2131,7 +2130,7 @@
|
|||
"type": "string"
|
||||
},
|
||||
"location": {
|
||||
"description": "[Experimental] The geographic location of the job. Required except for US and EU.",
|
||||
"description": "[Experimental] The geographic location of the job. Required except for US and EU. See details at https://cloud.google.com/bigquery/docs/dataset-locations#specifying_your_location.",
|
||||
"type": "string"
|
||||
},
|
||||
"projectId": {
|
||||
|
@ -2233,12 +2232,30 @@
|
|||
},
|
||||
"type": "array"
|
||||
},
|
||||
"reservationUsage": {
|
||||
"description": "[Output-only] Job resource usage breakdown by reservation.",
|
||||
"items": {
|
||||
"properties": {
|
||||
"name": {
|
||||
"description": "[Output-only] Reservation name or \"unreserved\" for on-demand resources usage.",
|
||||
"type": "string"
|
||||
},
|
||||
"slotMs": {
|
||||
"description": "[Output-only] Slot-milliseconds the job spent in the given reservation.",
|
||||
"format": "int64",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"schema": {
|
||||
"$ref": "TableSchema",
|
||||
"description": "[Output-only] The schema of the results. Present only for successful dry run of non-legacy SQL queries."
|
||||
},
|
||||
"statementType": {
|
||||
"description": "[Output-only, Experimental] The type of query statement, if valid. Possible values (new values might be added in the future): \"SELECT\": SELECT query. \"INSERT\": INSERT query; see https://cloud.google.com/bigquery/docs/reference/standard-sql/data-manipulation-language \"UPDATE\": UPDATE query; see https://cloud.google.com/bigquery/docs/reference/standard-sql/data-manipulation-language \"DELETE\": DELETE query; see https://cloud.google.com/bigquery/docs/reference/standard-sql/data-manipulation-language \"CREATE_TABLE\": CREATE [OR REPLACE] TABLE without AS SELECT. \"CREATE_TABLE_AS_SELECT\": CREATE [OR REPLACE] TABLE ... AS SELECT ... \"DROP_TABLE\": DROP TABLE query. \"CREATE_VIEW\": CREATE [OR REPLACE] VIEW ... AS SELECT ... \"DROP_VIEW\": DROP VIEW query.",
|
||||
"description": "[Output-only, Experimental] The type of query statement, if valid. Possible values (new values might be added in the future): \"SELECT\": SELECT query. \"INSERT\": INSERT query; see https://cloud.google.com/bigquery/docs/reference/standard-sql/data-manipulation-language \"UPDATE\": UPDATE query; see https://cloud.google.com/bigquery/docs/reference/standard-sql/data-manipulation-language \"DELETE\": DELETE query; see https://cloud.google.com/bigquery/docs/reference/standard-sql/data-manipulation-language \"MERGE\": MERGE query; see https://cloud.google.com/bigquery/docs/reference/standard-sql/data-manipulation-language \"CREATE_TABLE\": CREATE [OR REPLACE] TABLE without AS SELECT. \"CREATE_TABLE_AS_SELECT\": CREATE [OR REPLACE] TABLE ... AS SELECT ... \"DROP_TABLE\": DROP TABLE query. \"CREATE_VIEW\": CREATE [OR REPLACE] VIEW ... AS SELECT ... \"DROP_VIEW\": DROP VIEW query.",
|
||||
"type": "string"
|
||||
},
|
||||
"timeline": {
|
||||
|
@ -3078,12 +3095,12 @@
|
|||
"id": "TimePartitioning",
|
||||
"properties": {
|
||||
"expirationMs": {
|
||||
"description": "[Optional] Number of milliseconds for which to keep the storage for a partition.",
|
||||
"description": "[Optional] Number of milliseconds for which to keep the storage for partitions in the table. The storage in a partition will have an expiration time of its partition time plus this value.",
|
||||
"format": "int64",
|
||||
"type": "string"
|
||||
},
|
||||
"field": {
|
||||
"description": "[Experimental] [Optional] If not set, the table is partitioned by pseudo column '_PARTITIONTIME'; if set, the table is partitioned by this field. The field must be a top-level TIMESTAMP or DATE field. Its mode must be NULLABLE or REQUIRED.",
|
||||
"description": "[Experimental] [Optional] If not set, the table is partitioned by pseudo column, referenced via either '_PARTITIONTIME' as TIMESTAMP type, or '_PARTITIONDATE' as DATE type. If field is specified, the table is instead partitioned by this field. The field must be a top-level TIMESTAMP or DATE field. Its mode must be NULLABLE or REQUIRED.",
|
||||
"type": "string"
|
||||
},
|
||||
"requirePartitionFilter": {
|
||||
|
|
69
vendor/google.golang.org/api/bigquery/v2/bigquery-gen.go
generated
vendored
69
vendor/google.golang.org/api/bigquery/v2/bigquery-gen.go
generated
vendored
|
@ -1956,7 +1956,8 @@ type JobReference struct {
|
|||
JobId string `json:"jobId,omitempty"`
|
||||
|
||||
// Location: [Experimental] The geographic location of the job. Required
|
||||
// except for US and EU.
|
||||
// except for US and EU. See details at
|
||||
// https://cloud.google.com/bigquery/docs/dataset-locations#specifying_your_location.
|
||||
Location string `json:"location,omitempty"`
|
||||
|
||||
// ProjectId: [Required] The ID of the project containing this job.
|
||||
|
@ -2095,6 +2096,10 @@ type JobStatistics2 struct {
|
|||
// list.
|
||||
ReferencedTables []*TableReference `json:"referencedTables,omitempty"`
|
||||
|
||||
// ReservationUsage: [Output-only] Job resource usage breakdown by
|
||||
// reservation.
|
||||
ReservationUsage []*JobStatistics2ReservationUsage `json:"reservationUsage,omitempty"`
|
||||
|
||||
// Schema: [Output-only] The schema of the results. Present only for
|
||||
// successful dry run of non-legacy SQL queries.
|
||||
Schema *TableSchema `json:"schema,omitempty"`
|
||||
|
@ -2102,7 +2107,7 @@ type JobStatistics2 struct {
|
|||
// StatementType: [Output-only, Experimental] The type of query
|
||||
// statement, if valid. Possible values (new values might be added in
|
||||
// the future): "SELECT": SELECT query. "INSERT": INSERT query; see
|
||||
// https://cloud.google.com/bigquery/docs/reference/standard-sql/data-manipulation-language "UPDATE": UPDATE query; see https://cloud.google.com/bigquery/docs/reference/standard-sql/data-manipulation-language "DELETE": DELETE query; see https://cloud.google.com/bigquery/docs/reference/standard-sql/data-manipulation-language "CREATE_TABLE": CREATE [OR REPLACE] TABLE without AS SELECT. "CREATE_TABLE_AS_SELECT": CREATE [OR REPLACE] TABLE ... AS SELECT ... "DROP_TABLE": DROP TABLE query. "CREATE_VIEW": CREATE [OR REPLACE] VIEW ... AS SELECT ... "DROP_VIEW": DROP VIEW
|
||||
// https://cloud.google.com/bigquery/docs/reference/standard-sql/data-manipulation-language "UPDATE": UPDATE query; see https://cloud.google.com/bigquery/docs/reference/standard-sql/data-manipulation-language "DELETE": DELETE query; see https://cloud.google.com/bigquery/docs/reference/standard-sql/data-manipulation-language "MERGE": MERGE query; see https://cloud.google.com/bigquery/docs/reference/standard-sql/data-manipulation-language "CREATE_TABLE": CREATE [OR REPLACE] TABLE without AS SELECT. "CREATE_TABLE_AS_SELECT": CREATE [OR REPLACE] TABLE ... AS SELECT ... "DROP_TABLE": DROP TABLE query. "CREATE_VIEW": CREATE [OR REPLACE] VIEW ... AS SELECT ... "DROP_VIEW": DROP VIEW
|
||||
// query.
|
||||
StatementType string `json:"statementType,omitempty"`
|
||||
|
||||
|
@ -2151,6 +2156,38 @@ func (s *JobStatistics2) MarshalJSON() ([]byte, error) {
|
|||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
type JobStatistics2ReservationUsage struct {
|
||||
// Name: [Output-only] Reservation name or "unreserved" for on-demand
|
||||
// resources usage.
|
||||
Name string `json:"name,omitempty"`
|
||||
|
||||
// SlotMs: [Output-only] Slot-milliseconds the job spent in the given
|
||||
// reservation.
|
||||
SlotMs int64 `json:"slotMs,omitempty,string"`
|
||||
|
||||
// ForceSendFields is a list of field names (e.g. "Name") 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. "Name") 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 *JobStatistics2ReservationUsage) MarshalJSON() ([]byte, error) {
|
||||
type NoMethod JobStatistics2ReservationUsage
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
type JobStatistics3 struct {
|
||||
// BadRecords: [Output-only] The number of bad records encountered. Note
|
||||
// that if the job has failed because of more bad records encountered
|
||||
|
@ -3393,13 +3430,16 @@ func (s *TableSchema) MarshalJSON() ([]byte, error) {
|
|||
|
||||
type TimePartitioning struct {
|
||||
// ExpirationMs: [Optional] Number of milliseconds for which to keep the
|
||||
// storage for a partition.
|
||||
// storage for partitions in the table. The storage in a partition will
|
||||
// have an expiration time of its partition time plus this value.
|
||||
ExpirationMs int64 `json:"expirationMs,omitempty,string"`
|
||||
|
||||
// Field: [Experimental] [Optional] If not set, the table is partitioned
|
||||
// by pseudo column '_PARTITIONTIME'; if set, the table is partitioned
|
||||
// by this field. The field must be a top-level TIMESTAMP or DATE field.
|
||||
// Its mode must be NULLABLE or REQUIRED.
|
||||
// by pseudo column, referenced via either '_PARTITIONTIME' as TIMESTAMP
|
||||
// type, or '_PARTITIONDATE' as DATE type. If field is specified, the
|
||||
// table is instead partitioned by this field. The field must be a
|
||||
// top-level TIMESTAMP or DATE field. Its mode must be NULLABLE or
|
||||
// REQUIRED.
|
||||
Field string `json:"field,omitempty"`
|
||||
|
||||
// RequirePartitionFilter: [Experimental] [Optional] If set to true,
|
||||
|
@ -4440,7 +4480,9 @@ func (r *JobsService) Cancel(projectId string, jobId string) *JobsCancelCall {
|
|||
}
|
||||
|
||||
// Location sets the optional parameter "location": [Experimental] The
|
||||
// geographic location of the job. Required except for US and EU.
|
||||
// geographic location of the job. Required except for US and EU. See
|
||||
// details at
|
||||
// https://cloud.google.com/bigquery/docs/dataset-locations#specifying_your_location.
|
||||
func (c *JobsCancelCall) Location(location string) *JobsCancelCall {
|
||||
c.urlParams_.Set("location", location)
|
||||
return c
|
||||
|
@ -4543,7 +4585,7 @@ func (c *JobsCancelCall) Do(opts ...googleapi.CallOption) (*JobCancelResponse, e
|
|||
// "type": "string"
|
||||
// },
|
||||
// "location": {
|
||||
// "description": "[Experimental] The geographic location of the job. Required except for US and EU.",
|
||||
// "description": "[Experimental] The geographic location of the job. Required except for US and EU. See details at https://cloud.google.com/bigquery/docs/dataset-locations#specifying_your_location.",
|
||||
// "location": "query",
|
||||
// "type": "string"
|
||||
// },
|
||||
|
@ -4589,7 +4631,9 @@ func (r *JobsService) Get(projectId string, jobId string) *JobsGetCall {
|
|||
}
|
||||
|
||||
// Location sets the optional parameter "location": [Experimental] The
|
||||
// geographic location of the job. Required except for US and EU.
|
||||
// geographic location of the job. Required except for US and EU. See
|
||||
// details at
|
||||
// https://cloud.google.com/bigquery/docs/dataset-locations#specifying_your_location.
|
||||
func (c *JobsGetCall) Location(location string) *JobsGetCall {
|
||||
c.urlParams_.Set("location", location)
|
||||
return c
|
||||
|
@ -4705,7 +4749,7 @@ func (c *JobsGetCall) Do(opts ...googleapi.CallOption) (*Job, error) {
|
|||
// "type": "string"
|
||||
// },
|
||||
// "location": {
|
||||
// "description": "[Experimental] The geographic location of the job. Required except for US and EU.",
|
||||
// "description": "[Experimental] The geographic location of the job. Required except for US and EU. See details at https://cloud.google.com/bigquery/docs/dataset-locations#specifying_your_location.",
|
||||
// "location": "query",
|
||||
// "type": "string"
|
||||
// },
|
||||
|
@ -4751,7 +4795,8 @@ func (r *JobsService) GetQueryResults(projectId string, jobId string) *JobsGetQu
|
|||
|
||||
// Location sets the optional parameter "location": [Experimental] The
|
||||
// geographic location where the job should run. Required except for US
|
||||
// and EU.
|
||||
// and EU. See details at
|
||||
// https://cloud.google.com/bigquery/docs/dataset-locations#specifying_your_location.
|
||||
func (c *JobsGetQueryResultsCall) Location(location string) *JobsGetQueryResultsCall {
|
||||
c.urlParams_.Set("location", location)
|
||||
return c
|
||||
|
@ -4897,7 +4942,7 @@ func (c *JobsGetQueryResultsCall) Do(opts ...googleapi.CallOption) (*GetQueryRes
|
|||
// "type": "string"
|
||||
// },
|
||||
// "location": {
|
||||
// "description": "[Experimental] The geographic location where the job should run. Required except for US and EU.",
|
||||
// "description": "[Experimental] The geographic location where the job should run. Required except for US and EU. See details at https://cloud.google.com/bigquery/docs/dataset-locations#specifying_your_location.",
|
||||
// "location": "query",
|
||||
// "type": "string"
|
||||
// },
|
||||
|
|
25
vendor/google.golang.org/api/bigquerydatatransfer/v1/bigquerydatatransfer-api.json
generated
vendored
25
vendor/google.golang.org/api/bigquerydatatransfer/v1/bigquerydatatransfer-api.json
generated
vendored
|
@ -66,11 +66,6 @@
|
|||
"location": "query",
|
||||
"type": "string"
|
||||
},
|
||||
"bearer_token": {
|
||||
"description": "OAuth bearer token.",
|
||||
"location": "query",
|
||||
"type": "string"
|
||||
},
|
||||
"callback": {
|
||||
"description": "JSONP",
|
||||
"location": "query",
|
||||
|
@ -91,12 +86,6 @@
|
|||
"location": "query",
|
||||
"type": "string"
|
||||
},
|
||||
"pp": {
|
||||
"default": "true",
|
||||
"description": "Pretty-print response.",
|
||||
"location": "query",
|
||||
"type": "boolean"
|
||||
},
|
||||
"prettyPrint": {
|
||||
"default": "true",
|
||||
"description": "Returns response with indentations and line breaks.",
|
||||
|
@ -1156,7 +1145,7 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
"revision": "20180429",
|
||||
"revision": "20180602",
|
||||
"rootUrl": "https://bigquerydatatransfer.googleapis.com/",
|
||||
"schemas": {
|
||||
"CheckValidCredsRequest": {
|
||||
|
@ -1287,7 +1276,7 @@
|
|||
"type": "string"
|
||||
},
|
||||
"updateDeadlineSeconds": {
|
||||
"description": "The number of seconds to wait for an update from the data source\nbefore BigQuery marks the transfer as failed.",
|
||||
"description": "The number of seconds to wait for an update from the data source\nbefore the Data Transfer Service marks the transfer as FAILED.",
|
||||
"format": "int32",
|
||||
"type": "integer"
|
||||
}
|
||||
|
@ -1314,7 +1303,7 @@
|
|||
"type": "string"
|
||||
},
|
||||
"fields": {
|
||||
"description": "When parameter is a record, describes child fields.",
|
||||
"description": "Deprecated. This field has no effect.",
|
||||
"items": {
|
||||
"$ref": "DataSourceParameter"
|
||||
},
|
||||
|
@ -1339,11 +1328,11 @@
|
|||
"type": "string"
|
||||
},
|
||||
"recurse": {
|
||||
"description": "If set to true, schema should be taken from the parent with the same\nparameter_id. Only applicable when parameter type is RECORD.",
|
||||
"description": "Deprecated. This field has no effect.",
|
||||
"type": "boolean"
|
||||
},
|
||||
"repeated": {
|
||||
"description": "Can parameter have multiple values.",
|
||||
"description": "Deprecated. This field has no effect.",
|
||||
"type": "boolean"
|
||||
},
|
||||
"required": {
|
||||
|
@ -1367,7 +1356,7 @@
|
|||
"Integer parameter (64-bits).\nWill be serialized to json as string.",
|
||||
"Double precision floating point parameter.",
|
||||
"Boolean parameter.",
|
||||
"Record parameter.",
|
||||
"Deprecated. This field has no effect.",
|
||||
"Page ID for a Google+ Page."
|
||||
],
|
||||
"type": "string"
|
||||
|
@ -1729,7 +1718,7 @@
|
|||
"type": "string"
|
||||
},
|
||||
"schedule": {
|
||||
"description": "Output only. Describes the schedule of this transfer run if it was\ncreated as part of a regular schedule. For batch transfer runs that are\nscheduled manually, this is empty.\nNOTE: the system might choose to delay the schedule depending on the\ncurrent load, so `schedule_time` doesn't always matches this.",
|
||||
"description": "Output only. Describes the schedule of this transfer run if it was\ncreated as part of a regular schedule. For batch transfer runs that are\nscheduled manually, this is empty.\nNOTE: the system might choose to delay the schedule depending on the\ncurrent load, so `schedule_time` doesn't always match this.",
|
||||
"type": "string"
|
||||
},
|
||||
"scheduleTime": {
|
||||
|
|
14
vendor/google.golang.org/api/bigquerydatatransfer/v1/bigquerydatatransfer-gen.go
generated
vendored
14
vendor/google.golang.org/api/bigquerydatatransfer/v1/bigquerydatatransfer-gen.go
generated
vendored
|
@ -357,7 +357,7 @@ type DataSource struct {
|
|||
|
||||
// UpdateDeadlineSeconds: The number of seconds to wait for an update
|
||||
// from the data source
|
||||
// before BigQuery marks the transfer as failed.
|
||||
// before the Data Transfer Service marks the transfer as FAILED.
|
||||
UpdateDeadlineSeconds int64 `json:"updateDeadlineSeconds,omitempty"`
|
||||
|
||||
// ServerResponse contains the HTTP response code and headers from the
|
||||
|
@ -408,7 +408,7 @@ type DataSourceParameter struct {
|
|||
// DisplayName: Parameter display name in the user interface.
|
||||
DisplayName string `json:"displayName,omitempty"`
|
||||
|
||||
// Fields: When parameter is a record, describes child fields.
|
||||
// Fields: Deprecated. This field has no effect.
|
||||
Fields []*DataSourceParameter `json:"fields,omitempty"`
|
||||
|
||||
// Immutable: Cannot be changed after initial creation.
|
||||
|
@ -425,12 +425,10 @@ type DataSourceParameter struct {
|
|||
// ParamId: Parameter identifier.
|
||||
ParamId string `json:"paramId,omitempty"`
|
||||
|
||||
// Recurse: If set to true, schema should be taken from the parent with
|
||||
// the same
|
||||
// parameter_id. Only applicable when parameter type is RECORD.
|
||||
// Recurse: Deprecated. This field has no effect.
|
||||
Recurse bool `json:"recurse,omitempty"`
|
||||
|
||||
// Repeated: Can parameter have multiple values.
|
||||
// Repeated: Deprecated. This field has no effect.
|
||||
Repeated bool `json:"repeated,omitempty"`
|
||||
|
||||
// Required: Is parameter required.
|
||||
|
@ -445,7 +443,7 @@ type DataSourceParameter struct {
|
|||
// Will be serialized to json as string.
|
||||
// "DOUBLE" - Double precision floating point parameter.
|
||||
// "BOOLEAN" - Boolean parameter.
|
||||
// "RECORD" - Record parameter.
|
||||
// "RECORD" - Deprecated. This field has no effect.
|
||||
// "PLUS_PAGE" - Page ID for a Google+ Page.
|
||||
Type string `json:"type,omitempty"`
|
||||
|
||||
|
@ -1171,7 +1169,7 @@ type TransferRun struct {
|
|||
// scheduled manually, this is empty.
|
||||
// NOTE: the system might choose to delay the schedule depending on
|
||||
// the
|
||||
// current load, so `schedule_time` doesn't always matches this.
|
||||
// current load, so `schedule_time` doesn't always match this.
|
||||
Schedule string `json:"schedule,omitempty"`
|
||||
|
||||
// ScheduleTime: Minimum time after which a transfer run can be started.
|
||||
|
|
73
vendor/google.golang.org/api/chat/v1/chat-api.json
generated
vendored
73
vendor/google.golang.org/api/chat/v1/chat-api.json
generated
vendored
|
@ -3,7 +3,7 @@
|
|||
"baseUrl": "https://chat.googleapis.com/",
|
||||
"batchPath": "batch",
|
||||
"canonicalName": "Hangouts Chat",
|
||||
"description": "Enables bots to fetch information and perform actions in the new Hangouts Chat.",
|
||||
"description": "Enables bots to fetch information and perform actions in Hangouts Chat.",
|
||||
"discoveryVersion": "v1",
|
||||
"documentationLink": "https://developers.google.com/hangouts/chat",
|
||||
"fullyEncodeReservedExpansion": true,
|
||||
|
@ -51,11 +51,6 @@
|
|||
"location": "query",
|
||||
"type": "string"
|
||||
},
|
||||
"bearer_token": {
|
||||
"description": "OAuth bearer token.",
|
||||
"location": "query",
|
||||
"type": "string"
|
||||
},
|
||||
"callback": {
|
||||
"description": "JSONP",
|
||||
"location": "query",
|
||||
|
@ -76,12 +71,6 @@
|
|||
"location": "query",
|
||||
"type": "string"
|
||||
},
|
||||
"pp": {
|
||||
"default": "true",
|
||||
"description": "Pretty-print response.",
|
||||
"location": "query",
|
||||
"type": "boolean"
|
||||
},
|
||||
"prettyPrint": {
|
||||
"default": "true",
|
||||
"description": "Returns response with indentations and line breaks.",
|
||||
|
@ -327,7 +316,7 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
"revision": "20180424",
|
||||
"revision": "20180606",
|
||||
"rootUrl": "https://chat.googleapis.com/",
|
||||
"schemas": {
|
||||
"ActionParameter": {
|
||||
|
@ -496,6 +485,64 @@
|
|||
},
|
||||
"type": "object"
|
||||
},
|
||||
"DeprecatedEvent": {
|
||||
"description": "Hangouts Chat events.",
|
||||
"id": "DeprecatedEvent",
|
||||
"properties": {
|
||||
"action": {
|
||||
"$ref": "FormAction",
|
||||
"description": "The form action data associated with an interactive card that was clicked.\nOnly populated for\nCARD_CLICKED events.\nSee the [Interactive Cards guide](/hangouts/chat/how-tos/cards-onclick) for\nmore information."
|
||||
},
|
||||
"configCompleteRedirectUrl": {
|
||||
"description": "The URL the bot should redirect the user to after they have completed an\nauthorization or configuration flow outside of Hangouts Chat. See the\n[Authorizing access to 3p services guide](/hangouts/chat/how-tos/auth-3p)\nfor more information.",
|
||||
"type": "string"
|
||||
},
|
||||
"eventTime": {
|
||||
"description": "The timestamp indicating when the event was dispatched.",
|
||||
"format": "google-datetime",
|
||||
"type": "string"
|
||||
},
|
||||
"message": {
|
||||
"$ref": "Message",
|
||||
"description": "The message that triggered the event."
|
||||
},
|
||||
"space": {
|
||||
"$ref": "Space",
|
||||
"description": "The room or DM in which the event occurred."
|
||||
},
|
||||
"threadKey": {
|
||||
"description": "The bot-defined key for the thread related to the event. See the\nthread_key field of the\n`spaces.message.create` request for more information.",
|
||||
"type": "string"
|
||||
},
|
||||
"token": {
|
||||
"description": "A secret value that bots can use to verify if a request is from Google. The\ntoken is randomly generated by Google, remains static, and can be obtained\nfrom the Hangouts Chat API configuration page in the Cloud Console.\nDevelopers can revoke/regenerate it if needed from the same page.",
|
||||
"type": "string"
|
||||
},
|
||||
"type": {
|
||||
"description": "The type of the event.",
|
||||
"enum": [
|
||||
"UNSPECIFIED",
|
||||
"MESSAGE",
|
||||
"ADDED_TO_SPACE",
|
||||
"REMOVED_FROM_SPACE",
|
||||
"CARD_CLICKED"
|
||||
],
|
||||
"enumDescriptions": [
|
||||
"Default value for the enum. DO NOT USE.",
|
||||
"A message was sent in a room or direct message.",
|
||||
"The bot was added to a room or DM.",
|
||||
"The bot was removed from a room or DM.",
|
||||
"The bot's interactive card was clicked."
|
||||
],
|
||||
"type": "string"
|
||||
},
|
||||
"user": {
|
||||
"$ref": "User",
|
||||
"description": "The user that triggered the event."
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"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 `{}`.",
|
||||
"id": "Empty",
|
||||
|
|
80
vendor/google.golang.org/api/chat/v1/chat-gen.go
generated
vendored
80
vendor/google.golang.org/api/chat/v1/chat-gen.go
generated
vendored
|
@ -400,6 +400,86 @@ func (s *CardHeader) MarshalJSON() ([]byte, error) {
|
|||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
// DeprecatedEvent: Hangouts Chat events.
|
||||
type DeprecatedEvent struct {
|
||||
// Action: The form action data associated with an interactive card that
|
||||
// was clicked.
|
||||
// Only populated for
|
||||
// CARD_CLICKED events.
|
||||
// See the [Interactive Cards
|
||||
// guide](/hangouts/chat/how-tos/cards-onclick) for
|
||||
// more information.
|
||||
Action *FormAction `json:"action,omitempty"`
|
||||
|
||||
// ConfigCompleteRedirectUrl: The URL the bot should redirect the user
|
||||
// to after they have completed an
|
||||
// authorization or configuration flow outside of Hangouts Chat. See
|
||||
// the
|
||||
// [Authorizing access to 3p services
|
||||
// guide](/hangouts/chat/how-tos/auth-3p)
|
||||
// for more information.
|
||||
ConfigCompleteRedirectUrl string `json:"configCompleteRedirectUrl,omitempty"`
|
||||
|
||||
// EventTime: The timestamp indicating when the event was dispatched.
|
||||
EventTime string `json:"eventTime,omitempty"`
|
||||
|
||||
// Message: The message that triggered the event.
|
||||
Message *Message `json:"message,omitempty"`
|
||||
|
||||
// Space: The room or DM in which the event occurred.
|
||||
Space *Space `json:"space,omitempty"`
|
||||
|
||||
// ThreadKey: The bot-defined key for the thread related to the event.
|
||||
// See the
|
||||
// thread_key field of the
|
||||
// `spaces.message.create` request for more information.
|
||||
ThreadKey string `json:"threadKey,omitempty"`
|
||||
|
||||
// Token: A secret value that bots can use to verify if a request is
|
||||
// from Google. The
|
||||
// token is randomly generated by Google, remains static, and can be
|
||||
// obtained
|
||||
// from the Hangouts Chat API configuration page in the Cloud
|
||||
// Console.
|
||||
// Developers can revoke/regenerate it if needed from the same page.
|
||||
Token string `json:"token,omitempty"`
|
||||
|
||||
// Type: The type of the event.
|
||||
//
|
||||
// Possible values:
|
||||
// "UNSPECIFIED" - Default value for the enum. DO NOT USE.
|
||||
// "MESSAGE" - A message was sent in a room or direct message.
|
||||
// "ADDED_TO_SPACE" - The bot was added to a room or DM.
|
||||
// "REMOVED_FROM_SPACE" - The bot was removed from a room or DM.
|
||||
// "CARD_CLICKED" - The bot's interactive card was clicked.
|
||||
Type string `json:"type,omitempty"`
|
||||
|
||||
// User: The user that triggered the event.
|
||||
User *User `json:"user,omitempty"`
|
||||
|
||||
// ForceSendFields is a list of field names (e.g. "Action") 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. "Action") 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 *DeprecatedEvent) MarshalJSON() ([]byte, error) {
|
||||
type NoMethod DeprecatedEvent
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
// Empty: A generic empty message that you can re-use to avoid defining
|
||||
// duplicated
|
||||
// empty messages in your APIs. A typical example is to use it as the
|
||||
|
|
27
vendor/google.golang.org/api/classroom/v1/classroom-api.json
generated
vendored
27
vendor/google.golang.org/api/classroom/v1/classroom-api.json
generated
vendored
|
@ -109,11 +109,6 @@
|
|||
"location": "query",
|
||||
"type": "string"
|
||||
},
|
||||
"bearer_token": {
|
||||
"description": "OAuth bearer token.",
|
||||
"location": "query",
|
||||
"type": "string"
|
||||
},
|
||||
"callback": {
|
||||
"description": "JSONP",
|
||||
"location": "query",
|
||||
|
@ -134,12 +129,6 @@
|
|||
"location": "query",
|
||||
"type": "string"
|
||||
},
|
||||
"pp": {
|
||||
"default": "true",
|
||||
"description": "Pretty-print response.",
|
||||
"location": "query",
|
||||
"type": "boolean"
|
||||
},
|
||||
"prettyPrint": {
|
||||
"default": "true",
|
||||
"description": "Returns response with indentations and line breaks.",
|
||||
|
@ -1644,7 +1633,7 @@
|
|||
"registrations": {
|
||||
"methods": {
|
||||
"create": {
|
||||
"description": "Creates a `Registration`, causing Classroom to start sending notifications\nfrom the provided `feed` to the provided `destination`.\n\nReturns the created `Registration`. Currently, this will be the same as\nthe argument, but with server-assigned fields such as `expiry_time` and\n`id` filled in.\n\nNote that any value specified for the `expiry_time` or `id` fields will be\nignored.\n\nWhile Classroom may validate the `destination` and return errors on a best\neffort basis, it is the caller's responsibility to ensure that it exists\nand that Classroom has permission to publish to it.\n\nThis method may return the following error codes:\n\n* `PERMISSION_DENIED` if:\n * the authenticated user does not have permission to receive\n notifications from the requested field; or\n * the credential provided does not include the appropriate scope for the\n requested feed.\n * another access error is encountered.\n* `INVALID_ARGUMENT` if:\n * no `destination` is specified, or the specified `destination` is not\n valid; or\n * no `feed` is specified, or the specified `feed` is not valid.\n* `NOT_FOUND` if:\n * the specified `feed` cannot be located, or the requesting user does not\n have permission to determine whether or not it exists; or\n * the specified `destination` cannot be located, or Classroom has not\n been granted permission to publish to it.",
|
||||
"description": "Creates a `Registration`, causing Classroom to start sending notifications\nfrom the provided `feed` to the destination provided in `cloudPubSubTopic`.\n\nReturns the created `Registration`. Currently, this will be the same as\nthe argument, but with server-assigned fields such as `expiry_time` and\n`id` filled in.\n\nNote that any value specified for the `expiry_time` or `id` fields will be\nignored.\n\nWhile Classroom may validate the `cloudPubSubTopic` and return errors on a\nbest effort basis, it is the caller's responsibility to ensure that it\nexists and that Classroom has permission to publish to it.\n\nThis method may return the following error codes:\n\n* `PERMISSION_DENIED` if:\n * the authenticated user does not have permission to receive\n notifications from the requested field; or\n * the credential provided does not include the appropriate scope for\n the requested feed.\n * another access error is encountered.\n* `INVALID_ARGUMENT` if:\n * no `cloudPubsubTopic` is specified, or the specified\n `cloudPubsubTopic` is not valid; or\n * no `feed` is specified, or the specified `feed` is not valid.\n* `NOT_FOUND` if:\n * the specified `feed` cannot be located, or the requesting user does\n not have permission to determine whether or not it exists; or\n * the specified `cloudPubsubTopic` cannot be located, or Classroom has\n not been granted permission to publish to it.",
|
||||
"flatPath": "v1/registrations",
|
||||
"httpMethod": "POST",
|
||||
"id": "classroom.registrations.create",
|
||||
|
@ -1658,9 +1647,7 @@
|
|||
"$ref": "Registration"
|
||||
},
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/classroom.push-notifications",
|
||||
"https://www.googleapis.com/auth/classroom.rosters",
|
||||
"https://www.googleapis.com/auth/classroom.rosters.readonly"
|
||||
"https://www.googleapis.com/auth/classroom.push-notifications"
|
||||
]
|
||||
},
|
||||
"delete": {
|
||||
|
@ -1684,9 +1671,7 @@
|
|||
"$ref": "Empty"
|
||||
},
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/classroom.push-notifications",
|
||||
"https://www.googleapis.com/auth/classroom.rosters",
|
||||
"https://www.googleapis.com/auth/classroom.rosters.readonly"
|
||||
"https://www.googleapis.com/auth/classroom.push-notifications"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
@ -1990,7 +1975,7 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
"revision": "20180423",
|
||||
"revision": "20180605",
|
||||
"rootUrl": "https://classroom.googleapis.com/",
|
||||
"schemas": {
|
||||
"Announcement": {
|
||||
|
@ -3087,7 +3072,7 @@
|
|||
"type": "object"
|
||||
},
|
||||
"Registration": {
|
||||
"description": "An instruction to Classroom to send notifications from the `feed` to the\nprovided `destination`.",
|
||||
"description": "An instruction to Classroom to send notifications from the `feed` to the\nprovided destination.",
|
||||
"id": "Registration",
|
||||
"properties": {
|
||||
"cloudPubsubTopic": {
|
||||
|
@ -3101,7 +3086,7 @@
|
|||
},
|
||||
"feed": {
|
||||
"$ref": "Feed",
|
||||
"description": "Specification for the class of notifications that Classroom should deliver\nto the `destination`."
|
||||
"description": "Specification for the class of notifications that Classroom should deliver\nto the destination."
|
||||
},
|
||||
"registrationId": {
|
||||
"description": "A server-generated unique identifier for this `Registration`.\n\nRead-only.",
|
||||
|
|
46
vendor/google.golang.org/api/classroom/v1/classroom-gen.go
generated
vendored
46
vendor/google.golang.org/api/classroom/v1/classroom-gen.go
generated
vendored
|
@ -2403,7 +2403,7 @@ type ReclaimStudentSubmissionRequest struct {
|
|||
|
||||
// Registration: An instruction to Classroom to send notifications from
|
||||
// the `feed` to the
|
||||
// provided `destination`.
|
||||
// provided destination.
|
||||
type Registration struct {
|
||||
// CloudPubsubTopic: The Cloud Pub/Sub topic that notifications are to
|
||||
// be sent to.
|
||||
|
@ -2417,7 +2417,7 @@ type Registration struct {
|
|||
|
||||
// Feed: Specification for the class of notifications that Classroom
|
||||
// should deliver
|
||||
// to the `destination`.
|
||||
// to the destination.
|
||||
Feed *Feed `json:"feed,omitempty"`
|
||||
|
||||
// RegistrationId: A server-generated unique identifier for this
|
||||
|
@ -10193,7 +10193,8 @@ type RegistrationsCreateCall struct {
|
|||
|
||||
// Create: Creates a `Registration`, causing Classroom to start sending
|
||||
// notifications
|
||||
// from the provided `feed` to the provided `destination`.
|
||||
// from the provided `feed` to the destination provided in
|
||||
// `cloudPubSubTopic`.
|
||||
//
|
||||
// Returns the created `Registration`. Currently, this will be the same
|
||||
// as
|
||||
|
@ -10205,11 +10206,11 @@ type RegistrationsCreateCall struct {
|
|||
// will be
|
||||
// ignored.
|
||||
//
|
||||
// While Classroom may validate the `destination` and return errors on a
|
||||
// best
|
||||
// effort basis, it is the caller's responsibility to ensure that it
|
||||
// exists
|
||||
// and that Classroom has permission to publish to it.
|
||||
// While Classroom may validate the `cloudPubSubTopic` and return errors
|
||||
// on a
|
||||
// best effort basis, it is the caller's responsibility to ensure that
|
||||
// it
|
||||
// exists and that Classroom has permission to publish to it.
|
||||
//
|
||||
// This method may return the following error codes:
|
||||
//
|
||||
|
@ -10217,21 +10218,20 @@ type RegistrationsCreateCall struct {
|
|||
// * the authenticated user does not have permission to receive
|
||||
// notifications from the requested field; or
|
||||
// * the credential provided does not include the appropriate scope
|
||||
// for the
|
||||
// requested feed.
|
||||
// for
|
||||
// the requested feed.
|
||||
// * another access error is encountered.
|
||||
// * `INVALID_ARGUMENT` if:
|
||||
// * no `destination` is specified, or the specified `destination`
|
||||
// is not
|
||||
// valid; or
|
||||
// * no `cloudPubsubTopic` is specified, or the specified
|
||||
// `cloudPubsubTopic` is not valid; or
|
||||
// * no `feed` is specified, or the specified `feed` is not valid.
|
||||
// * `NOT_FOUND` if:
|
||||
// * the specified `feed` cannot be located, or the requesting user
|
||||
// does not
|
||||
// have permission to determine whether or not it exists; or
|
||||
// * the specified `destination` cannot be located, or Classroom has
|
||||
// not
|
||||
// been granted permission to publish to it.
|
||||
// does
|
||||
// not have permission to determine whether or not it exists; or
|
||||
// * the specified `cloudPubsubTopic` cannot be located, or
|
||||
// Classroom has
|
||||
// not been granted permission to publish to it.
|
||||
func (r *RegistrationsService) Create(registration *Registration) *RegistrationsCreateCall {
|
||||
c := &RegistrationsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
|
||||
c.registration = registration
|
||||
|
@ -10321,7 +10321,7 @@ func (c *RegistrationsCreateCall) Do(opts ...googleapi.CallOption) (*Registratio
|
|||
}
|
||||
return ret, nil
|
||||
// {
|
||||
// "description": "Creates a `Registration`, causing Classroom to start sending notifications\nfrom the provided `feed` to the provided `destination`.\n\nReturns the created `Registration`. Currently, this will be the same as\nthe argument, but with server-assigned fields such as `expiry_time` and\n`id` filled in.\n\nNote that any value specified for the `expiry_time` or `id` fields will be\nignored.\n\nWhile Classroom may validate the `destination` and return errors on a best\neffort basis, it is the caller's responsibility to ensure that it exists\nand that Classroom has permission to publish to it.\n\nThis method may return the following error codes:\n\n* `PERMISSION_DENIED` if:\n * the authenticated user does not have permission to receive\n notifications from the requested field; or\n * the credential provided does not include the appropriate scope for the\n requested feed.\n * another access error is encountered.\n* `INVALID_ARGUMENT` if:\n * no `destination` is specified, or the specified `destination` is not\n valid; or\n * no `feed` is specified, or the specified `feed` is not valid.\n* `NOT_FOUND` if:\n * the specified `feed` cannot be located, or the requesting user does not\n have permission to determine whether or not it exists; or\n * the specified `destination` cannot be located, or Classroom has not\n been granted permission to publish to it.",
|
||||
// "description": "Creates a `Registration`, causing Classroom to start sending notifications\nfrom the provided `feed` to the destination provided in `cloudPubSubTopic`.\n\nReturns the created `Registration`. Currently, this will be the same as\nthe argument, but with server-assigned fields such as `expiry_time` and\n`id` filled in.\n\nNote that any value specified for the `expiry_time` or `id` fields will be\nignored.\n\nWhile Classroom may validate the `cloudPubSubTopic` and return errors on a\nbest effort basis, it is the caller's responsibility to ensure that it\nexists and that Classroom has permission to publish to it.\n\nThis method may return the following error codes:\n\n* `PERMISSION_DENIED` if:\n * the authenticated user does not have permission to receive\n notifications from the requested field; or\n * the credential provided does not include the appropriate scope for\n the requested feed.\n * another access error is encountered.\n* `INVALID_ARGUMENT` if:\n * no `cloudPubsubTopic` is specified, or the specified\n `cloudPubsubTopic` is not valid; or\n * no `feed` is specified, or the specified `feed` is not valid.\n* `NOT_FOUND` if:\n * the specified `feed` cannot be located, or the requesting user does\n not have permission to determine whether or not it exists; or\n * the specified `cloudPubsubTopic` cannot be located, or Classroom has\n not been granted permission to publish to it.",
|
||||
// "flatPath": "v1/registrations",
|
||||
// "httpMethod": "POST",
|
||||
// "id": "classroom.registrations.create",
|
||||
|
@ -10335,9 +10335,7 @@ func (c *RegistrationsCreateCall) Do(opts ...googleapi.CallOption) (*Registratio
|
|||
// "$ref": "Registration"
|
||||
// },
|
||||
// "scopes": [
|
||||
// "https://www.googleapis.com/auth/classroom.push-notifications",
|
||||
// "https://www.googleapis.com/auth/classroom.rosters",
|
||||
// "https://www.googleapis.com/auth/classroom.rosters.readonly"
|
||||
// "https://www.googleapis.com/auth/classroom.push-notifications"
|
||||
// ]
|
||||
// }
|
||||
|
||||
|
@ -10463,9 +10461,7 @@ func (c *RegistrationsDeleteCall) Do(opts ...googleapi.CallOption) (*Empty, erro
|
|||
// "$ref": "Empty"
|
||||
// },
|
||||
// "scopes": [
|
||||
// "https://www.googleapis.com/auth/classroom.push-notifications",
|
||||
// "https://www.googleapis.com/auth/classroom.rosters",
|
||||
// "https://www.googleapis.com/auth/classroom.rosters.readonly"
|
||||
// "https://www.googleapis.com/auth/classroom.push-notifications"
|
||||
// ]
|
||||
// }
|
||||
|
||||
|
|
13
vendor/google.golang.org/api/cloudbuild/v1/cloudbuild-api.json
generated
vendored
13
vendor/google.golang.org/api/cloudbuild/v1/cloudbuild-api.json
generated
vendored
|
@ -59,11 +59,6 @@
|
|||
"location": "query",
|
||||
"type": "string"
|
||||
},
|
||||
"bearer_token": {
|
||||
"description": "OAuth bearer token.",
|
||||
"location": "query",
|
||||
"type": "string"
|
||||
},
|
||||
"callback": {
|
||||
"description": "JSONP",
|
||||
"location": "query",
|
||||
|
@ -84,12 +79,6 @@
|
|||
"location": "query",
|
||||
"type": "string"
|
||||
},
|
||||
"pp": {
|
||||
"default": "true",
|
||||
"description": "Pretty-print response.",
|
||||
"location": "query",
|
||||
"type": "boolean"
|
||||
},
|
||||
"prettyPrint": {
|
||||
"default": "true",
|
||||
"description": "Returns response with indentations and line breaks.",
|
||||
|
@ -572,7 +561,7 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
"revision": "20180406",
|
||||
"revision": "20180607",
|
||||
"rootUrl": "https://cloudbuild.googleapis.com/",
|
||||
"schemas": {
|
||||
"ArtifactObjects": {
|
||||
|
|
17
vendor/google.golang.org/api/clouddebugger/v2/clouddebugger-api.json
generated
vendored
17
vendor/google.golang.org/api/clouddebugger/v2/clouddebugger-api.json
generated
vendored
|
@ -17,7 +17,7 @@
|
|||
"canonicalName": "Cloud Debugger",
|
||||
"description": "Examines the call stack and variables of a running application without stopping or slowing it down.\n",
|
||||
"discoveryVersion": "v1",
|
||||
"documentationLink": "http://cloud.google.com/debugger",
|
||||
"documentationLink": "https://cloud.google.com/debugger",
|
||||
"icons": {
|
||||
"x16": "http://www.google.com/images/icons/product/search-16.gif",
|
||||
"x32": "http://www.google.com/images/icons/product/search-32.gif"
|
||||
|
@ -62,11 +62,6 @@
|
|||
"location": "query",
|
||||
"type": "string"
|
||||
},
|
||||
"bearer_token": {
|
||||
"description": "OAuth bearer token.",
|
||||
"location": "query",
|
||||
"type": "string"
|
||||
},
|
||||
"callback": {
|
||||
"description": "JSONP",
|
||||
"location": "query",
|
||||
|
@ -87,12 +82,6 @@
|
|||
"location": "query",
|
||||
"type": "string"
|
||||
},
|
||||
"pp": {
|
||||
"default": "true",
|
||||
"description": "Pretty-print response.",
|
||||
"location": "query",
|
||||
"type": "boolean"
|
||||
},
|
||||
"prettyPrint": {
|
||||
"default": "true",
|
||||
"description": "Returns response with indentations and line breaks.",
|
||||
|
@ -433,7 +422,7 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
"revision": "20180131",
|
||||
"revision": "20180604",
|
||||
"rootUrl": "https://clouddebugger.googleapis.com/",
|
||||
"schemas": {
|
||||
"AliasContext": {
|
||||
|
@ -545,7 +534,7 @@
|
|||
"type": "string"
|
||||
},
|
||||
"stackFrames": {
|
||||
"description": "The stack at breakpoint time.",
|
||||
"description": "The stack at breakpoint time, where stack_frames[0] represents the most\nrecently entered function.",
|
||||
"items": {
|
||||
"$ref": "StackFrame"
|
||||
},
|
||||
|
|
6
vendor/google.golang.org/api/clouddebugger/v2/clouddebugger-gen.go
generated
vendored
6
vendor/google.golang.org/api/clouddebugger/v2/clouddebugger-gen.go
generated
vendored
|
@ -1,6 +1,6 @@
|
|||
// Package clouddebugger provides access to the Stackdriver Debugger API.
|
||||
//
|
||||
// See http://cloud.google.com/debugger
|
||||
// See https://cloud.google.com/debugger
|
||||
//
|
||||
// Usage example:
|
||||
//
|
||||
|
@ -280,7 +280,9 @@ type Breakpoint struct {
|
|||
// `expressions` = `[ message.id, message.count ]`.
|
||||
LogMessageFormat string `json:"logMessageFormat,omitempty"`
|
||||
|
||||
// StackFrames: The stack at breakpoint time.
|
||||
// StackFrames: The stack at breakpoint time, where stack_frames[0]
|
||||
// represents the most
|
||||
// recently entered function.
|
||||
StackFrames []*StackFrame `json:"stackFrames,omitempty"`
|
||||
|
||||
// Status: Breakpoint status.
|
||||
|
|
8
vendor/google.golang.org/api/cloudfunctions/v1/cloudfunctions-api.json
generated
vendored
8
vendor/google.golang.org/api/cloudfunctions/v1/cloudfunctions-api.json
generated
vendored
|
@ -469,7 +469,7 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
"revision": "20180416",
|
||||
"revision": "20180420",
|
||||
"rootUrl": "https://cloudfunctions.googleapis.com/",
|
||||
"schemas": {
|
||||
"CallFunctionRequest": {
|
||||
|
@ -538,6 +538,10 @@
|
|||
"description": "A user-defined name of the function. Function names must be unique\nglobally and match pattern `projects/*/locations/*/functions/*`",
|
||||
"type": "string"
|
||||
},
|
||||
"runtime": {
|
||||
"description": "The runtime in which the function is going to run. If empty, defaults to\nNode.js 6.",
|
||||
"type": "string"
|
||||
},
|
||||
"serviceAccountEmail": {
|
||||
"description": "Output only. The email of the function's service account.",
|
||||
"type": "string"
|
||||
|
@ -940,7 +944,7 @@
|
|||
}
|
||||
},
|
||||
"servicePath": "",
|
||||
"title": "Google Cloud Functions API",
|
||||
"title": "Cloud Functions API",
|
||||
"version": "v1",
|
||||
"version_module": true
|
||||
}
|
7
vendor/google.golang.org/api/cloudfunctions/v1/cloudfunctions-gen.go
generated
vendored
7
vendor/google.golang.org/api/cloudfunctions/v1/cloudfunctions-gen.go
generated
vendored
|
@ -1,4 +1,4 @@
|
|||
// Package cloudfunctions provides access to the Google Cloud Functions API.
|
||||
// Package cloudfunctions provides access to the Cloud Functions API.
|
||||
//
|
||||
// See https://cloud.google.com/functions
|
||||
//
|
||||
|
@ -232,6 +232,11 @@ type CloudFunction struct {
|
|||
// globally and match pattern `projects/*/locations/*/functions/*`
|
||||
Name string `json:"name,omitempty"`
|
||||
|
||||
// Runtime: The runtime in which the function is going to run. If empty,
|
||||
// defaults to
|
||||
// Node.js 6.
|
||||
Runtime string `json:"runtime,omitempty"`
|
||||
|
||||
// ServiceAccountEmail: Output only. The email of the function's service
|
||||
// account.
|
||||
ServiceAccountEmail string `json:"serviceAccountEmail,omitempty"`
|
||||
|
|
8
vendor/google.golang.org/api/cloudfunctions/v1beta2/cloudfunctions-api.json
generated
vendored
8
vendor/google.golang.org/api/cloudfunctions/v1beta2/cloudfunctions-api.json
generated
vendored
|
@ -463,7 +463,7 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
"revision": "20180416",
|
||||
"revision": "20180420",
|
||||
"rootUrl": "https://cloudfunctions.googleapis.com/",
|
||||
"schemas": {
|
||||
"CallFunctionRequest": {
|
||||
|
@ -532,6 +532,10 @@
|
|||
"description": "A user-defined name of the function. Function names must be unique\nglobally and match pattern `projects/*/locations/*/functions/*`",
|
||||
"type": "string"
|
||||
},
|
||||
"runtime": {
|
||||
"description": "The runtime in which the function is going to run. If empty, defaults to\nNode.js 6.",
|
||||
"type": "string"
|
||||
},
|
||||
"serviceAccount": {
|
||||
"description": "Output only. The service account of the function.",
|
||||
"type": "string"
|
||||
|
@ -952,7 +956,7 @@
|
|||
}
|
||||
},
|
||||
"servicePath": "",
|
||||
"title": "Google Cloud Functions API",
|
||||
"title": "Cloud Functions API",
|
||||
"version": "v1beta2",
|
||||
"version_module": true
|
||||
}
|
7
vendor/google.golang.org/api/cloudfunctions/v1beta2/cloudfunctions-gen.go
generated
vendored
7
vendor/google.golang.org/api/cloudfunctions/v1beta2/cloudfunctions-gen.go
generated
vendored
|
@ -1,4 +1,4 @@
|
|||
// Package cloudfunctions provides access to the Google Cloud Functions API.
|
||||
// Package cloudfunctions provides access to the Cloud Functions API.
|
||||
//
|
||||
// See https://cloud.google.com/functions
|
||||
//
|
||||
|
@ -236,6 +236,11 @@ type CloudFunction struct {
|
|||
// globally and match pattern `projects/*/locations/*/functions/*`
|
||||
Name string `json:"name,omitempty"`
|
||||
|
||||
// Runtime: The runtime in which the function is going to run. If empty,
|
||||
// defaults to
|
||||
// Node.js 6.
|
||||
Runtime string `json:"runtime,omitempty"`
|
||||
|
||||
// ServiceAccount: Output only. The service account of the function.
|
||||
ServiceAccount string `json:"serviceAccount,omitempty"`
|
||||
|
||||
|
|
370
vendor/google.golang.org/api/cloudiot/v1/cloudiot-api.json
generated
vendored
370
vendor/google.golang.org/api/cloudiot/v1/cloudiot-api.json
generated
vendored
|
@ -63,11 +63,6 @@
|
|||
"location": "query",
|
||||
"type": "string"
|
||||
},
|
||||
"bearer_token": {
|
||||
"description": "OAuth bearer token.",
|
||||
"location": "query",
|
||||
"type": "string"
|
||||
},
|
||||
"callback": {
|
||||
"description": "JSONP",
|
||||
"location": "query",
|
||||
|
@ -88,12 +83,6 @@
|
|||
"location": "query",
|
||||
"type": "string"
|
||||
},
|
||||
"pp": {
|
||||
"default": "true",
|
||||
"description": "Pretty-print response.",
|
||||
"location": "query",
|
||||
"type": "boolean"
|
||||
},
|
||||
"prettyPrint": {
|
||||
"default": "true",
|
||||
"description": "Returns response with indentations and line breaks.",
|
||||
|
@ -122,70 +111,6 @@
|
|||
"resources": {
|
||||
"locations": {
|
||||
"resources": {
|
||||
"groups": {
|
||||
"resources": {
|
||||
"devices": {
|
||||
"methods": {
|
||||
"list": {
|
||||
"description": "List devices in a device registry.",
|
||||
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/groups/{groupsId}/devices",
|
||||
"httpMethod": "GET",
|
||||
"id": "cloudiot.projects.locations.groups.devices.list",
|
||||
"parameterOrder": [
|
||||
"parent"
|
||||
],
|
||||
"parameters": {
|
||||
"deviceIds": {
|
||||
"description": "A list of device string identifiers. If empty, it will ignore this field.\nFor example, `['device0', 'device12']`. This field cannot hold more than\n10,000 entries.",
|
||||
"location": "query",
|
||||
"repeated": true,
|
||||
"type": "string"
|
||||
},
|
||||
"deviceNumIds": {
|
||||
"description": "A list of device numerical ids. If empty, it will ignore this field. This\nfield cannot hold more than 10,000 entries.",
|
||||
"format": "uint64",
|
||||
"location": "query",
|
||||
"repeated": true,
|
||||
"type": "string"
|
||||
},
|
||||
"fieldMask": {
|
||||
"description": "The fields of the `Device` resource to be returned in the response. The\nfields `id`, and `num_id` are always returned by default, along with any\nother fields specified.",
|
||||
"format": "google-fieldmask",
|
||||
"location": "query",
|
||||
"type": "string"
|
||||
},
|
||||
"pageSize": {
|
||||
"description": "The maximum number of devices to return in the response. If this value\nis zero, the service will select a default size. A call may return fewer\nobjects than requested, but if there is a non-empty `page_token`, it\nindicates that more entries are available.",
|
||||
"format": "int32",
|
||||
"location": "query",
|
||||
"type": "integer"
|
||||
},
|
||||
"pageToken": {
|
||||
"description": "The value returned by the last `ListDevicesResponse`; indicates\nthat this is a continuation of a prior `ListDevices` call, and\nthat the system should return the next page of data.",
|
||||
"location": "query",
|
||||
"type": "string"
|
||||
},
|
||||
"parent": {
|
||||
"description": "The device registry path. Required. For example,\n`projects/my-project/locations/us-central1/registries/my-registry`.",
|
||||
"location": "path",
|
||||
"pattern": "^projects/[^/]+/locations/[^/]+/groups/[^/]+$",
|
||||
"required": true,
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"path": "v1/{+parent}/devices",
|
||||
"response": {
|
||||
"$ref": "ListDevicesResponse"
|
||||
},
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/cloud-platform",
|
||||
"https://www.googleapis.com/auth/cloudiot"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"registries": {
|
||||
"methods": {
|
||||
"create": {
|
||||
|
@ -714,299 +639,6 @@
|
|||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"groups": {
|
||||
"methods": {
|
||||
"getIamPolicy": {
|
||||
"description": "Gets the access control policy for a resource.\nReturns an empty policy if the resource exists and does not have a policy\nset.",
|
||||
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/registries/{registriesId}/groups/{groupsId}:getIamPolicy",
|
||||
"httpMethod": "POST",
|
||||
"id": "cloudiot.projects.locations.registries.groups.getIamPolicy",
|
||||
"parameterOrder": [
|
||||
"resource"
|
||||
],
|
||||
"parameters": {
|
||||
"resource": {
|
||||
"description": "REQUIRED: The resource for which the policy is being requested.\nSee the operation documentation for the appropriate value for this field.",
|
||||
"location": "path",
|
||||
"pattern": "^projects/[^/]+/locations/[^/]+/registries/[^/]+/groups/[^/]+$",
|
||||
"required": true,
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"path": "v1/{+resource}:getIamPolicy",
|
||||
"request": {
|
||||
"$ref": "GetIamPolicyRequest"
|
||||
},
|
||||
"response": {
|
||||
"$ref": "Policy"
|
||||
},
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/cloud-platform",
|
||||
"https://www.googleapis.com/auth/cloudiot"
|
||||
]
|
||||
},
|
||||
"setIamPolicy": {
|
||||
"description": "Sets the access control policy on the specified resource. Replaces any\nexisting policy.",
|
||||
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/registries/{registriesId}/groups/{groupsId}:setIamPolicy",
|
||||
"httpMethod": "POST",
|
||||
"id": "cloudiot.projects.locations.registries.groups.setIamPolicy",
|
||||
"parameterOrder": [
|
||||
"resource"
|
||||
],
|
||||
"parameters": {
|
||||
"resource": {
|
||||
"description": "REQUIRED: The resource for which the policy is being specified.\nSee the operation documentation for the appropriate value for this field.",
|
||||
"location": "path",
|
||||
"pattern": "^projects/[^/]+/locations/[^/]+/registries/[^/]+/groups/[^/]+$",
|
||||
"required": true,
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"path": "v1/{+resource}:setIamPolicy",
|
||||
"request": {
|
||||
"$ref": "SetIamPolicyRequest"
|
||||
},
|
||||
"response": {
|
||||
"$ref": "Policy"
|
||||
},
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/cloud-platform",
|
||||
"https://www.googleapis.com/auth/cloudiot"
|
||||
]
|
||||
},
|
||||
"testIamPermissions": {
|
||||
"description": "Returns permissions that a caller has on the specified resource.\nIf the resource does not exist, this will return an empty set of\npermissions, not a NOT_FOUND error.",
|
||||
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/registries/{registriesId}/groups/{groupsId}:testIamPermissions",
|
||||
"httpMethod": "POST",
|
||||
"id": "cloudiot.projects.locations.registries.groups.testIamPermissions",
|
||||
"parameterOrder": [
|
||||
"resource"
|
||||
],
|
||||
"parameters": {
|
||||
"resource": {
|
||||
"description": "REQUIRED: The resource for which the policy detail is being requested.\nSee the operation documentation for the appropriate value for this field.",
|
||||
"location": "path",
|
||||
"pattern": "^projects/[^/]+/locations/[^/]+/registries/[^/]+/groups/[^/]+$",
|
||||
"required": true,
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"path": "v1/{+resource}:testIamPermissions",
|
||||
"request": {
|
||||
"$ref": "TestIamPermissionsRequest"
|
||||
},
|
||||
"response": {
|
||||
"$ref": "TestIamPermissionsResponse"
|
||||
},
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/cloud-platform",
|
||||
"https://www.googleapis.com/auth/cloudiot"
|
||||
]
|
||||
}
|
||||
},
|
||||
"resources": {
|
||||
"devices": {
|
||||
"methods": {
|
||||
"delete": {
|
||||
"description": "Deletes a device.",
|
||||
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/registries/{registriesId}/groups/{groupsId}/devices/{devicesId}",
|
||||
"httpMethod": "DELETE",
|
||||
"id": "cloudiot.projects.locations.registries.groups.devices.delete",
|
||||
"parameterOrder": [
|
||||
"name"
|
||||
],
|
||||
"parameters": {
|
||||
"name": {
|
||||
"description": "The name of the device. For example,\n`projects/p0/locations/us-central1/registries/registry0/devices/device0` or\n`projects/p0/locations/us-central1/registries/registry0/devices/{num_id}`.",
|
||||
"location": "path",
|
||||
"pattern": "^projects/[^/]+/locations/[^/]+/registries/[^/]+/groups/[^/]+/devices/[^/]+$",
|
||||
"required": true,
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"path": "v1/{+name}",
|
||||
"response": {
|
||||
"$ref": "Empty"
|
||||
},
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/cloud-platform",
|
||||
"https://www.googleapis.com/auth/cloudiot"
|
||||
]
|
||||
},
|
||||
"get": {
|
||||
"description": "Gets details about a device.",
|
||||
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/registries/{registriesId}/groups/{groupsId}/devices/{devicesId}",
|
||||
"httpMethod": "GET",
|
||||
"id": "cloudiot.projects.locations.registries.groups.devices.get",
|
||||
"parameterOrder": [
|
||||
"name"
|
||||
],
|
||||
"parameters": {
|
||||
"fieldMask": {
|
||||
"description": "The fields of the `Device` resource to be returned in the response. If the\nfield mask is unset or empty, all fields are returned.",
|
||||
"format": "google-fieldmask",
|
||||
"location": "query",
|
||||
"type": "string"
|
||||
},
|
||||
"name": {
|
||||
"description": "The name of the device. For example,\n`projects/p0/locations/us-central1/registries/registry0/devices/device0` or\n`projects/p0/locations/us-central1/registries/registry0/devices/{num_id}`.",
|
||||
"location": "path",
|
||||
"pattern": "^projects/[^/]+/locations/[^/]+/registries/[^/]+/groups/[^/]+/devices/[^/]+$",
|
||||
"required": true,
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"path": "v1/{+name}",
|
||||
"response": {
|
||||
"$ref": "Device"
|
||||
},
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/cloud-platform",
|
||||
"https://www.googleapis.com/auth/cloudiot"
|
||||
]
|
||||
},
|
||||
"modifyCloudToDeviceConfig": {
|
||||
"description": "Modifies the configuration for the device, which is eventually sent from\nthe Cloud IoT Core servers. Returns the modified configuration version and\nits metadata.",
|
||||
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/registries/{registriesId}/groups/{groupsId}/devices/{devicesId}:modifyCloudToDeviceConfig",
|
||||
"httpMethod": "POST",
|
||||
"id": "cloudiot.projects.locations.registries.groups.devices.modifyCloudToDeviceConfig",
|
||||
"parameterOrder": [
|
||||
"name"
|
||||
],
|
||||
"parameters": {
|
||||
"name": {
|
||||
"description": "The name of the device. For example,\n`projects/p0/locations/us-central1/registries/registry0/devices/device0` or\n`projects/p0/locations/us-central1/registries/registry0/devices/{num_id}`.",
|
||||
"location": "path",
|
||||
"pattern": "^projects/[^/]+/locations/[^/]+/registries/[^/]+/groups/[^/]+/devices/[^/]+$",
|
||||
"required": true,
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"path": "v1/{+name}:modifyCloudToDeviceConfig",
|
||||
"request": {
|
||||
"$ref": "ModifyCloudToDeviceConfigRequest"
|
||||
},
|
||||
"response": {
|
||||
"$ref": "DeviceConfig"
|
||||
},
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/cloud-platform",
|
||||
"https://www.googleapis.com/auth/cloudiot"
|
||||
]
|
||||
},
|
||||
"patch": {
|
||||
"description": "Updates a device.",
|
||||
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/registries/{registriesId}/groups/{groupsId}/devices/{devicesId}",
|
||||
"httpMethod": "PATCH",
|
||||
"id": "cloudiot.projects.locations.registries.groups.devices.patch",
|
||||
"parameterOrder": [
|
||||
"name"
|
||||
],
|
||||
"parameters": {
|
||||
"name": {
|
||||
"description": "The resource path name. For example,\n`projects/p1/locations/us-central1/registries/registry0/devices/dev0` or\n`projects/p1/locations/us-central1/registries/registry0/devices/{num_id}`.\nWhen `name` is populated as a response from the service, it always ends\nin the device numeric ID.",
|
||||
"location": "path",
|
||||
"pattern": "^projects/[^/]+/locations/[^/]+/registries/[^/]+/groups/[^/]+/devices/[^/]+$",
|
||||
"required": true,
|
||||
"type": "string"
|
||||
},
|
||||
"updateMask": {
|
||||
"description": "Only updates the `device` fields indicated by this mask.\nThe field mask must not be empty, and it must not contain fields that\nare immutable or only set by the server.\nMutable top-level fields: `credentials`, `blocked`, and `metadata`",
|
||||
"format": "google-fieldmask",
|
||||
"location": "query",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"path": "v1/{+name}",
|
||||
"request": {
|
||||
"$ref": "Device"
|
||||
},
|
||||
"response": {
|
||||
"$ref": "Device"
|
||||
},
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/cloud-platform",
|
||||
"https://www.googleapis.com/auth/cloudiot"
|
||||
]
|
||||
}
|
||||
},
|
||||
"resources": {
|
||||
"configVersions": {
|
||||
"methods": {
|
||||
"list": {
|
||||
"description": "Lists the last few versions of the device configuration in descending\norder (i.e.: newest first).",
|
||||
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/registries/{registriesId}/groups/{groupsId}/devices/{devicesId}/configVersions",
|
||||
"httpMethod": "GET",
|
||||
"id": "cloudiot.projects.locations.registries.groups.devices.configVersions.list",
|
||||
"parameterOrder": [
|
||||
"name"
|
||||
],
|
||||
"parameters": {
|
||||
"name": {
|
||||
"description": "The name of the device. For example,\n`projects/p0/locations/us-central1/registries/registry0/devices/device0` or\n`projects/p0/locations/us-central1/registries/registry0/devices/{num_id}`.",
|
||||
"location": "path",
|
||||
"pattern": "^projects/[^/]+/locations/[^/]+/registries/[^/]+/groups/[^/]+/devices/[^/]+$",
|
||||
"required": true,
|
||||
"type": "string"
|
||||
},
|
||||
"numVersions": {
|
||||
"description": "The number of versions to list. Versions are listed in decreasing order of\nthe version number. The maximum number of versions retained is 10. If this\nvalue is zero, it will return all the versions available.",
|
||||
"format": "int32",
|
||||
"location": "query",
|
||||
"type": "integer"
|
||||
}
|
||||
},
|
||||
"path": "v1/{+name}/configVersions",
|
||||
"response": {
|
||||
"$ref": "ListDeviceConfigVersionsResponse"
|
||||
},
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/cloud-platform",
|
||||
"https://www.googleapis.com/auth/cloudiot"
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"states": {
|
||||
"methods": {
|
||||
"list": {
|
||||
"description": "Lists the last few versions of the device state in descending order (i.e.:\nnewest first).",
|
||||
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/registries/{registriesId}/groups/{groupsId}/devices/{devicesId}/states",
|
||||
"httpMethod": "GET",
|
||||
"id": "cloudiot.projects.locations.registries.groups.devices.states.list",
|
||||
"parameterOrder": [
|
||||
"name"
|
||||
],
|
||||
"parameters": {
|
||||
"name": {
|
||||
"description": "The name of the device. For example,\n`projects/p0/locations/us-central1/registries/registry0/devices/device0` or\n`projects/p0/locations/us-central1/registries/registry0/devices/{num_id}`.",
|
||||
"location": "path",
|
||||
"pattern": "^projects/[^/]+/locations/[^/]+/registries/[^/]+/groups/[^/]+/devices/[^/]+$",
|
||||
"required": true,
|
||||
"type": "string"
|
||||
},
|
||||
"numStates": {
|
||||
"description": "The number of states to list. States are listed in descending order of\nupdate time. The maximum number of states retained is 10. If this\nvalue is zero, it will return all the states available.",
|
||||
"format": "int32",
|
||||
"location": "query",
|
||||
"type": "integer"
|
||||
}
|
||||
},
|
||||
"path": "v1/{+name}/states",
|
||||
"response": {
|
||||
"$ref": "ListDeviceStatesResponse"
|
||||
},
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/cloud-platform",
|
||||
"https://www.googleapis.com/auth/cloudiot"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -1015,7 +647,7 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
"revision": "20180424",
|
||||
"revision": "20180606",
|
||||
"rootUrl": "https://cloudiot.googleapis.com/",
|
||||
"schemas": {
|
||||
"Binding": {
|
||||
|
|
1622
vendor/google.golang.org/api/cloudiot/v1/cloudiot-gen.go
generated
vendored
1622
vendor/google.golang.org/api/cloudiot/v1/cloudiot-gen.go
generated
vendored
File diff suppressed because it is too large
Load diff
17
vendor/google.golang.org/api/cloudkms/v1/cloudkms-api.json
generated
vendored
17
vendor/google.golang.org/api/cloudkms/v1/cloudkms-api.json
generated
vendored
|
@ -60,11 +60,6 @@
|
|||
"location": "query",
|
||||
"type": "string"
|
||||
},
|
||||
"bearer_token": {
|
||||
"description": "OAuth bearer token.",
|
||||
"location": "query",
|
||||
"type": "string"
|
||||
},
|
||||
"callback": {
|
||||
"description": "JSONP",
|
||||
"location": "query",
|
||||
|
@ -85,12 +80,6 @@
|
|||
"location": "query",
|
||||
"type": "string"
|
||||
},
|
||||
"pp": {
|
||||
"default": "true",
|
||||
"description": "Pretty-print response.",
|
||||
"location": "query",
|
||||
"type": "boolean"
|
||||
},
|
||||
"prettyPrint": {
|
||||
"default": "true",
|
||||
"description": "Returns response with indentations and line breaks.",
|
||||
|
@ -817,7 +806,7 @@
|
|||
]
|
||||
},
|
||||
"restore": {
|
||||
"description": "Restore a CryptoKeyVersion in the\nDESTROY_SCHEDULED,\nstate.\n\nUpon restoration of the CryptoKeyVersion, state\nwill be set to DISABLED,\nand destroy_time will be cleared.",
|
||||
"description": "Restore a CryptoKeyVersion in the\nDESTROY_SCHEDULED\nstate.\n\nUpon restoration of the CryptoKeyVersion, state\nwill be set to DISABLED,\nand destroy_time will be cleared.",
|
||||
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/keyRings/{keyRingsId}/cryptoKeys/{cryptoKeysId}/cryptoKeyVersions/{cryptoKeyVersionsId}:restore",
|
||||
"httpMethod": "POST",
|
||||
"id": "cloudkms.projects.locations.keyRings.cryptoKeys.cryptoKeyVersions.restore",
|
||||
|
@ -855,7 +844,7 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
"revision": "20180425",
|
||||
"revision": "20180611",
|
||||
"rootUrl": "https://cloudkms.googleapis.com/",
|
||||
"schemas": {
|
||||
"AuditConfig": {
|
||||
|
@ -951,7 +940,7 @@
|
|||
},
|
||||
"primary": {
|
||||
"$ref": "CryptoKeyVersion",
|
||||
"description": "Output only. A copy of the \"primary\" CryptoKeyVersion that will be used\nby Encrypt when this CryptoKey is given\nin EncryptRequest.name.\n\nThe CryptoKey's primary version can be updated via\nUpdateCryptoKeyPrimaryVersion."
|
||||
"description": "Output only. A copy of the \"primary\" CryptoKeyVersion that will be used\nby Encrypt when this CryptoKey is given\nin EncryptRequest.name.\n\nThe CryptoKey's primary version can be updated via\nUpdateCryptoKeyPrimaryVersion.\n"
|
||||
},
|
||||
"purpose": {
|
||||
"description": "The immutable purpose of this CryptoKey. Currently, the only acceptable\npurpose is ENCRYPT_DECRYPT.",
|
||||
|
|
5
vendor/google.golang.org/api/cloudkms/v1/cloudkms-gen.go
generated
vendored
5
vendor/google.golang.org/api/cloudkms/v1/cloudkms-gen.go
generated
vendored
|
@ -393,6 +393,7 @@ type CryptoKey struct {
|
|||
// The CryptoKey's primary version can be updated
|
||||
// via
|
||||
// UpdateCryptoKeyPrimaryVersion.
|
||||
//
|
||||
Primary *CryptoKeyVersion `json:"primary,omitempty"`
|
||||
|
||||
// Purpose: The immutable purpose of this CryptoKey. Currently, the only
|
||||
|
@ -4676,7 +4677,7 @@ type ProjectsLocationsKeyRingsCryptoKeysCryptoKeyVersionsRestoreCall struct {
|
|||
|
||||
// Restore: Restore a CryptoKeyVersion in
|
||||
// the
|
||||
// DESTROY_SCHEDULED,
|
||||
// DESTROY_SCHEDULED
|
||||
// state.
|
||||
//
|
||||
// Upon restoration of the CryptoKeyVersion, state
|
||||
|
@ -4775,7 +4776,7 @@ func (c *ProjectsLocationsKeyRingsCryptoKeysCryptoKeyVersionsRestoreCall) Do(opt
|
|||
}
|
||||
return ret, nil
|
||||
// {
|
||||
// "description": "Restore a CryptoKeyVersion in the\nDESTROY_SCHEDULED,\nstate.\n\nUpon restoration of the CryptoKeyVersion, state\nwill be set to DISABLED,\nand destroy_time will be cleared.",
|
||||
// "description": "Restore a CryptoKeyVersion in the\nDESTROY_SCHEDULED\nstate.\n\nUpon restoration of the CryptoKeyVersion, state\nwill be set to DISABLED,\nand destroy_time will be cleared.",
|
||||
// "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/keyRings/{keyRingsId}/cryptoKeys/{cryptoKeysId}/cryptoKeyVersions/{cryptoKeyVersionsId}:restore",
|
||||
// "httpMethod": "POST",
|
||||
// "id": "cloudkms.projects.locations.keyRings.cryptoKeys.cryptoKeyVersions.restore",
|
||||
|
|
63
vendor/google.golang.org/api/cloudresourcemanager/v1/cloudresourcemanager-api.json
generated
vendored
63
vendor/google.golang.org/api/cloudresourcemanager/v1/cloudresourcemanager-api.json
generated
vendored
|
@ -63,11 +63,6 @@
|
|||
"location": "query",
|
||||
"type": "string"
|
||||
},
|
||||
"bearer_token": {
|
||||
"description": "OAuth bearer token.",
|
||||
"location": "query",
|
||||
"type": "string"
|
||||
},
|
||||
"callback": {
|
||||
"description": "JSONP",
|
||||
"location": "query",
|
||||
|
@ -88,12 +83,6 @@
|
|||
"location": "query",
|
||||
"type": "string"
|
||||
},
|
||||
"pp": {
|
||||
"default": "true",
|
||||
"description": "Pretty-print response.",
|
||||
"location": "query",
|
||||
"type": "boolean"
|
||||
},
|
||||
"prettyPrint": {
|
||||
"default": "true",
|
||||
"description": "Returns response with indentations and line breaks.",
|
||||
|
@ -149,7 +138,7 @@
|
|||
]
|
||||
},
|
||||
"getEffectiveOrgPolicy": {
|
||||
"description": "Gets the effective `Policy` on a resource. This is the result of merging\n`Policies` in the resource hierarchy. The returned `Policy` will not have\nan `etag`set because it is a computed `Policy` across multiple resources.",
|
||||
"description": "Gets the effective `Policy` on a resource. This is the result of merging\n`Policies` in the resource hierarchy. The returned `Policy` will not have\nan `etag`set because it is a computed `Policy` across multiple resources.\nSubtrees of Resource Manager resource hierarchy with 'under:' prefix will\nnot be expanded.",
|
||||
"flatPath": "v1/folders/{foldersId}:getEffectiveOrgPolicy",
|
||||
"httpMethod": "POST",
|
||||
"id": "cloudresourcemanager.folders.getEffectiveOrgPolicy",
|
||||
|
@ -341,6 +330,32 @@
|
|||
"https://www.googleapis.com/auth/cloud-platform.read-only"
|
||||
]
|
||||
},
|
||||
"get": {
|
||||
"description": "Retrieve a Lien by `name`.\n\nCallers of this method will require permission on the `parent` resource.\nFor example, a Lien with a `parent` of `projects/1234` requires permission\nrequires permission `resourcemanager.projects.get` or\n`resourcemanager.projects.updateLiens`.",
|
||||
"flatPath": "v1/liens/{liensId}",
|
||||
"httpMethod": "GET",
|
||||
"id": "cloudresourcemanager.liens.get",
|
||||
"parameterOrder": [
|
||||
"name"
|
||||
],
|
||||
"parameters": {
|
||||
"name": {
|
||||
"description": "The name/identifier of the Lien.",
|
||||
"location": "path",
|
||||
"pattern": "^liens/.+$",
|
||||
"required": true,
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"path": "v1/{+name}",
|
||||
"response": {
|
||||
"$ref": "Lien"
|
||||
},
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/cloud-platform",
|
||||
"https://www.googleapis.com/auth/cloud-platform.read-only"
|
||||
]
|
||||
},
|
||||
"list": {
|
||||
"description": "List all Liens applied to the `parent` resource.\n\nCallers of this method will require permission on the `parent` resource.\nFor example, a Lien with a `parent` of `projects/1234` requires permission\n`resourcemanager.projects.get`.",
|
||||
"flatPath": "v1/liens",
|
||||
|
@ -463,7 +478,7 @@
|
|||
]
|
||||
},
|
||||
"getEffectiveOrgPolicy": {
|
||||
"description": "Gets the effective `Policy` on a resource. This is the result of merging\n`Policies` in the resource hierarchy. The returned `Policy` will not have\nan `etag`set because it is a computed `Policy` across multiple resources.",
|
||||
"description": "Gets the effective `Policy` on a resource. This is the result of merging\n`Policies` in the resource hierarchy. The returned `Policy` will not have\nan `etag`set because it is a computed `Policy` across multiple resources.\nSubtrees of Resource Manager resource hierarchy with 'under:' prefix will\nnot be expanded.",
|
||||
"flatPath": "v1/organizations/{organizationsId}:getEffectiveOrgPolicy",
|
||||
"httpMethod": "POST",
|
||||
"id": "cloudresourcemanager.organizations.getEffectiveOrgPolicy",
|
||||
|
@ -744,7 +759,7 @@
|
|||
]
|
||||
},
|
||||
"create": {
|
||||
"description": "Request that a new Project be created. The result is an Operation which\ncan be used to track the creation process. It is automatically deleted\nafter a few hours, so there is no need to call DeleteOperation.\n\nOur SLO permits Project creation to take up to 30 seconds at the 90th\npercentile. As of 2016-08-29, we are observing 6 seconds 50th percentile\nlatency. 95th percentile latency is around 11 seconds. We recommend\npolling at the 5th second with an exponential backoff.\n\nAuthorization requires the Google IAM permission\n`resourcemanager.projects.create` on the specified parent for the new\nproject. The parent is identified by a specified ResourceId,\nwhich must include both an ID and a type, such as organization.",
|
||||
"description": "Request that a new Project be created. The result is an Operation which\ncan be used to track the creation process. It is automatically deleted\nafter a few hours, so there is no need to call DeleteOperation.\n\nOur SLO permits Project creation to take up to 30 seconds at the 90th\npercentile. As of 2016-08-29, we are observing 6 seconds 50th percentile\nlatency. 95th percentile latency is around 11 seconds. We recommend\npolling at the 5th second with an exponential backoff.\n\nAuthorization requires the Google IAM permission\n`resourcemanager.projects.create` on the specified parent for the new\nproject. The parent is identified by a specified ResourceId,\nwhich must include both an ID and a type, such as organization.\n\nThis method does not associate the new project with a billing account.\nYou can set or update the billing account associated with a project using\nthe [`projects.updateBillingInfo`]\n(/billing/reference/rest/v1/projects/updateBillingInfo) method.",
|
||||
"flatPath": "v1/projects",
|
||||
"httpMethod": "POST",
|
||||
"id": "cloudresourcemanager.projects.create",
|
||||
|
@ -839,7 +854,7 @@
|
|||
]
|
||||
},
|
||||
"getEffectiveOrgPolicy": {
|
||||
"description": "Gets the effective `Policy` on a resource. This is the result of merging\n`Policies` in the resource hierarchy. The returned `Policy` will not have\nan `etag`set because it is a computed `Policy` across multiple resources.",
|
||||
"description": "Gets the effective `Policy` on a resource. This is the result of merging\n`Policies` in the resource hierarchy. The returned `Policy` will not have\nan `etag`set because it is a computed `Policy` across multiple resources.\nSubtrees of Resource Manager resource hierarchy with 'under:' prefix will\nnot be expanded.",
|
||||
"flatPath": "v1/projects/{projectsId}:getEffectiveOrgPolicy",
|
||||
"httpMethod": "POST",
|
||||
"id": "cloudresourcemanager.projects.getEffectiveOrgPolicy",
|
||||
|
@ -1155,7 +1170,7 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
"revision": "20180418",
|
||||
"revision": "20180611",
|
||||
"rootUrl": "https://cloudresourcemanager.googleapis.com/",
|
||||
"schemas": {
|
||||
"Ancestor": {
|
||||
|
@ -1458,7 +1473,7 @@
|
|||
"type": "string"
|
||||
},
|
||||
"reason": {
|
||||
"description": "Concise user-visible strings indicating why an action cannot be performed\non a resource. Maximum lenth of 200 characters.\n\nExample: 'Holds production API key'",
|
||||
"description": "Concise user-visible strings indicating why an action cannot be performed\non a resource. Maximum length of 200 characters.\n\nExample: 'Holds production API key'",
|
||||
"type": "string"
|
||||
},
|
||||
"restrictions": {
|
||||
|
@ -1512,6 +1527,10 @@
|
|||
"suggestedValue": {
|
||||
"description": "Optional. The Google Cloud Console will try to default to a configuration\nthat matches the value specified in this `Constraint`.",
|
||||
"type": "string"
|
||||
},
|
||||
"supportsUnder": {
|
||||
"description": "Indicates whether subtrees of Cloud Resource Manager resource hierarchy\ncan be used in `Policy.allowed_values` and `Policy.denied_values`. For\nexample, `\"under:folders/123\"` would match any resource under the\n'folders/123' folder.",
|
||||
"type": "boolean"
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
|
@ -1569,7 +1588,7 @@
|
|||
"type": "object"
|
||||
},
|
||||
"ListPolicy": {
|
||||
"description": "Used in `policy_type` to specify how `list_policy` behaves at this\nresource.\n\nA `ListPolicy` can define specific values that are allowed or denied by\nsetting either the `allowed_values` or `denied_values` fields. It can also\nbe used to allow or deny all values, by setting the `all_values` field. If\n`all_values` is `ALL_VALUES_UNSPECIFIED`, exactly one of `allowed_values`\nor `denied_values` must be set (attempting to set both or neither will\nresult in a failed request). If `all_values` is set to either `ALLOW` or\n`DENY`, `allowed_values` and `denied_values` must be unset.",
|
||||
"description": "Used in `policy_type` to specify how `list_policy` behaves at this\nresource.\n\n`ListPolicy` can define specific values and subtrees of Cloud Resource\nManager resource hierarchy (`Organizations`, `Folders`, `Projects`) that\nare allowed or denied by setting the `allowed_values` and `denied_values`\nfields. This is achieved by using the `under:` and optional `is:` prefixes.\nThe `under:` prefix is used to denote resource subtree values.\nThe `is:` prefix is used to denote specific values, and is required only\nif the value contains a \":\". Values prefixed with \"is:\" are treated the\nsame as values with no prefix.\nAncestry subtrees must be in one of the following formats:\n - “projects/\u003cproject-id\u003e”, e.g. “projects/tokyo-rain-123”\n - “folders/\u003cfolder-id\u003e”, e.g. “folders/1234”\n - “organizations/\u003corganization-id\u003e”, e.g. “organizations/1234”\nThe `supports_under` field of the associated `Constraint` defines whether\nancestry prefixes can be used. You can set `allowed_values` and\n`denied_values` in the same `Policy` if `all_values` is\n`ALL_VALUES_UNSPECIFIED`. `ALLOW` or `DENY` are used to allow or deny all\nvalues. If `all_values` is set to either `ALLOW` or `DENY`,\n`allowed_values` and `denied_values` must be unset.",
|
||||
"id": "ListPolicy",
|
||||
"properties": {
|
||||
"allValues": {
|
||||
|
@ -1580,28 +1599,28 @@
|
|||
"DENY"
|
||||
],
|
||||
"enumDescriptions": [
|
||||
"Indicates that either allowed_values or denied_values must be set.",
|
||||
"Indicates that allowed_values or denied_values must be set.",
|
||||
"A policy with this set allows all values.",
|
||||
"A policy with this set denies all values."
|
||||
],
|
||||
"type": "string"
|
||||
},
|
||||
"allowedValues": {
|
||||
"description": "List of values allowed at this resource. Can only be set if no values\nare set for `denied_values` and `all_values` is set to\n`ALL_VALUES_UNSPECIFIED`.",
|
||||
"description": "List of values allowed at this resource. Can only be set if `all_values`\nis set to `ALL_VALUES_UNSPECIFIED`.",
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"deniedValues": {
|
||||
"description": "List of values denied at this resource. Can only be set if no values are\nset for `allowed_values` and `all_values` is set to\n`ALL_VALUES_UNSPECIFIED`.",
|
||||
"description": "List of values denied at this resource. Can only be set if `all_values`\nis set to `ALL_VALUES_UNSPECIFIED`.",
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"inheritFromParent": {
|
||||
"description": "Determines the inheritance behavior for this `Policy`.\n\nBy default, a `ListPolicy` set at a resource supercedes any `Policy` set\nanywhere up the resource hierarchy. However, if `inherit_from_parent` is\nset to `true`, then the values from the effective `Policy` of the parent\nresource are inherited, meaning the values set in this `Policy` are\nadded to the values inherited up the hierarchy.\n\nSetting `Policy` hierarchies that inherit both allowed values and denied\nvalues isn't recommended in most circumstances to keep the configuration\nsimple and understandable. However, it is possible to set a `Policy` with\n`allowed_values` set that inherits a `Policy` with `denied_values` set.\nIn this case, the values that are allowed must be in `allowed_values` and\nnot present in `denied_values`.\n\nFor example, suppose you have a `Constraint`\n`constraints/serviceuser.services`, which has a `constraint_type` of\n`list_constraint`, and with `constraint_default` set to `ALLOW`.\nSuppose that at the Organization level, a `Policy` is applied that\nrestricts the allowed API activations to {`E1`, `E2`}. Then, if a\n`Policy` is applied to a project below the Organization that has\n`inherit_from_parent` set to `false` and field all_values set to DENY,\nthen an attempt to activate any API will be denied.\n\nThe following examples demonstrate different possible layerings:\n\nExample 1 (no inherited values):\n `organizations/foo` has a `Policy` with values:\n {allowed_values: “E1” allowed_values:”E2”}\n ``projects/bar`` has `inherit_from_parent` `false` and values:\n {allowed_values: \"E3\" allowed_values: \"E4\"}\nThe accepted values at `organizations/foo` are `E1`, `E2`.\nThe accepted values at `projects/bar` are `E3`, and `E4`.\n\nExample 2 (inherited values):\n `organizations/foo` has a `Policy` with values:\n {allowed_values: “E1” allowed_values:”E2”}\n `projects/bar` has a `Policy` with values:\n {value: “E3” value: ”E4” inherit_from_parent: true}\nThe accepted values at `organizations/foo` are `E1`, `E2`.\nThe accepted values at `projects/bar` are `E1`, `E2`, `E3`, and `E4`.\n\nExample 3 (inheriting both allowed and denied values):\n `organizations/foo` has a `Policy` with values:\n {allowed_values: \"E1\" allowed_values: \"E2\"}\n `projects/bar` has a `Policy` with:\n {denied_values: \"E1\"}\nThe accepted values at `organizations/foo` are `E1`, `E2`.\nThe value accepted at `projects/bar` is `E2`.\n\nExample 4 (RestoreDefault):\n `organizations/foo` has a `Policy` with values:\n {allowed_values: “E1” allowed_values:”E2”}\n `projects/bar` has a `Policy` with values:\n {RestoreDefault: {}}\nThe accepted values at `organizations/foo` are `E1`, `E2`.\nThe accepted values at `projects/bar` are either all or none depending on\nthe value of `constraint_default` (if `ALLOW`, all; if\n`DENY`, none).\n\nExample 5 (no policy inherits parent policy):\n `organizations/foo` has no `Policy` set.\n `projects/bar` has no `Policy` set.\nThe accepted values at both levels are either all or none depending on\nthe value of `constraint_default` (if `ALLOW`, all; if\n`DENY`, none).\n\nExample 6 (ListConstraint allowing all):\n `organizations/foo` has a `Policy` with values:\n {allowed_values: “E1” allowed_values: ”E2”}\n `projects/bar` has a `Policy` with:\n {all: ALLOW}\nThe accepted values at `organizations/foo` are `E1`, E2`.\nAny value is accepted at `projects/bar`.\n\nExample 7 (ListConstraint allowing none):\n `organizations/foo` has a `Policy` with values:\n {allowed_values: “E1” allowed_values: ”E2”}\n `projects/bar` has a `Policy` with:\n {all: DENY}\nThe accepted values at `organizations/foo` are `E1`, E2`.\nNo value is accepted at `projects/bar`.",
|
||||
"description": "Determines the inheritance behavior for this `Policy`.\n\nBy default, a `ListPolicy` set at a resource supercedes any `Policy` set\nanywhere up the resource hierarchy. However, if `inherit_from_parent` is\nset to `true`, then the values from the effective `Policy` of the parent\nresource are inherited, meaning the values set in this `Policy` are\nadded to the values inherited up the hierarchy.\n\nSetting `Policy` hierarchies that inherit both allowed values and denied\nvalues isn't recommended in most circumstances to keep the configuration\nsimple and understandable. However, it is possible to set a `Policy` with\n`allowed_values` set that inherits a `Policy` with `denied_values` set.\nIn this case, the values that are allowed must be in `allowed_values` and\nnot present in `denied_values`.\n\nFor example, suppose you have a `Constraint`\n`constraints/serviceuser.services`, which has a `constraint_type` of\n`list_constraint`, and with `constraint_default` set to `ALLOW`.\nSuppose that at the Organization level, a `Policy` is applied that\nrestricts the allowed API activations to {`E1`, `E2`}. Then, if a\n`Policy` is applied to a project below the Organization that has\n`inherit_from_parent` set to `false` and field all_values set to DENY,\nthen an attempt to activate any API will be denied.\n\nThe following examples demonstrate different possible layerings for\n`projects/bar` parented by `organizations/foo`:\n\nExample 1 (no inherited values):\n `organizations/foo` has a `Policy` with values:\n {allowed_values: “E1” allowed_values:”E2”}\n `projects/bar` has `inherit_from_parent` `false` and values:\n {allowed_values: \"E3\" allowed_values: \"E4\"}\nThe accepted values at `organizations/foo` are `E1`, `E2`.\nThe accepted values at `projects/bar` are `E3`, and `E4`.\n\nExample 2 (inherited values):\n `organizations/foo` has a `Policy` with values:\n {allowed_values: “E1” allowed_values:”E2”}\n `projects/bar` has a `Policy` with values:\n {value: “E3” value: ”E4” inherit_from_parent: true}\nThe accepted values at `organizations/foo` are `E1`, `E2`.\nThe accepted values at `projects/bar` are `E1`, `E2`, `E3`, and `E4`.\n\nExample 3 (inheriting both allowed and denied values):\n `organizations/foo` has a `Policy` with values:\n {allowed_values: \"E1\" allowed_values: \"E2\"}\n `projects/bar` has a `Policy` with:\n {denied_values: \"E1\"}\nThe accepted values at `organizations/foo` are `E1`, `E2`.\nThe value accepted at `projects/bar` is `E2`.\n\nExample 4 (RestoreDefault):\n `organizations/foo` has a `Policy` with values:\n {allowed_values: “E1” allowed_values:”E2”}\n `projects/bar` has a `Policy` with values:\n {RestoreDefault: {}}\nThe accepted values at `organizations/foo` are `E1`, `E2`.\nThe accepted values at `projects/bar` are either all or none depending on\nthe value of `constraint_default` (if `ALLOW`, all; if\n`DENY`, none).\n\nExample 5 (no policy inherits parent policy):\n `organizations/foo` has no `Policy` set.\n `projects/bar` has no `Policy` set.\nThe accepted values at both levels are either all or none depending on\nthe value of `constraint_default` (if `ALLOW`, all; if\n`DENY`, none).\n\nExample 6 (ListConstraint allowing all):\n `organizations/foo` has a `Policy` with values:\n {allowed_values: “E1” allowed_values: ”E2”}\n `projects/bar` has a `Policy` with:\n {all: ALLOW}\nThe accepted values at `organizations/foo` are `E1`, E2`.\nAny value is accepted at `projects/bar`.\n\nExample 7 (ListConstraint allowing none):\n `organizations/foo` has a `Policy` with values:\n {allowed_values: “E1” allowed_values: ”E2”}\n `projects/bar` has a `Policy` with:\n {all: DENY}\nThe accepted values at `organizations/foo` are `E1`, E2`.\nNo value is accepted at `projects/bar`.\n\nExample 10 (allowed and denied subtrees of Resource Manager hierarchy):\nGiven the following resource hierarchy\n O1-\u003e{F1, F2}; F1-\u003e{P1}; F2-\u003e{P2, P3},\n `organizations/foo` has a `Policy` with values:\n {allowed_values: \"under:organizations/O1\"}\n `projects/bar` has a `Policy` with:\n {allowed_values: \"under:projects/P3\"}\n {denied_values: \"under:folders/F2\"}\nThe accepted values at `organizations/foo` are `organizations/O1`,\n `folders/F1`, `folders/F2`, `projects/P1`, `projects/P2`,\n `projects/P3`.\nThe accepted values at `projects/bar` are `organizations/O1`,\n `folders/F1`, `projects/P1`.",
|
||||
"type": "boolean"
|
||||
},
|
||||
"suggestedValue": {
|
||||
|
|
265
vendor/google.golang.org/api/cloudresourcemanager/v1/cloudresourcemanager-gen.go
generated
vendored
265
vendor/google.golang.org/api/cloudresourcemanager/v1/cloudresourcemanager-gen.go
generated
vendored
|
@ -854,7 +854,7 @@ type Lien struct {
|
|||
|
||||
// Reason: Concise user-visible strings indicating why an action cannot
|
||||
// be performed
|
||||
// on a resource. Maximum lenth of 200 characters.
|
||||
// on a resource. Maximum length of 200 characters.
|
||||
//
|
||||
// Example: 'Holds production API key'
|
||||
Reason string `json:"reason,omitempty"`
|
||||
|
@ -991,6 +991,15 @@ type ListConstraint struct {
|
|||
// that matches the value specified in this `Constraint`.
|
||||
SuggestedValue string `json:"suggestedValue,omitempty"`
|
||||
|
||||
// SupportsUnder: Indicates whether subtrees of Cloud Resource Manager
|
||||
// resource hierarchy
|
||||
// can be used in `Policy.allowed_values` and `Policy.denied_values`.
|
||||
// For
|
||||
// example, "under:folders/123" would match any resource under
|
||||
// the
|
||||
// 'folders/123' folder.
|
||||
SupportsUnder bool `json:"supportsUnder,omitempty"`
|
||||
|
||||
// ForceSendFields is a list of field names (e.g. "SuggestedValue") to
|
||||
// unconditionally include in API requests. By default, fields with
|
||||
// empty values are omitted from API requests. However, any non-pointer,
|
||||
|
@ -1136,41 +1145,55 @@ func (s *ListOrgPoliciesResponse) MarshalJSON() ([]byte, error) {
|
|||
// behaves at this
|
||||
// resource.
|
||||
//
|
||||
// A `ListPolicy` can define specific values that are allowed or denied
|
||||
// by
|
||||
// setting either the `allowed_values` or `denied_values` fields. It can
|
||||
// also
|
||||
// be used to allow or deny all values, by setting the `all_values`
|
||||
// field. If
|
||||
// `all_values` is `ALL_VALUES_UNSPECIFIED`, exactly one of
|
||||
// `allowed_values`
|
||||
// or `denied_values` must be set (attempting to set both or neither
|
||||
// will
|
||||
// result in a failed request). If `all_values` is set to either `ALLOW`
|
||||
// or
|
||||
// `DENY`, `allowed_values` and `denied_values` must be unset.
|
||||
// `ListPolicy` can define specific values and subtrees of Cloud
|
||||
// Resource
|
||||
// Manager resource hierarchy (`Organizations`, `Folders`, `Projects`)
|
||||
// that
|
||||
// are allowed or denied by setting the `allowed_values` and
|
||||
// `denied_values`
|
||||
// fields. This is achieved by using the `under:` and optional `is:`
|
||||
// prefixes.
|
||||
// The `under:` prefix is used to denote resource subtree values.
|
||||
// The `is:` prefix is used to denote specific values, and is required
|
||||
// only
|
||||
// if the value contains a ":". Values prefixed with "is:" are treated
|
||||
// the
|
||||
// same as values with no prefix.
|
||||
// Ancestry subtrees must be in one of the following formats:
|
||||
// - “projects/<project-id>”, e.g.
|
||||
// “projects/tokyo-rain-123”
|
||||
// - “folders/<folder-id>”, e.g. “folders/1234”
|
||||
// - “organizations/<organization-id>”, e.g.
|
||||
// “organizations/1234”
|
||||
// The `supports_under` field of the associated `Constraint` defines
|
||||
// whether
|
||||
// ancestry prefixes can be used. You can set `allowed_values`
|
||||
// and
|
||||
// `denied_values` in the same `Policy` if `all_values`
|
||||
// is
|
||||
// `ALL_VALUES_UNSPECIFIED`. `ALLOW` or `DENY` are used to allow or deny
|
||||
// all
|
||||
// values. If `all_values` is set to either `ALLOW` or
|
||||
// `DENY`,
|
||||
// `allowed_values` and `denied_values` must be unset.
|
||||
type ListPolicy struct {
|
||||
// AllValues: The policy all_values state.
|
||||
//
|
||||
// Possible values:
|
||||
// "ALL_VALUES_UNSPECIFIED" - Indicates that either allowed_values or
|
||||
// "ALL_VALUES_UNSPECIFIED" - Indicates that allowed_values or
|
||||
// denied_values must be set.
|
||||
// "ALLOW" - A policy with this set allows all values.
|
||||
// "DENY" - A policy with this set denies all values.
|
||||
AllValues string `json:"allValues,omitempty"`
|
||||
|
||||
// AllowedValues: List of values allowed at this resource. Can only be
|
||||
// set if no values
|
||||
// are set for `denied_values` and `all_values` is set
|
||||
// to
|
||||
// `ALL_VALUES_UNSPECIFIED`.
|
||||
// set if `all_values`
|
||||
// is set to `ALL_VALUES_UNSPECIFIED`.
|
||||
AllowedValues []string `json:"allowedValues,omitempty"`
|
||||
|
||||
// DeniedValues: List of values denied at this resource. Can only be set
|
||||
// if no values are
|
||||
// set for `allowed_values` and `all_values` is set
|
||||
// to
|
||||
// `ALL_VALUES_UNSPECIFIED`.
|
||||
// if `all_values`
|
||||
// is set to `ALL_VALUES_UNSPECIFIED`.
|
||||
DeniedValues []string `json:"deniedValues,omitempty"`
|
||||
|
||||
// InheritFromParent: Determines the inheritance behavior for this
|
||||
|
@ -1214,13 +1237,14 @@ type ListPolicy struct {
|
|||
// DENY,
|
||||
// then an attempt to activate any API will be denied.
|
||||
//
|
||||
// The following examples demonstrate different possible
|
||||
// layerings:
|
||||
// The following examples demonstrate different possible layerings
|
||||
// for
|
||||
// `projects/bar` parented by `organizations/foo`:
|
||||
//
|
||||
// Example 1 (no inherited values):
|
||||
// `organizations/foo` has a `Policy` with values:
|
||||
// {allowed_values: “E1” allowed_values:”E2”}
|
||||
// ``projects/bar`` has `inherit_from_parent` `false` and values:
|
||||
// `projects/bar` has `inherit_from_parent` `false` and values:
|
||||
// {allowed_values: "E3" allowed_values: "E4"}
|
||||
// The accepted values at `organizations/foo` are `E1`, `E2`.
|
||||
// The accepted values at `projects/bar` are `E3`, and `E4`.
|
||||
|
@ -1276,6 +1300,21 @@ type ListPolicy struct {
|
|||
// {all: DENY}
|
||||
// The accepted values at `organizations/foo` are `E1`, E2`.
|
||||
// No value is accepted at `projects/bar`.
|
||||
//
|
||||
// Example 10 (allowed and denied subtrees of Resource Manager
|
||||
// hierarchy):
|
||||
// Given the following resource hierarchy
|
||||
// O1->{F1, F2}; F1->{P1}; F2->{P2, P3},
|
||||
// `organizations/foo` has a `Policy` with values:
|
||||
// {allowed_values: "under:organizations/O1"}
|
||||
// `projects/bar` has a `Policy` with:
|
||||
// {allowed_values: "under:projects/P3"}
|
||||
// {denied_values: "under:folders/F2"}
|
||||
// The accepted values at `organizations/foo` are `organizations/O1`,
|
||||
// `folders/F1`, `folders/F2`, `projects/P1`, `projects/P2`,
|
||||
// `projects/P3`.
|
||||
// The accepted values at `projects/bar` are `organizations/O1`,
|
||||
// `folders/F1`, `projects/P1`.
|
||||
InheritFromParent bool `json:"inheritFromParent,omitempty"`
|
||||
|
||||
// SuggestedValue: Optional. The Google Cloud Console will try to
|
||||
|
@ -2497,6 +2536,9 @@ type FoldersGetEffectiveOrgPolicyCall struct {
|
|||
// have
|
||||
// an `etag`set because it is a computed `Policy` across multiple
|
||||
// resources.
|
||||
// Subtrees of Resource Manager resource hierarchy with 'under:' prefix
|
||||
// will
|
||||
// not be expanded.
|
||||
func (r *FoldersService) GetEffectiveOrgPolicy(resource string, geteffectiveorgpolicyrequest *GetEffectiveOrgPolicyRequest) *FoldersGetEffectiveOrgPolicyCall {
|
||||
c := &FoldersGetEffectiveOrgPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
|
||||
c.resource = resource
|
||||
|
@ -2590,7 +2632,7 @@ func (c *FoldersGetEffectiveOrgPolicyCall) Do(opts ...googleapi.CallOption) (*Or
|
|||
}
|
||||
return ret, nil
|
||||
// {
|
||||
// "description": "Gets the effective `Policy` on a resource. This is the result of merging\n`Policies` in the resource hierarchy. The returned `Policy` will not have\nan `etag`set because it is a computed `Policy` across multiple resources.",
|
||||
// "description": "Gets the effective `Policy` on a resource. This is the result of merging\n`Policies` in the resource hierarchy. The returned `Policy` will not have\nan `etag`set because it is a computed `Policy` across multiple resources.\nSubtrees of Resource Manager resource hierarchy with 'under:' prefix will\nnot be expanded.",
|
||||
// "flatPath": "v1/folders/{foldersId}:getEffectiveOrgPolicy",
|
||||
// "httpMethod": "POST",
|
||||
// "id": "cloudresourcemanager.folders.getEffectiveOrgPolicy",
|
||||
|
@ -3487,6 +3529,154 @@ func (c *LiensDeleteCall) Do(opts ...googleapi.CallOption) (*Empty, error) {
|
|||
|
||||
}
|
||||
|
||||
// method id "cloudresourcemanager.liens.get":
|
||||
|
||||
type LiensGetCall struct {
|
||||
s *Service
|
||||
nameid string
|
||||
urlParams_ gensupport.URLParams
|
||||
ifNoneMatch_ string
|
||||
ctx_ context.Context
|
||||
header_ http.Header
|
||||
}
|
||||
|
||||
// Get: Retrieve a Lien by `name`.
|
||||
//
|
||||
// Callers of this method will require permission on the `parent`
|
||||
// resource.
|
||||
// For example, a Lien with a `parent` of `projects/1234` requires
|
||||
// permission
|
||||
// requires permission `resourcemanager.projects.get`
|
||||
// or
|
||||
// `resourcemanager.projects.updateLiens`.
|
||||
func (r *LiensService) Get(nameid string) *LiensGetCall {
|
||||
c := &LiensGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
|
||||
c.nameid = nameid
|
||||
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 *LiensGetCall) Fields(s ...googleapi.Field) *LiensGetCall {
|
||||
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 *LiensGetCall) IfNoneMatch(entityTag string) *LiensGetCall {
|
||||
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 *LiensGetCall) Context(ctx context.Context) *LiensGetCall {
|
||||
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 *LiensGetCall) Header() http.Header {
|
||||
if c.header_ == nil {
|
||||
c.header_ = make(http.Header)
|
||||
}
|
||||
return c.header_
|
||||
}
|
||||
|
||||
func (c *LiensGetCall) 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}")
|
||||
urls += "?" + c.urlParams_.Encode()
|
||||
req, _ := http.NewRequest("GET", urls, body)
|
||||
req.Header = reqHeaders
|
||||
googleapi.Expand(req.URL, map[string]string{
|
||||
"name": c.nameid,
|
||||
})
|
||||
return gensupport.SendRequest(c.ctx_, c.s.client, req)
|
||||
}
|
||||
|
||||
// Do executes the "cloudresourcemanager.liens.get" call.
|
||||
// Exactly one of *Lien or error will be non-nil. Any non-2xx status
|
||||
// code is an error. Response headers are in either
|
||||
// *Lien.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 *LiensGetCall) Do(opts ...googleapi.CallOption) (*Lien, 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 := &Lien{
|
||||
ServerResponse: googleapi.ServerResponse{
|
||||
Header: res.Header,
|
||||
HTTPStatusCode: res.StatusCode,
|
||||
},
|
||||
}
|
||||
target := &ret
|
||||
if err := gensupport.DecodeResponse(target, res); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return ret, nil
|
||||
// {
|
||||
// "description": "Retrieve a Lien by `name`.\n\nCallers of this method will require permission on the `parent` resource.\nFor example, a Lien with a `parent` of `projects/1234` requires permission\nrequires permission `resourcemanager.projects.get` or\n`resourcemanager.projects.updateLiens`.",
|
||||
// "flatPath": "v1/liens/{liensId}",
|
||||
// "httpMethod": "GET",
|
||||
// "id": "cloudresourcemanager.liens.get",
|
||||
// "parameterOrder": [
|
||||
// "name"
|
||||
// ],
|
||||
// "parameters": {
|
||||
// "name": {
|
||||
// "description": "The name/identifier of the Lien.",
|
||||
// "location": "path",
|
||||
// "pattern": "^liens/.+$",
|
||||
// "required": true,
|
||||
// "type": "string"
|
||||
// }
|
||||
// },
|
||||
// "path": "v1/{+name}",
|
||||
// "response": {
|
||||
// "$ref": "Lien"
|
||||
// },
|
||||
// "scopes": [
|
||||
// "https://www.googleapis.com/auth/cloud-platform",
|
||||
// "https://www.googleapis.com/auth/cloud-platform.read-only"
|
||||
// ]
|
||||
// }
|
||||
|
||||
}
|
||||
|
||||
// method id "cloudresourcemanager.liens.list":
|
||||
|
||||
type LiensListCall struct {
|
||||
|
@ -4116,6 +4306,9 @@ type OrganizationsGetEffectiveOrgPolicyCall struct {
|
|||
// have
|
||||
// an `etag`set because it is a computed `Policy` across multiple
|
||||
// resources.
|
||||
// Subtrees of Resource Manager resource hierarchy with 'under:' prefix
|
||||
// will
|
||||
// not be expanded.
|
||||
func (r *OrganizationsService) GetEffectiveOrgPolicy(resource string, geteffectiveorgpolicyrequest *GetEffectiveOrgPolicyRequest) *OrganizationsGetEffectiveOrgPolicyCall {
|
||||
c := &OrganizationsGetEffectiveOrgPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
|
||||
c.resource = resource
|
||||
|
@ -4209,7 +4402,7 @@ func (c *OrganizationsGetEffectiveOrgPolicyCall) Do(opts ...googleapi.CallOption
|
|||
}
|
||||
return ret, nil
|
||||
// {
|
||||
// "description": "Gets the effective `Policy` on a resource. This is the result of merging\n`Policies` in the resource hierarchy. The returned `Policy` will not have\nan `etag`set because it is a computed `Policy` across multiple resources.",
|
||||
// "description": "Gets the effective `Policy` on a resource. This is the result of merging\n`Policies` in the resource hierarchy. The returned `Policy` will not have\nan `etag`set because it is a computed `Policy` across multiple resources.\nSubtrees of Resource Manager resource hierarchy with 'under:' prefix will\nnot be expanded.",
|
||||
// "flatPath": "v1/organizations/{organizationsId}:getEffectiveOrgPolicy",
|
||||
// "httpMethod": "POST",
|
||||
// "id": "cloudresourcemanager.organizations.getEffectiveOrgPolicy",
|
||||
|
@ -5591,6 +5784,15 @@ type ProjectsCreateCall struct {
|
|||
// new
|
||||
// project. The parent is identified by a specified ResourceId,
|
||||
// which must include both an ID and a type, such as organization.
|
||||
//
|
||||
// This method does not associate the new project with a billing
|
||||
// account.
|
||||
// You can set or update the billing account associated with a project
|
||||
// using
|
||||
// the
|
||||
// [`projects.updateBillingInfo`]
|
||||
// (/billing/reference/rest/v1/projects/up
|
||||
// dateBillingInfo) method.
|
||||
func (r *ProjectsService) Create(project *Project) *ProjectsCreateCall {
|
||||
c := &ProjectsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
|
||||
c.project = project
|
||||
|
@ -5680,7 +5882,7 @@ func (c *ProjectsCreateCall) Do(opts ...googleapi.CallOption) (*Operation, error
|
|||
}
|
||||
return ret, nil
|
||||
// {
|
||||
// "description": "Request that a new Project be created. The result is an Operation which\ncan be used to track the creation process. It is automatically deleted\nafter a few hours, so there is no need to call DeleteOperation.\n\nOur SLO permits Project creation to take up to 30 seconds at the 90th\npercentile. As of 2016-08-29, we are observing 6 seconds 50th percentile\nlatency. 95th percentile latency is around 11 seconds. We recommend\npolling at the 5th second with an exponential backoff.\n\nAuthorization requires the Google IAM permission\n`resourcemanager.projects.create` on the specified parent for the new\nproject. The parent is identified by a specified ResourceId,\nwhich must include both an ID and a type, such as organization.",
|
||||
// "description": "Request that a new Project be created. The result is an Operation which\ncan be used to track the creation process. It is automatically deleted\nafter a few hours, so there is no need to call DeleteOperation.\n\nOur SLO permits Project creation to take up to 30 seconds at the 90th\npercentile. As of 2016-08-29, we are observing 6 seconds 50th percentile\nlatency. 95th percentile latency is around 11 seconds. We recommend\npolling at the 5th second with an exponential backoff.\n\nAuthorization requires the Google IAM permission\n`resourcemanager.projects.create` on the specified parent for the new\nproject. The parent is identified by a specified ResourceId,\nwhich must include both an ID and a type, such as organization.\n\nThis method does not associate the new project with a billing account.\nYou can set or update the billing account associated with a project using\nthe [`projects.updateBillingInfo`]\n(/billing/reference/rest/v1/projects/updateBillingInfo) method.",
|
||||
// "flatPath": "v1/projects",
|
||||
// "httpMethod": "POST",
|
||||
// "id": "cloudresourcemanager.projects.create",
|
||||
|
@ -6145,6 +6347,9 @@ type ProjectsGetEffectiveOrgPolicyCall struct {
|
|||
// have
|
||||
// an `etag`set because it is a computed `Policy` across multiple
|
||||
// resources.
|
||||
// Subtrees of Resource Manager resource hierarchy with 'under:' prefix
|
||||
// will
|
||||
// not be expanded.
|
||||
func (r *ProjectsService) GetEffectiveOrgPolicy(resource string, geteffectiveorgpolicyrequest *GetEffectiveOrgPolicyRequest) *ProjectsGetEffectiveOrgPolicyCall {
|
||||
c := &ProjectsGetEffectiveOrgPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
|
||||
c.resource = resource
|
||||
|
@ -6238,7 +6443,7 @@ func (c *ProjectsGetEffectiveOrgPolicyCall) Do(opts ...googleapi.CallOption) (*O
|
|||
}
|
||||
return ret, nil
|
||||
// {
|
||||
// "description": "Gets the effective `Policy` on a resource. This is the result of merging\n`Policies` in the resource hierarchy. The returned `Policy` will not have\nan `etag`set because it is a computed `Policy` across multiple resources.",
|
||||
// "description": "Gets the effective `Policy` on a resource. This is the result of merging\n`Policies` in the resource hierarchy. The returned `Policy` will not have\nan `etag`set because it is a computed `Policy` across multiple resources.\nSubtrees of Resource Manager resource hierarchy with 'under:' prefix will\nnot be expanded.",
|
||||
// "flatPath": "v1/projects/{projectsId}:getEffectiveOrgPolicy",
|
||||
// "httpMethod": "POST",
|
||||
// "id": "cloudresourcemanager.projects.getEffectiveOrgPolicy",
|
||||
|
|
15
vendor/google.golang.org/api/cloudresourcemanager/v1beta1/cloudresourcemanager-api.json
generated
vendored
15
vendor/google.golang.org/api/cloudresourcemanager/v1beta1/cloudresourcemanager-api.json
generated
vendored
|
@ -63,11 +63,6 @@
|
|||
"location": "query",
|
||||
"type": "string"
|
||||
},
|
||||
"bearer_token": {
|
||||
"description": "OAuth bearer token.",
|
||||
"location": "query",
|
||||
"type": "string"
|
||||
},
|
||||
"callback": {
|
||||
"description": "JSONP",
|
||||
"location": "query",
|
||||
|
@ -88,12 +83,6 @@
|
|||
"location": "query",
|
||||
"type": "string"
|
||||
},
|
||||
"pp": {
|
||||
"default": "true",
|
||||
"description": "Pretty-print response.",
|
||||
"location": "query",
|
||||
"type": "boolean"
|
||||
},
|
||||
"prettyPrint": {
|
||||
"default": "true",
|
||||
"description": "Returns response with indentations and line breaks.",
|
||||
|
@ -303,7 +292,7 @@
|
|||
"projects": {
|
||||
"methods": {
|
||||
"create": {
|
||||
"description": "Creates a Project resource.\n\nInitially, the Project resource is owned by its creator exclusively.\nThe creator can later grant permission to others to read or update the\nProject.\n\nSeveral APIs are activated automatically for the Project, including\nGoogle Cloud Storage. The parent is identified by a specified\nResourceId, which must include both an ID and a type, such as\nproject, folder, or organization.",
|
||||
"description": "Creates a Project resource.\n\nInitially, the Project resource is owned by its creator exclusively.\nThe creator can later grant permission to others to read or update the\nProject.\n\nSeveral APIs are activated automatically for the Project, including\nGoogle Cloud Storage. The parent is identified by a specified\nResourceId, which must include both an ID and a type, such as\nproject, folder, or organization.\n\nThis method does not associate the new project with a billing account.\nYou can set or update the billing account associated with a project using\nthe [`projects.updateBillingInfo`]\n(/billing/reference/rest/v1/projects/updateBillingInfo) method.",
|
||||
"flatPath": "v1beta1/projects",
|
||||
"httpMethod": "POST",
|
||||
"id": "cloudresourcemanager.projects.create",
|
||||
|
@ -576,7 +565,7 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
"revision": "20180418",
|
||||
"revision": "20180606",
|
||||
"rootUrl": "https://cloudresourcemanager.googleapis.com/",
|
||||
"schemas": {
|
||||
"Ancestor": {
|
||||
|
|
11
vendor/google.golang.org/api/cloudresourcemanager/v1beta1/cloudresourcemanager-gen.go
generated
vendored
11
vendor/google.golang.org/api/cloudresourcemanager/v1beta1/cloudresourcemanager-gen.go
generated
vendored
|
@ -2099,6 +2099,15 @@ type ProjectsCreateCall struct {
|
|||
// ResourceId, which must include both an ID and a type, such
|
||||
// as
|
||||
// project, folder, or organization.
|
||||
//
|
||||
// This method does not associate the new project with a billing
|
||||
// account.
|
||||
// You can set or update the billing account associated with a project
|
||||
// using
|
||||
// the
|
||||
// [`projects.updateBillingInfo`]
|
||||
// (/billing/reference/rest/v1/projects/up
|
||||
// dateBillingInfo) method.
|
||||
func (r *ProjectsService) Create(project *Project) *ProjectsCreateCall {
|
||||
c := &ProjectsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
|
||||
c.project = project
|
||||
|
@ -2195,7 +2204,7 @@ func (c *ProjectsCreateCall) Do(opts ...googleapi.CallOption) (*Project, error)
|
|||
}
|
||||
return ret, nil
|
||||
// {
|
||||
// "description": "Creates a Project resource.\n\nInitially, the Project resource is owned by its creator exclusively.\nThe creator can later grant permission to others to read or update the\nProject.\n\nSeveral APIs are activated automatically for the Project, including\nGoogle Cloud Storage. The parent is identified by a specified\nResourceId, which must include both an ID and a type, such as\nproject, folder, or organization.",
|
||||
// "description": "Creates a Project resource.\n\nInitially, the Project resource is owned by its creator exclusively.\nThe creator can later grant permission to others to read or update the\nProject.\n\nSeveral APIs are activated automatically for the Project, including\nGoogle Cloud Storage. The parent is identified by a specified\nResourceId, which must include both an ID and a type, such as\nproject, folder, or organization.\n\nThis method does not associate the new project with a billing account.\nYou can set or update the billing account associated with a project using\nthe [`projects.updateBillingInfo`]\n(/billing/reference/rest/v1/projects/updateBillingInfo) method.",
|
||||
// "flatPath": "v1beta1/projects",
|
||||
// "httpMethod": "POST",
|
||||
// "id": "cloudresourcemanager.projects.create",
|
||||
|
|
17
vendor/google.golang.org/api/cloudresourcemanager/v2/cloudresourcemanager-api.json
generated
vendored
17
vendor/google.golang.org/api/cloudresourcemanager/v2/cloudresourcemanager-api.json
generated
vendored
|
@ -63,11 +63,6 @@
|
|||
"location": "query",
|
||||
"type": "string"
|
||||
},
|
||||
"bearer_token": {
|
||||
"description": "OAuth bearer token.",
|
||||
"location": "query",
|
||||
"type": "string"
|
||||
},
|
||||
"callback": {
|
||||
"description": "JSONP",
|
||||
"location": "query",
|
||||
|
@ -88,12 +83,6 @@
|
|||
"location": "query",
|
||||
"type": "string"
|
||||
},
|
||||
"pp": {
|
||||
"default": "true",
|
||||
"description": "Pretty-print response.",
|
||||
"location": "query",
|
||||
"type": "boolean"
|
||||
},
|
||||
"prettyPrint": {
|
||||
"default": "true",
|
||||
"description": "Returns response with indentations and line breaks.",
|
||||
|
@ -121,7 +110,7 @@
|
|||
"folders": {
|
||||
"methods": {
|
||||
"create": {
|
||||
"description": "Creates a Folder in the resource hierarchy.\nReturns an Operation which can be used to track the progress of the\nfolder creation workflow.\nUpon success the Operation.response field will be populated with the\ncreated Folder.\n\nIn order to succeed, the addition of this new Folder must not violate\nthe Folder naming, height or fanout constraints.\n\n+ The Folder's display_name must be distinct from all other Folder's that\nshare its parent.\n+ The addition of the Folder must not cause the active Folder hierarchy\nto exceed a height of 4. Note, the full active + deleted Folder hierarchy\nis allowed to reach a height of 8; this provides additional headroom when\nmoving folders that contain deleted folders.\n+ The addition of the Folder must not cause the total number of Folders\nunder its parent to exceed 100.\n\nIf the operation fails due to a folder constraint violation,\na PreconditionFailure explaining the violation will be returned.\nIf the failure occurs synchronously then the PreconditionFailure\nwill be returned via the Status.details field and if it occurs\nasynchronously then the PreconditionFailure will be returned\nvia the the Operation.error field.\n\nThe caller must have `resourcemanager.folders.create` permission on the\nidentified parent.",
|
||||
"description": "Creates a Folder in the resource hierarchy.\nReturns an Operation which can be used to track the progress of the\nfolder creation workflow.\nUpon success the Operation.response field will be populated with the\ncreated Folder.\n\nIn order to succeed, the addition of this new Folder must not violate\nthe Folder naming, height or fanout constraints.\n\n+ The Folder's display_name must be distinct from all other Folder's that\nshare its parent.\n+ The addition of the Folder must not cause the active Folder hierarchy\nto exceed a height of 4. Note, the full active + deleted Folder hierarchy\nis allowed to reach a height of 8; this provides additional headroom when\nmoving folders that contain deleted folders.\n+ The addition of the Folder must not cause the total number of Folders\nunder its parent to exceed 100.\n\nIf the operation fails due to a folder constraint violation, some errors\nmay be returned by the CreateFolder request, with status code\nFAILED_PRECONDITION and an error description. Other folder constraint\nviolations will be communicated in the Operation, with the specific\nPreconditionFailure returned via the details list in the Operation.error\nfield.\n\nThe caller must have `resourcemanager.folders.create` permission on the\nidentified parent.",
|
||||
"flatPath": "v2/folders",
|
||||
"httpMethod": "POST",
|
||||
"id": "cloudresourcemanager.folders.create",
|
||||
|
@ -430,7 +419,7 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
"revision": "20180418",
|
||||
"revision": "20180611",
|
||||
"rootUrl": "https://cloudresourcemanager.googleapis.com/",
|
||||
"schemas": {
|
||||
"AuditConfig": {
|
||||
|
@ -740,7 +729,7 @@
|
|||
"type": "string"
|
||||
},
|
||||
"query": {
|
||||
"description": "Search criteria used to select the Folders to return.\nIf no search criteria is specified then all accessible folders will be\nreturned.\n\nQuery expressions can be used to restrict results based upon displayName,\nlifecycleState and parent, where the operators `=`, `NOT`, `AND` and `OR`\ncan be used along with the suffix wildcard symbol `*`.\n\nSome example queries are:\n\n|Query | Description|\n|----- | -----------|\n|displayName=Test* | Folders whose display name starts with \"Test\".\n|lifecycleState=ACTIVE | Folders whose lifecycleState is ACTIVE.\n|parent=folders/123 | Folders whose parent is \"folders/123\".\n|parent=folders/123 AND lifecycleState=ACTIVE | Active folders whose parent is \"folders/123\".|",
|
||||
"description": "Search criteria used to select the Folders to return.\nIf no search criteria is specified then all accessible folders will be\nreturned.\n\nQuery expressions can be used to restrict results based upon displayName,\nlifecycleState and parent, where the operators `=`, `NOT`, `AND` and `OR`\ncan be used along with the suffix wildcard symbol `*`.\n\nThe displayName field in a query expression should use escaped quotes\nfor values that include whitespace to prevent unexpected behavior.\n\nSome example queries are:\n\n|Query | Description|\n|----- | -----------|\n|displayName=Test* | Folders whose display name starts with \"Test\".|\n|lifecycleState=ACTIVE | Folders whose lifecycleState is ACTIVE.|\n|parent=folders/123 | Folders whose parent is \"folders/123\".|\n|parent=folders/123 AND lifecycleState=ACTIVE | Active folders whose parent is \"folders/123\".|\n|displayName=\\\\\"Test String\\\\\"|Folders whose display name includes both \"Test\" and \"String\".|",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
|
|
33
vendor/google.golang.org/api/cloudresourcemanager/v2/cloudresourcemanager-gen.go
generated
vendored
33
vendor/google.golang.org/api/cloudresourcemanager/v2/cloudresourcemanager-gen.go
generated
vendored
|
@ -804,18 +804,25 @@ type SearchFoldersRequest struct {
|
|||
// `OR`
|
||||
// can be used along with the suffix wildcard symbol `*`.
|
||||
//
|
||||
// The displayName field in a query expression should use escaped
|
||||
// quotes
|
||||
// for values that include whitespace to prevent unexpected
|
||||
// behavior.
|
||||
//
|
||||
// Some example queries are:
|
||||
//
|
||||
// |Query | Description|
|
||||
// |----- | -----------|
|
||||
// |displayName=Test* | Folders whose display name starts with
|
||||
// "Test".
|
||||
// "Test".|
|
||||
// |lifecycleState=ACTIVE | Folders whose lifecycleState is
|
||||
// ACTIVE.
|
||||
// ACTIVE.|
|
||||
// |parent=folders/123 | Folders whose parent is
|
||||
// "folders/123".
|
||||
// "folders/123".|
|
||||
// |parent=folders/123 AND lifecycleState=ACTIVE | Active folders whose
|
||||
// parent is "folders/123".|
|
||||
// |displayName=\\"Test String\\"|Folders whose display name includes
|
||||
// both "Test" and "String".|
|
||||
Query string `json:"query,omitempty"`
|
||||
|
||||
// ForceSendFields is a list of field names (e.g. "PageSize") to
|
||||
|
@ -1151,13 +1158,17 @@ type FoldersCreateCall struct {
|
|||
// Folders
|
||||
// under its parent to exceed 100.
|
||||
//
|
||||
// If the operation fails due to a folder constraint violation,
|
||||
// a PreconditionFailure explaining the violation will be returned.
|
||||
// If the failure occurs synchronously then the PreconditionFailure
|
||||
// will be returned via the Status.details field and if it
|
||||
// occurs
|
||||
// asynchronously then the PreconditionFailure will be returned
|
||||
// via the the Operation.error field.
|
||||
// If the operation fails due to a folder constraint violation, some
|
||||
// errors
|
||||
// may be returned by the CreateFolder request, with status
|
||||
// code
|
||||
// FAILED_PRECONDITION and an error description. Other folder
|
||||
// constraint
|
||||
// violations will be communicated in the Operation, with the
|
||||
// specific
|
||||
// PreconditionFailure returned via the details list in the
|
||||
// Operation.error
|
||||
// field.
|
||||
//
|
||||
// The caller must have `resourcemanager.folders.create` permission on
|
||||
// the
|
||||
|
@ -1260,7 +1271,7 @@ func (c *FoldersCreateCall) Do(opts ...googleapi.CallOption) (*Operation, error)
|
|||
}
|
||||
return ret, nil
|
||||
// {
|
||||
// "description": "Creates a Folder in the resource hierarchy.\nReturns an Operation which can be used to track the progress of the\nfolder creation workflow.\nUpon success the Operation.response field will be populated with the\ncreated Folder.\n\nIn order to succeed, the addition of this new Folder must not violate\nthe Folder naming, height or fanout constraints.\n\n+ The Folder's display_name must be distinct from all other Folder's that\nshare its parent.\n+ The addition of the Folder must not cause the active Folder hierarchy\nto exceed a height of 4. Note, the full active + deleted Folder hierarchy\nis allowed to reach a height of 8; this provides additional headroom when\nmoving folders that contain deleted folders.\n+ The addition of the Folder must not cause the total number of Folders\nunder its parent to exceed 100.\n\nIf the operation fails due to a folder constraint violation,\na PreconditionFailure explaining the violation will be returned.\nIf the failure occurs synchronously then the PreconditionFailure\nwill be returned via the Status.details field and if it occurs\nasynchronously then the PreconditionFailure will be returned\nvia the the Operation.error field.\n\nThe caller must have `resourcemanager.folders.create` permission on the\nidentified parent.",
|
||||
// "description": "Creates a Folder in the resource hierarchy.\nReturns an Operation which can be used to track the progress of the\nfolder creation workflow.\nUpon success the Operation.response field will be populated with the\ncreated Folder.\n\nIn order to succeed, the addition of this new Folder must not violate\nthe Folder naming, height or fanout constraints.\n\n+ The Folder's display_name must be distinct from all other Folder's that\nshare its parent.\n+ The addition of the Folder must not cause the active Folder hierarchy\nto exceed a height of 4. Note, the full active + deleted Folder hierarchy\nis allowed to reach a height of 8; this provides additional headroom when\nmoving folders that contain deleted folders.\n+ The addition of the Folder must not cause the total number of Folders\nunder its parent to exceed 100.\n\nIf the operation fails due to a folder constraint violation, some errors\nmay be returned by the CreateFolder request, with status code\nFAILED_PRECONDITION and an error description. Other folder constraint\nviolations will be communicated in the Operation, with the specific\nPreconditionFailure returned via the details list in the Operation.error\nfield.\n\nThe caller must have `resourcemanager.folders.create` permission on the\nidentified parent.",
|
||||
// "flatPath": "v2/folders",
|
||||
// "httpMethod": "POST",
|
||||
// "id": "cloudresourcemanager.folders.create",
|
||||
|
|
15
vendor/google.golang.org/api/cloudresourcemanager/v2beta1/cloudresourcemanager-api.json
generated
vendored
15
vendor/google.golang.org/api/cloudresourcemanager/v2beta1/cloudresourcemanager-api.json
generated
vendored
|
@ -63,11 +63,6 @@
|
|||
"location": "query",
|
||||
"type": "string"
|
||||
},
|
||||
"bearer_token": {
|
||||
"description": "OAuth bearer token.",
|
||||
"location": "query",
|
||||
"type": "string"
|
||||
},
|
||||
"callback": {
|
||||
"description": "JSONP",
|
||||
"location": "query",
|
||||
|
@ -88,12 +83,6 @@
|
|||
"location": "query",
|
||||
"type": "string"
|
||||
},
|
||||
"pp": {
|
||||
"default": "true",
|
||||
"description": "Pretty-print response.",
|
||||
"location": "query",
|
||||
"type": "boolean"
|
||||
},
|
||||
"prettyPrint": {
|
||||
"default": "true",
|
||||
"description": "Returns response with indentations and line breaks.",
|
||||
|
@ -430,7 +419,7 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
"revision": "20180418",
|
||||
"revision": "20180606",
|
||||
"rootUrl": "https://cloudresourcemanager.googleapis.com/",
|
||||
"schemas": {
|
||||
"AuditConfig": {
|
||||
|
@ -740,7 +729,7 @@
|
|||
"type": "string"
|
||||
},
|
||||
"query": {
|
||||
"description": "Search criteria used to select the Folders to return.\nIf no search criteria is specified then all accessible folders will be\nreturned.\n\nQuery expressions can be used to restrict results based upon displayName,\nlifecycleState and parent, where the operators `=`, `NOT`, `AND` and `OR`\ncan be used along with the suffix wildcard symbol `*`.\n\nSome example queries are:\n\n|Query | Description|\n|----- | -----------|\n|displayName=Test*|Folders whose display name starts with \"Test\".|\n|lifecycleState=ACTIVE|Folders whose lifecycleState is ACTIVE.|\n|parent=folders/123|Folders whose parent is \"folders/123\".|\n|parent=folders/123 AND lifecycleState=ACTIVE|Active folders whose parent is \"folders/123\".|",
|
||||
"description": "Search criteria used to select the Folders to return.\nIf no search criteria is specified then all accessible folders will be\nreturned.\n\nQuery expressions can be used to restrict results based upon displayName,\nlifecycleState and parent, where the operators `=`, `NOT`, `AND` and `OR`\ncan be used along with the suffix wildcard symbol `*`.\n\nThe displayName field in a query expression should use escaped quotes\nfor values that include whitespace to prevent unexpected behavior.\n\nSome example queries are:\n\n|Query | Description|\n|----- | -----------|\n|displayName=Test*|Folders whose display name starts with \"Test\".|\n|lifecycleState=ACTIVE|Folders whose lifecycleState is ACTIVE.|\n|parent=folders/123|Folders whose parent is \"folders/123\".|\n|parent=folders/123 AND lifecycleState=ACTIVE|Active folders whose parent is \"folders/123\".|\n|displayName=\\\\\"Test String\\\\\"|Folders whose display name includes both \"Test\" and \"String\".|",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
|
|
|
@ -804,6 +804,11 @@ type SearchFoldersRequest struct {
|
|||
// `OR`
|
||||
// can be used along with the suffix wildcard symbol `*`.
|
||||
//
|
||||
// The displayName field in a query expression should use escaped
|
||||
// quotes
|
||||
// for values that include whitespace to prevent unexpected
|
||||
// behavior.
|
||||
//
|
||||
// Some example queries are:
|
||||
//
|
||||
// |Query | Description|
|
||||
|
@ -816,6 +821,8 @@ type SearchFoldersRequest struct {
|
|||
// "folders/123".|
|
||||
// |parent=folders/123 AND lifecycleState=ACTIVE|Active folders whose
|
||||
// parent is "folders/123".|
|
||||
// |displayName=\\"Test String\\"|Folders whose display name includes
|
||||
// both "Test" and "String".|
|
||||
Query string `json:"query,omitempty"`
|
||||
|
||||
// ForceSendFields is a list of field names (e.g. "PageSize") to
|
||||
|
|
13
vendor/google.golang.org/api/cloudshell/v1/cloudshell-api.json
generated
vendored
13
vendor/google.golang.org/api/cloudshell/v1/cloudshell-api.json
generated
vendored
|
@ -60,11 +60,6 @@
|
|||
"location": "query",
|
||||
"type": "string"
|
||||
},
|
||||
"bearer_token": {
|
||||
"description": "OAuth bearer token.",
|
||||
"location": "query",
|
||||
"type": "string"
|
||||
},
|
||||
"callback": {
|
||||
"description": "JSONP",
|
||||
"location": "query",
|
||||
|
@ -85,12 +80,6 @@
|
|||
"location": "query",
|
||||
"type": "string"
|
||||
},
|
||||
"pp": {
|
||||
"default": "true",
|
||||
"description": "Pretty-print response.",
|
||||
"location": "query",
|
||||
"type": "boolean"
|
||||
},
|
||||
"prettyPrint": {
|
||||
"default": "true",
|
||||
"description": "Returns response with indentations and line breaks.",
|
||||
|
@ -239,7 +228,7 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
"revision": "20180203",
|
||||
"revision": "20180602",
|
||||
"rootUrl": "https://cloudshell.googleapis.com/",
|
||||
"schemas": {
|
||||
"CancelOperationRequest": {
|
||||
|
|
13
vendor/google.golang.org/api/cloudshell/v1alpha1/cloudshell-api.json
generated
vendored
13
vendor/google.golang.org/api/cloudshell/v1alpha1/cloudshell-api.json
generated
vendored
|
@ -60,11 +60,6 @@
|
|||
"location": "query",
|
||||
"type": "string"
|
||||
},
|
||||
"bearer_token": {
|
||||
"description": "OAuth bearer token.",
|
||||
"location": "query",
|
||||
"type": "string"
|
||||
},
|
||||
"callback": {
|
||||
"description": "JSONP",
|
||||
"location": "query",
|
||||
|
@ -85,12 +80,6 @@
|
|||
"location": "query",
|
||||
"type": "string"
|
||||
},
|
||||
"pp": {
|
||||
"default": "true",
|
||||
"description": "Pretty-print response.",
|
||||
"location": "query",
|
||||
"type": "boolean"
|
||||
},
|
||||
"prettyPrint": {
|
||||
"default": "true",
|
||||
"description": "Returns response with indentations and line breaks.",
|
||||
|
@ -270,7 +259,7 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
"revision": "20180203",
|
||||
"revision": "20180602",
|
||||
"rootUrl": "https://cloudshell.googleapis.com/",
|
||||
"schemas": {
|
||||
"CreatePublicKeyRequest": {
|
||||
|
|
17
vendor/google.golang.org/api/cloudtasks/v2beta2/cloudtasks-api.json
generated
vendored
17
vendor/google.golang.org/api/cloudtasks/v2beta2/cloudtasks-api.json
generated
vendored
|
@ -60,11 +60,6 @@
|
|||
"location": "query",
|
||||
"type": "string"
|
||||
},
|
||||
"bearer_token": {
|
||||
"description": "OAuth bearer token.",
|
||||
"location": "query",
|
||||
"type": "string"
|
||||
},
|
||||
"callback": {
|
||||
"description": "JSONP",
|
||||
"location": "query",
|
||||
|
@ -85,12 +80,6 @@
|
|||
"location": "query",
|
||||
"type": "string"
|
||||
},
|
||||
"pp": {
|
||||
"default": "true",
|
||||
"description": "Pretty-print response.",
|
||||
"location": "query",
|
||||
"type": "boolean"
|
||||
},
|
||||
"prettyPrint": {
|
||||
"default": "true",
|
||||
"description": "Returns response with indentations and line breaks.",
|
||||
|
@ -515,7 +504,7 @@
|
|||
"tasks": {
|
||||
"methods": {
|
||||
"acknowledge": {
|
||||
"description": "Acknowledges a pull task.\n\nThe worker, that is, the entity that\nleased this task must call this method\nto indicate that the work associated with the task has finished.\n\nThe worker must acknowledge a task within the\nlease_duration or the lease\nwill expire and the task will become available to be leased\nagain. After the task is acknowledged, it will not be returned\nby a later LeaseTasks,\nGetTask, or\nListTasks.\n\nTo acknowledge multiple tasks at the same time, use\n[HTTP batching](/storage/docs/json_api/v1/how-tos/batch)\nor the batching documentation for your client library, for example\nhttps://developers.google.com/api-client-library/python/guide/batch.",
|
||||
"description": "Acknowledges a pull task.\n\nThe worker, that is, the entity that\nleased this task must call this method\nto indicate that the work associated with the task has finished.\n\nThe worker must acknowledge a task within the\nlease_duration or the lease\nwill expire and the task will become available to be leased\nagain. After the task is acknowledged, it will not be returned\nby a later LeaseTasks,\nGetTask, or\nListTasks.",
|
||||
"flatPath": "v2beta2/projects/{projectsId}/locations/{locationsId}/queues/{queuesId}/tasks/{tasksId}:acknowledge",
|
||||
"httpMethod": "POST",
|
||||
"id": "cloudtasks.projects.locations.queues.tasks.acknowledge",
|
||||
|
@ -571,7 +560,7 @@
|
|||
]
|
||||
},
|
||||
"create": {
|
||||
"description": "Creates a task and adds it to a queue.\n\nTo add multiple tasks at the same time, use\n[HTTP batching](/storage/docs/json_api/v1/how-tos/batch)\nor the batching documentation for your client library, for example\nhttps://developers.google.com/api-client-library/python/guide/batch.\n\nTasks cannot be updated after creation; there is no UpdateTask command.\n\n* For [App Engine queues](google.cloud.tasks.v2beta2.AppEngineHttpTarget),\n the maximum task size is 100KB.\n* For [pull queues](google.cloud.tasks.v2beta2.PullTarget), this\n the maximum task size is 1MB.",
|
||||
"description": "Creates a task and adds it to a queue.\n\nTasks cannot be updated after creation; there is no UpdateTask command.\n\n* For [App Engine queues](google.cloud.tasks.v2beta2.AppEngineHttpTarget),\n the maximum task size is 100KB.\n* For [pull queues](google.cloud.tasks.v2beta2.PullTarget), this\n the maximum task size is 1MB.",
|
||||
"flatPath": "v2beta2/projects/{projectsId}/locations/{locationsId}/queues/{queuesId}/tasks",
|
||||
"httpMethod": "POST",
|
||||
"id": "cloudtasks.projects.locations.queues.tasks.create",
|
||||
|
@ -802,7 +791,7 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
"revision": "20180503",
|
||||
"revision": "20180606",
|
||||
"rootUrl": "https://cloudtasks.googleapis.com/",
|
||||
"schemas": {
|
||||
"AcknowledgeTaskRequest": {
|
||||
|
|
18
vendor/google.golang.org/api/cloudtasks/v2beta2/cloudtasks-gen.go
generated
vendored
18
vendor/google.golang.org/api/cloudtasks/v2beta2/cloudtasks-gen.go
generated
vendored
|
@ -4445,13 +4445,6 @@ type ProjectsLocationsQueuesTasksAcknowledgeCall struct {
|
|||
// by a later LeaseTasks,
|
||||
// GetTask, or
|
||||
// ListTasks.
|
||||
//
|
||||
// To acknowledge multiple tasks at the same time, use
|
||||
// [HTTP batching](/storage/docs/json_api/v1/how-tos/batch)
|
||||
// or the batching documentation for your client library, for
|
||||
// example
|
||||
// https://developers.google.com/api-client-library/python/guide/
|
||||
// batch.
|
||||
func (r *ProjectsLocationsQueuesTasksService) Acknowledge(name string, acknowledgetaskrequest *AcknowledgeTaskRequest) *ProjectsLocationsQueuesTasksAcknowledgeCall {
|
||||
c := &ProjectsLocationsQueuesTasksAcknowledgeCall{s: r.s, urlParams_: make(gensupport.URLParams)}
|
||||
c.name = name
|
||||
|
@ -4545,7 +4538,7 @@ func (c *ProjectsLocationsQueuesTasksAcknowledgeCall) Do(opts ...googleapi.CallO
|
|||
}
|
||||
return ret, nil
|
||||
// {
|
||||
// "description": "Acknowledges a pull task.\n\nThe worker, that is, the entity that\nleased this task must call this method\nto indicate that the work associated with the task has finished.\n\nThe worker must acknowledge a task within the\nlease_duration or the lease\nwill expire and the task will become available to be leased\nagain. After the task is acknowledged, it will not be returned\nby a later LeaseTasks,\nGetTask, or\nListTasks.\n\nTo acknowledge multiple tasks at the same time, use\n[HTTP batching](/storage/docs/json_api/v1/how-tos/batch)\nor the batching documentation for your client library, for example\nhttps://developers.google.com/api-client-library/python/guide/batch.",
|
||||
// "description": "Acknowledges a pull task.\n\nThe worker, that is, the entity that\nleased this task must call this method\nto indicate that the work associated with the task has finished.\n\nThe worker must acknowledge a task within the\nlease_duration or the lease\nwill expire and the task will become available to be leased\nagain. After the task is acknowledged, it will not be returned\nby a later LeaseTasks,\nGetTask, or\nListTasks.",
|
||||
// "flatPath": "v2beta2/projects/{projectsId}/locations/{locationsId}/queues/{queuesId}/tasks/{tasksId}:acknowledge",
|
||||
// "httpMethod": "POST",
|
||||
// "id": "cloudtasks.projects.locations.queues.tasks.acknowledge",
|
||||
|
@ -4729,13 +4722,6 @@ type ProjectsLocationsQueuesTasksCreateCall struct {
|
|||
|
||||
// Create: Creates a task and adds it to a queue.
|
||||
//
|
||||
// To add multiple tasks at the same time, use
|
||||
// [HTTP batching](/storage/docs/json_api/v1/how-tos/batch)
|
||||
// or the batching documentation for your client library, for
|
||||
// example
|
||||
// https://developers.google.com/api-client-library/python/guide/
|
||||
// batch.
|
||||
//
|
||||
// Tasks cannot be updated after creation; there is no UpdateTask
|
||||
// command.
|
||||
//
|
||||
|
@ -4837,7 +4823,7 @@ func (c *ProjectsLocationsQueuesTasksCreateCall) Do(opts ...googleapi.CallOption
|
|||
}
|
||||
return ret, nil
|
||||
// {
|
||||
// "description": "Creates a task and adds it to a queue.\n\nTo add multiple tasks at the same time, use\n[HTTP batching](/storage/docs/json_api/v1/how-tos/batch)\nor the batching documentation for your client library, for example\nhttps://developers.google.com/api-client-library/python/guide/batch.\n\nTasks cannot be updated after creation; there is no UpdateTask command.\n\n* For [App Engine queues](google.cloud.tasks.v2beta2.AppEngineHttpTarget),\n the maximum task size is 100KB.\n* For [pull queues](google.cloud.tasks.v2beta2.PullTarget), this\n the maximum task size is 1MB.",
|
||||
// "description": "Creates a task and adds it to a queue.\n\nTasks cannot be updated after creation; there is no UpdateTask command.\n\n* For [App Engine queues](google.cloud.tasks.v2beta2.AppEngineHttpTarget),\n the maximum task size is 100KB.\n* For [pull queues](google.cloud.tasks.v2beta2.PullTarget), this\n the maximum task size is 1MB.",
|
||||
// "flatPath": "v2beta2/projects/{projectsId}/locations/{locationsId}/queues/{queuesId}/tasks",
|
||||
// "httpMethod": "POST",
|
||||
// "id": "cloudtasks.projects.locations.queues.tasks.create",
|
||||
|
|
13
vendor/google.golang.org/api/cloudtrace/v1/cloudtrace-api.json
generated
vendored
13
vendor/google.golang.org/api/cloudtrace/v1/cloudtrace-api.json
generated
vendored
|
@ -66,11 +66,6 @@
|
|||
"location": "query",
|
||||
"type": "string"
|
||||
},
|
||||
"bearer_token": {
|
||||
"description": "OAuth bearer token.",
|
||||
"location": "query",
|
||||
"type": "string"
|
||||
},
|
||||
"callback": {
|
||||
"description": "JSONP",
|
||||
"location": "query",
|
||||
|
@ -91,12 +86,6 @@
|
|||
"location": "query",
|
||||
"type": "string"
|
||||
},
|
||||
"pp": {
|
||||
"default": "true",
|
||||
"description": "Pretty-print response.",
|
||||
"location": "query",
|
||||
"type": "boolean"
|
||||
},
|
||||
"prettyPrint": {
|
||||
"default": "true",
|
||||
"description": "Returns response with indentations and line breaks.",
|
||||
|
@ -261,7 +250,7 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
"revision": "20180430",
|
||||
"revision": "20180604",
|
||||
"rootUrl": "https://cloudtrace.googleapis.com/",
|
||||
"schemas": {
|
||||
"Empty": {
|
||||
|
|
13
vendor/google.golang.org/api/cloudtrace/v2/cloudtrace-api.json
generated
vendored
13
vendor/google.golang.org/api/cloudtrace/v2/cloudtrace-api.json
generated
vendored
|
@ -63,11 +63,6 @@
|
|||
"location": "query",
|
||||
"type": "string"
|
||||
},
|
||||
"bearer_token": {
|
||||
"description": "OAuth bearer token.",
|
||||
"location": "query",
|
||||
"type": "string"
|
||||
},
|
||||
"callback": {
|
||||
"description": "JSONP",
|
||||
"location": "query",
|
||||
|
@ -88,12 +83,6 @@
|
|||
"location": "query",
|
||||
"type": "string"
|
||||
},
|
||||
"pp": {
|
||||
"default": "true",
|
||||
"description": "Pretty-print response.",
|
||||
"location": "query",
|
||||
"type": "boolean"
|
||||
},
|
||||
"prettyPrint": {
|
||||
"default": "true",
|
||||
"description": "Returns response with indentations and line breaks.",
|
||||
|
@ -191,7 +180,7 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
"revision": "20180130",
|
||||
"revision": "20180604",
|
||||
"rootUrl": "https://cloudtrace.googleapis.com/",
|
||||
"schemas": {
|
||||
"Annotation": {
|
||||
|
|
44
vendor/google.golang.org/api/composer/v1beta1/composer-api.json
generated
vendored
44
vendor/google.golang.org/api/composer/v1beta1/composer-api.json
generated
vendored
|
@ -131,7 +131,7 @@
|
|||
],
|
||||
"parameters": {
|
||||
"parent": {
|
||||
"description": "The parent must be of the form `projects/{projectId}/locations/{locationId}`.",
|
||||
"description": "The parent must be of the form \"projects/{projectId}/locations/{locationId}\".",
|
||||
"location": "path",
|
||||
"pattern": "^projects/[^/]+/locations/[^/]+$",
|
||||
"required": true,
|
||||
|
@ -159,7 +159,7 @@
|
|||
],
|
||||
"parameters": {
|
||||
"name": {
|
||||
"description": "The environment to delete, in the form:\n`projects/{projectId}/locations/{locationId}/environments/{environmentId}`",
|
||||
"description": "The environment to delete, in the form:\n\"projects/{projectId}/locations/{locationId}/environments/{environmentId}\"",
|
||||
"location": "path",
|
||||
"pattern": "^projects/[^/]+/locations/[^/]+/environments/[^/]+$",
|
||||
"required": true,
|
||||
|
@ -184,7 +184,7 @@
|
|||
],
|
||||
"parameters": {
|
||||
"name": {
|
||||
"description": "The resource name of the environment to get, in the form:\n`projects/{projectId}/locations/{locationId}/environments/{environmentId}`",
|
||||
"description": "The resource name of the environment to get, in the form:\n\"projects/{projectId}/locations/{locationId}/environments/{environmentId}\"",
|
||||
"location": "path",
|
||||
"pattern": "^projects/[^/]+/locations/[^/]+/environments/[^/]+$",
|
||||
"required": true,
|
||||
|
@ -220,7 +220,7 @@
|
|||
"type": "string"
|
||||
},
|
||||
"parent": {
|
||||
"description": "List environments in the given project and location, in the form:\n`projects/{projectId}/locations/{locationId}`",
|
||||
"description": "List environments in the given project and location, in the form:\n\"projects/{projectId}/locations/{locationId}\"",
|
||||
"location": "path",
|
||||
"pattern": "^projects/[^/]+/locations/[^/]+$",
|
||||
"required": true,
|
||||
|
@ -245,7 +245,7 @@
|
|||
],
|
||||
"parameters": {
|
||||
"name": {
|
||||
"description": "The relative resource name of the environment to update, in the form:\n`projects/{projectId}/locations/{locationId}/environments/{environmentId}`",
|
||||
"description": "The relative resource name of the environment to update, in the form:\n\"projects/{projectId}/locations/{locationId}/environments/{environmentId}\"",
|
||||
"location": "path",
|
||||
"pattern": "^projects/[^/]+/locations/[^/]+/environments/[^/]+$",
|
||||
"required": true,
|
||||
|
@ -371,7 +371,7 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
"revision": "20180430",
|
||||
"revision": "20180510",
|
||||
"rootUrl": "https://composer.googleapis.com/",
|
||||
"schemas": {
|
||||
"Empty": {
|
||||
|
@ -401,7 +401,7 @@
|
|||
"type": "object"
|
||||
},
|
||||
"name": {
|
||||
"description": "The resource name of the environment, in the form:\n`projects/{projectId}/locations/{locationId}/environments/{environmentId}`",
|
||||
"description": "The resource name of the environment, in the form:\n\"projects/{projectId}/locations/{locationId}/environments/{environmentId}\"",
|
||||
"type": "string"
|
||||
},
|
||||
"state": {
|
||||
|
@ -454,16 +454,16 @@
|
|||
},
|
||||
"nodeConfig": {
|
||||
"$ref": "NodeConfig",
|
||||
"description": "The configuration used for the Container Engine cluster."
|
||||
"description": "The configuration used for the Kubernetes Engine cluster."
|
||||
},
|
||||
"nodeCount": {
|
||||
"description": "The number of nodes in the Container Engine cluster that will be\nused to run this environment.",
|
||||
"description": "The number of nodes in the Kubernetes Engine cluster that will be\nused to run this environment.",
|
||||
"format": "int32",
|
||||
"type": "integer"
|
||||
},
|
||||
"softwareConfig": {
|
||||
"$ref": "SoftwareConfig",
|
||||
"description": "The config settings for software inside the environment."
|
||||
"description": "The configuration settings for software inside the environment."
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
|
@ -505,28 +505,28 @@
|
|||
"type": "object"
|
||||
},
|
||||
"NodeConfig": {
|
||||
"description": "The configuration information for the Container Engine nodes running\nthe Apache Airflow software.",
|
||||
"description": "The configuration information for the Kubernetes Engine nodes running\nthe Apache Airflow software.",
|
||||
"id": "NodeConfig",
|
||||
"properties": {
|
||||
"diskSizeGb": {
|
||||
"description": "Optional. The disk size in GB used for node VMs. Minimum is 10GB.\nIf unspecified, defaults to 100GB. Cannot be updated.",
|
||||
"description": "Optional. The disk size in GB used for node VMs. Minimum size is 10GB.\nIf unspecified, defaults to 100GB. Cannot be updated.",
|
||||
"format": "int32",
|
||||
"type": "integer"
|
||||
},
|
||||
"location": {
|
||||
"description": "Optional. The Compute Engine [zone](/compute/docs/regions-zones) in which\nto deploy the VMs used to run the Apache Airflow software, specified as a\nrelative resource name](https://cloud.google.com/apis/design/resource_names#relative_resource_name).\nFor example: `projects/{projectId}/zones/{zoneId}`.\n\nThis `location` must belong to the enclosing environment's project and\nlocation. If both this field and `nodeConfig.machineType` are specified,\n`nodeConfig.machineType` must belong to this `location`; if both are\nunspecified, the service will pick a zone in the Compute Engine region\ncorresponding to the Cloud Composer location and propagate that choice to\nboth fields. If exactly one of this field and `nodeConfig.machineType` is\nspecified, the location information from the specified field will be\npropagated to the unspecified field.",
|
||||
"description": "Optional. The Compute Engine [zone](/compute/docs/regions-zones) in which\nto deploy the VMs used to run the Apache Airflow software, specified as a\n[relative resource name](/apis/design/resource_names#relative_resource_name).\nFor example: \"projects/{projectId}/zones/{zoneId}\".\n\nThis `location` must belong to the enclosing environment's project and\nlocation. If both this field and `nodeConfig.machineType` are specified,\n`nodeConfig.machineType` must belong to this `location`; if both are\nunspecified, the service will pick a zone in the Compute Engine region\ncorresponding to the Cloud Composer location, and propagate that choice to\nboth fields. If only one field (`location` or `nodeConfig.machineType`) is\nspecified, the location information from the specified field will be\npropagated to the unspecified field.",
|
||||
"type": "string"
|
||||
},
|
||||
"machineType": {
|
||||
"description": "Optional. The Google Compute Engine [machine type](\n/compute/docs/machine-types) used for cluster instances, specified as a\n[relative resource name](\nhttps://cloud.google.com/apis/design/resource_names#relative_resource_name).\nFor example:\n`projects/{projectId}/zones/{zoneId}/machineTypes/{machineTypeId}`.\n\nThe `machineType` must belong to the enclosing environment's project and\nlocation. If both this field and `nodeConfig.location` are specified,\nthis `machineType` must belong to the `nodeConfig.location`; if both are\nunspecified, the service will pick a zone in the Compute Engine region\ncorresponding to the Cloud Composer location and propagate that choice to\nboth fields. If exactly one of this field and `nodeConfig.location` is\nspecified, the location information from the specified field will be\npropagated to the unspecified field.\n\nFurthermore, if this field is unspecified, the `machineTypeId` defaults\nto `n1-standard-1`.",
|
||||
"description": "Optional. The Compute Engine\n[machine type](/compute/docs/machine-types) used for cluster instances,\nspecified as a\n[relative resource name](/apis/design/resource_names#relative_resource_name).\nFor example:\n\"projects/{projectId}/zones/{zoneId}/machineTypes/{machineTypeId}\".\n\nThe `machineType` must belong to the enclosing environment's project and\nlocation. If both this field and `nodeConfig.location` are specified,\nthis `machineType` must belong to the `nodeConfig.location`; if both are\nunspecified, the service will pick a zone in the Compute Engine region\ncorresponding to the Cloud Composer location, and propagate that choice to\nboth fields. If exactly one of this field and `nodeConfig.location` is\nspecified, the location information from the specified field will be\npropagated to the unspecified field.\n\nIf this field is unspecified, the `machineTypeId` defaults\nto \"n1-standard-1\".",
|
||||
"type": "string"
|
||||
},
|
||||
"network": {
|
||||
"description": "Optional. The Compute Engine network to be used for machine\ncommunications, specified as a [relative resource name](\nhttps://cloud.google.com/apis/design/resource_names#relative_resource_name).\nFor example: `projects/{projectId}/global/networks/{networkId}`.\n\n[Shared VPC](/vpc/docs/shared-vpc) is not currently supported. The\nnetwork must belong to the environment's project. If unspecified, the\n\"default\" network ID in the environment's project is used. If a \"Custom\nSubnet Network\" (see [Using Subnetworks](/compute/docs/subnetworks) for\nmore information) is provided, `nodeConfig.subnetwork` must also be provided.",
|
||||
"description": "Optional. The Compute Engine network to be used for machine\ncommunications, specified as a\n[relative resource name](/apis/design/resource_names#relative_resource_name).\nFor example: \"projects/{projectId}/global/networks/{networkId}\".\n\n[Shared VPC](/vpc/docs/shared-vpc) is not currently supported. The\nnetwork must belong to the environment's project. If unspecified, the\n\"default\" network ID in the environment's project is used. If a\n[Custom Subnet Network]((/vpc/docs/vpc#vpc_networks_and_subnets)\nis provided, `nodeConfig.subnetwork` must also be provided.",
|
||||
"type": "string"
|
||||
},
|
||||
"oauthScopes": {
|
||||
"description": "Optional. The set of Google API scopes to be made available on all of the\nnode VMs. If `oauth_scopes` is empty, defaults to\n[\"https://www.googleapis.com/auth/cloud-platform\"]. Cannot be updated.",
|
||||
"description": "Optional. The set of Google API scopes to be made available on all\nnode VMs. If `oauth_scopes` is empty, defaults to\n[\"https://www.googleapis.com/auth/cloud-platform\"]. Cannot be updated.",
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
|
@ -537,7 +537,7 @@
|
|||
"type": "string"
|
||||
},
|
||||
"subnetwork": {
|
||||
"description": "Optional. The Compute Engine subnetwork to be used for machine\ncommunications, specified as a [relative resource name](\nhttps://cloud.google.com/apis/design/resource_names#relative_resource_name).\nFor example:\n`projects/{projectId}/regions/{regionId}/subnetworks/{subnetworkId}`\n\nIf a subnetwork is provided, `nodeConfig.network` must also be provided,\nand the subnetwork must belong to the enclosing environment's project and\nlocation.",
|
||||
"description": "Optional. The Compute Engine subnetwork to be used for machine\ncommunications, specified as a\n[relative resource name](/apis/design/resource_names#relative_resource_name).\nFor example:\n\"projects/{projectId}/regions/{regionId}/subnetworks/{subnetworkId}\"\n\nIf a subnetwork is provided, `nodeConfig.network` must also be provided,\nand the subnetwork must belong to the enclosing environment's project and\nlocation.",
|
||||
"type": "string"
|
||||
},
|
||||
"tags": {
|
||||
|
@ -645,32 +645,32 @@
|
|||
"type": "object"
|
||||
},
|
||||
"SoftwareConfig": {
|
||||
"description": "Specifies the selection and config of software inside the environment.",
|
||||
"description": "Specifies the selection and configuration of software inside the environment.",
|
||||
"id": "SoftwareConfig",
|
||||
"properties": {
|
||||
"airflowConfigOverrides": {
|
||||
"additionalProperties": {
|
||||
"type": "string"
|
||||
},
|
||||
"description": "Optional. Apache Airflow configuration properties to override.\n\nProperty keys contain the section and property name, separated by a hyphen,\nfor example `core-dags_are_paused_at_creation`. Sections must not\ncontain hyphens (\"-\"), opening square brackets (\"[\"), or closing square\nbrackets (\"]\"). The name must be non-empty and must not contain an equals\nsign (\"=\") or semicolon (\";\"). The section as well as the name must not\ncontain a period (\".\"). Apache Airflow configuration property names must be\nwritten in\n[snake_case](https://www.google.com/url?sa=D\u0026q=https%3A%2F%2Fen.wikipedia.org%2Fwiki%2FSnake_case).\nProperty values can contain any character and be written in any lower/upper\ncase format.\n\nCertain Apache Airflow configuration property values are\n[blacklisted](/composer/docs/how-to/managing/setting-airflow-configurations#airflow_configuration_blacklists) and\ncannot be overridden.",
|
||||
"description": "Optional. Apache Airflow configuration properties to override.\n\nProperty keys contain the section and property names, separated by a hyphen,\nfor example \"core-dags_are_paused_at_creation\". Section names must not\ncontain hyphens (\"-\"), opening square brackets (\"[\"), or closing square\nbrackets (\"]\"). The property name must not be empty and must not contain\nan equals sign (\"=\") or semicolon (\";\"). Section and property names must\nnot contain a period (\".\"). Apache Airflow configuration property names\nmust be written in [snake_case](https://en.wikipedia.org/wiki/Snake_case).\nProperty values can contain any character, and can be written in any\nlower/upper case format.\n\nCertain Apache Airflow configuration property values are\n[blacklisted](/composer/docs/how-to/managing/setting-airflow-configurations#airflow_configuration_blacklists),\nand cannot be overridden.",
|
||||
"type": "object"
|
||||
},
|
||||
"envVariables": {
|
||||
"additionalProperties": {
|
||||
"type": "string"
|
||||
},
|
||||
"description": "Optional. Additional environment variables to provide to the Apache Airflow\nscheduler, worker, and webserver processes.\n\nEnvironment variable names must match the regular expression\n`a-zA-Z_*`. Furthermore, they cannot specify Apache Airflow\nsoftware configuration overrides (i.e., match the regular expression\n`AIRFLOW__[A-Z0-9_]+__[A-Z0-9_]+`); nor can they take any of the following\nreserved values:\n\n* `AIRFLOW_HOME`\n* `C_FORCE_ROOT`\n* `CONTAINER_NAME`\n* `DAGS_FOLDER`\n* `GCP_PROJECT`\n* `GCS_BUCKET`\n* `GKE_CLUSTER_NAME`\n* `SQL_DATABASE`\n* `SQL_INSTANCE`\n* `SQL_PASSWORD`\n* `SQL_PROJECT`\n* `SQL_REGION`\n* `SQL_USER`",
|
||||
"description": "Optional. Additional environment variables to provide to the Apache Airflow\nscheduler, worker, and webserver processes.\n\nEnvironment variable names must match the regular expression\n`a-zA-Z_*`. They cannot specify Apache Airflow\nsoftware configuration overrides (they cannot match the regular expression\n`AIRFLOW__[A-Z0-9_]+__[A-Z0-9_]+`), and they cannot match any of the\nfollowing reserved names:\n\n* `AIRFLOW_HOME`\n* `C_FORCE_ROOT`\n* `CONTAINER_NAME`\n* `DAGS_FOLDER`\n* `GCP_PROJECT`\n* `GCS_BUCKET`\n* `GKE_CLUSTER_NAME`\n* `SQL_DATABASE`\n* `SQL_INSTANCE`\n* `SQL_PASSWORD`\n* `SQL_PROJECT`\n* `SQL_REGION`\n* `SQL_USER`",
|
||||
"type": "object"
|
||||
},
|
||||
"imageVersion": {
|
||||
"description": "Output only.\nThe version of the software running in the environment.\nThis encapsulates both the version of Cloud Composer functionality and the\nversion of Apache Airflow. It must match the regular expression\n`composer-[0-9]+\\.[0-9]+(\\.[0-9]+)?-airflow-[0-9]+\\.[0-9]+(\\.[0-9]+.*)?`.\n\nThe Cloud Composer portion of the version is a [semantic\nversion](https://semver.org). The portion of the image version following\n\u003cem\u003eairflow-\u003c/em\u003e is an official Apache Airflow repository [release\nname](https://github.com/apache/incubator-airflow/releases).\n\nSee also [Release Notes](/composer/docs/release-notes).",
|
||||
"description": "Output only.\nThe version of the software running in the environment.\nThis encapsulates both the version of Cloud Composer functionality and the\nversion of Apache Airflow. It must match the regular expression\n`composer-[0-9]+\\.[0-9]+(\\.[0-9]+)?-airflow-[0-9]+\\.[0-9]+(\\.[0-9]+.*)?`.\n\nThe Cloud Composer portion of the version is a\n[semantic version](https://semver.org). The portion of the image version\nfollowing \u003cem\u003eairflow-\u003c/em\u003e is an official Apache Airflow repository\n[release name](https://github.com/apache/incubator-airflow/releases).\n\nSee also [Release Notes](/composer/docs/release-notes).",
|
||||
"type": "string"
|
||||
},
|
||||
"pypiPackages": {
|
||||
"additionalProperties": {
|
||||
"type": "string"
|
||||
},
|
||||
"description": "Optional. Custom Python Package Index (PyPI) packages to be installed in\nthe environment.\n\nKeys refer to the lowercase package name such as `numpy`\nand values are the lowercase extras and version specifier such as\n`==1.12.0`, `[devel,gcp_api]`, or `[devel]\u003e=1.8.2, \u003c1.9.2`. To specify a\npackage without pinning it to a version specifier, use the empty string as\nthe value.",
|
||||
"description": "Optional. Custom Python Package Index (PyPI) packages to be installed in\nthe environment.\n\nKeys refer to the lowercase package name such as \"numpy\"\nand values are the lowercase extras and version specifier such as\n\"==1.12.0\", \"[devel,gcp_api]\", or \"[devel]\u003e=1.8.2, \u003c1.9.2\". To specify a\npackage without pinning it to a version specifier, use the empty string as\nthe value.",
|
||||
"type": "object"
|
||||
}
|
||||
},
|
||||
|
|
151
vendor/google.golang.org/api/composer/v1beta1/composer-gen.go
generated
vendored
151
vendor/google.golang.org/api/composer/v1beta1/composer-gen.go
generated
vendored
|
@ -161,8 +161,8 @@ type Environment struct {
|
|||
|
||||
// Name: The resource name of the environment, in the
|
||||
// form:
|
||||
// `projects/{projectId}/locations/{locationId}/environments/{envir
|
||||
// onmentId}`
|
||||
// "projects/{projectId}/locations/{locationId}/environments/{envir
|
||||
// onmentId}"
|
||||
Name string `json:"name,omitempty"`
|
||||
|
||||
// State: The current state of the environment.
|
||||
|
@ -241,15 +241,15 @@ type EnvironmentConfig struct {
|
|||
// The Kubernetes Engine cluster used to run this environment.
|
||||
GkeCluster string `json:"gkeCluster,omitempty"`
|
||||
|
||||
// NodeConfig: The configuration used for the Container Engine cluster.
|
||||
// NodeConfig: The configuration used for the Kubernetes Engine cluster.
|
||||
NodeConfig *NodeConfig `json:"nodeConfig,omitempty"`
|
||||
|
||||
// NodeCount: The number of nodes in the Container Engine cluster that
|
||||
// NodeCount: The number of nodes in the Kubernetes Engine cluster that
|
||||
// will be
|
||||
// used to run this environment.
|
||||
NodeCount int64 `json:"nodeCount,omitempty"`
|
||||
|
||||
// SoftwareConfig: The config settings for software inside the
|
||||
// SoftwareConfig: The configuration settings for software inside the
|
||||
// environment.
|
||||
SoftwareConfig *SoftwareConfig `json:"softwareConfig,omitempty"`
|
||||
|
||||
|
@ -350,12 +350,12 @@ func (s *ListOperationsResponse) MarshalJSON() ([]byte, error) {
|
|||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
// NodeConfig: The configuration information for the Container Engine
|
||||
// NodeConfig: The configuration information for the Kubernetes Engine
|
||||
// nodes running
|
||||
// the Apache Airflow software.
|
||||
type NodeConfig struct {
|
||||
// DiskSizeGb: Optional. The disk size in GB used for node VMs. Minimum
|
||||
// is 10GB.
|
||||
// size is 10GB.
|
||||
// If unspecified, defaults to 100GB. Cannot be updated.
|
||||
DiskSizeGb int64 `json:"diskSizeGb,omitempty"`
|
||||
|
||||
|
@ -363,10 +363,9 @@ type NodeConfig struct {
|
|||
// [zone](/compute/docs/regions-zones) in which
|
||||
// to deploy the VMs used to run the Apache Airflow software, specified
|
||||
// as a
|
||||
// relative resource
|
||||
// name](https://cloud.google.com/apis/design/resource_names#relative_res
|
||||
// ource_name).
|
||||
// For example: `projects/{projectId}/zones/{zoneId}`.
|
||||
// [relative resource
|
||||
// name](/apis/design/resource_names#relative_resource_name).
|
||||
// For example: "projects/{projectId}/zones/{zoneId}".
|
||||
//
|
||||
// This `location` must belong to the enclosing environment's project
|
||||
// and
|
||||
|
@ -376,27 +375,25 @@ type NodeConfig struct {
|
|||
// are
|
||||
// unspecified, the service will pick a zone in the Compute Engine
|
||||
// region
|
||||
// corresponding to the Cloud Composer location and propagate that
|
||||
// corresponding to the Cloud Composer location, and propagate that
|
||||
// choice to
|
||||
// both fields. If exactly one of this field and
|
||||
// `nodeConfig.machineType` is
|
||||
// both fields. If only one field (`location` or
|
||||
// `nodeConfig.machineType`) is
|
||||
// specified, the location information from the specified field will
|
||||
// be
|
||||
// propagated to the unspecified field.
|
||||
Location string `json:"location,omitempty"`
|
||||
|
||||
// MachineType: Optional. The Google Compute Engine [machine
|
||||
// type](
|
||||
// /compute/docs/machine-types) used for cluster instances, specified as
|
||||
// a
|
||||
// MachineType: Optional. The Compute Engine
|
||||
// [machine type](/compute/docs/machine-types) used for cluster
|
||||
// instances,
|
||||
// specified as a
|
||||
// [relative resource
|
||||
// name](
|
||||
// https://cloud.google.com/apis/design/resource_names#relative_re
|
||||
// source_name).
|
||||
// name](/apis/design/resource_names#relative_resource_name).
|
||||
// For
|
||||
// example:
|
||||
// `projects/{projectId}/zones/{zoneId}/machineTypes/{machineTyp
|
||||
// eId}`.
|
||||
// "projects/{projectId}/zones/{zoneId}/machineTypes/{machineTyp
|
||||
// eId}".
|
||||
//
|
||||
// The `machineType` must belong to the enclosing environment's project
|
||||
// and
|
||||
|
@ -406,7 +403,7 @@ type NodeConfig struct {
|
|||
// are
|
||||
// unspecified, the service will pick a zone in the Compute Engine
|
||||
// region
|
||||
// corresponding to the Cloud Composer location and propagate that
|
||||
// corresponding to the Cloud Composer location, and propagate that
|
||||
// choice to
|
||||
// both fields. If exactly one of this field and `nodeConfig.location`
|
||||
// is
|
||||
|
@ -414,34 +411,30 @@ type NodeConfig struct {
|
|||
// be
|
||||
// propagated to the unspecified field.
|
||||
//
|
||||
// Furthermore, if this field is unspecified, the `machineTypeId`
|
||||
// defaults
|
||||
// to `n1-standard-1`.
|
||||
// If this field is unspecified, the `machineTypeId` defaults
|
||||
// to "n1-standard-1".
|
||||
MachineType string `json:"machineType,omitempty"`
|
||||
|
||||
// Network: Optional. The Compute Engine network to be used for
|
||||
// machine
|
||||
// communications, specified as a [relative resource
|
||||
// name](
|
||||
// https://cloud.google.com/apis/design/resource_names#relative_re
|
||||
// source_name).
|
||||
// communications, specified as a
|
||||
// [relative resource
|
||||
// name](/apis/design/resource_names#relative_resource_name).
|
||||
// For example:
|
||||
// `projects/{projectId}/global/networks/{networkId}`.
|
||||
// "projects/{projectId}/global/networks/{networkId}".
|
||||
//
|
||||
// [Shared VPC](/vpc/docs/shared-vpc) is not currently supported.
|
||||
// The
|
||||
// network must belong to the environment's project. If unspecified,
|
||||
// the
|
||||
// "default" network ID in the environment's project is used. If a
|
||||
// "Custom
|
||||
// Subnet Network" (see [Using Subnetworks](/compute/docs/subnetworks)
|
||||
// for
|
||||
// more information) is provided, `nodeConfig.subnetwork` must also be
|
||||
// provided.
|
||||
// "default" network ID in the environment's project is used. If
|
||||
// a
|
||||
// [Custom Subnet Network]((/vpc/docs/vpc#vpc_networks_and_subnets)
|
||||
// is provided, `nodeConfig.subnetwork` must also be provided.
|
||||
Network string `json:"network,omitempty"`
|
||||
|
||||
// OauthScopes: Optional. The set of Google API scopes to be made
|
||||
// available on all of the
|
||||
// available on all
|
||||
// node VMs. If `oauth_scopes` is empty, defaults
|
||||
// to
|
||||
// ["https://www.googleapis.com/auth/cloud-platform"]. Cannot be
|
||||
|
@ -457,14 +450,13 @@ type NodeConfig struct {
|
|||
|
||||
// Subnetwork: Optional. The Compute Engine subnetwork to be used for
|
||||
// machine
|
||||
// communications, specified as a [relative resource
|
||||
// name](
|
||||
// https://cloud.google.com/apis/design/resource_names#relative_re
|
||||
// source_name).
|
||||
// communications, specified as a
|
||||
// [relative resource
|
||||
// name](/apis/design/resource_names#relative_resource_name).
|
||||
// For
|
||||
// example:
|
||||
// `projects/{projectId}/regions/{regionId}/subnetworks/{subnetw
|
||||
// orkId}`
|
||||
// "projects/{projectId}/regions/{regionId}/subnetworks/{subnetw
|
||||
// orkId}"
|
||||
//
|
||||
// If a subnetwork is provided, `nodeConfig.network` must also be
|
||||
// provided,
|
||||
|
@ -646,37 +638,35 @@ func (s *OperationMetadata) MarshalJSON() ([]byte, error) {
|
|||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
// SoftwareConfig: Specifies the selection and config of software inside
|
||||
// the environment.
|
||||
// SoftwareConfig: Specifies the selection and configuration of software
|
||||
// inside the environment.
|
||||
type SoftwareConfig struct {
|
||||
// AirflowConfigOverrides: Optional. Apache Airflow configuration
|
||||
// properties to override.
|
||||
//
|
||||
// Property keys contain the section and property name, separated by a
|
||||
// Property keys contain the section and property names, separated by a
|
||||
// hyphen,
|
||||
// for example `core-dags_are_paused_at_creation`. Sections must
|
||||
// for example "core-dags_are_paused_at_creation". Section names must
|
||||
// not
|
||||
// contain hyphens ("-"), opening square brackets ("["), or closing
|
||||
// square
|
||||
// brackets ("]"). The name must be non-empty and must not contain an
|
||||
// equals
|
||||
// sign ("=") or semicolon (";"). The section as well as the name must
|
||||
// not
|
||||
// contain a period ("."). Apache Airflow configuration property names
|
||||
// must be
|
||||
// written
|
||||
// in
|
||||
// [snake_case](https://www.google.com/url?sa=D&q=https%3A%2F%2Fen.wik
|
||||
// ipedia.org%2Fwiki%2FSnake_case).
|
||||
// Property values can contain any character and be written in any
|
||||
// lower/upper
|
||||
// case format.
|
||||
// brackets ("]"). The property name must not be empty and must not
|
||||
// contain
|
||||
// an equals sign ("=") or semicolon (";"). Section and property names
|
||||
// must
|
||||
// not contain a period ("."). Apache Airflow configuration property
|
||||
// names
|
||||
// must be written in
|
||||
// [snake_case](https://en.wikipedia.org/wiki/Snake_case).
|
||||
// Property values can contain any character, and can be written in
|
||||
// any
|
||||
// lower/upper case format.
|
||||
//
|
||||
// Certain Apache Airflow configuration property values
|
||||
// are
|
||||
// [blacklisted](/composer/docs/how-to/managing/setting-airflow-confi
|
||||
// gurations#airflow_configuration_blacklists) and
|
||||
// cannot be overridden.
|
||||
// gurations#airflow_configuration_blacklists),
|
||||
// and cannot be overridden.
|
||||
AirflowConfigOverrides map[string]string `json:"airflowConfigOverrides,omitempty"`
|
||||
|
||||
// EnvVariables: Optional. Additional environment variables to provide
|
||||
|
@ -685,12 +675,12 @@ type SoftwareConfig struct {
|
|||
//
|
||||
// Environment variable names must match the regular
|
||||
// expression
|
||||
// `a-zA-Z_*`. Furthermore, they cannot specify Apache Airflow
|
||||
// software configuration overrides (i.e., match the regular
|
||||
// `a-zA-Z_*`. They cannot specify Apache Airflow
|
||||
// software configuration overrides (they cannot match the regular
|
||||
// expression
|
||||
// `AIRFLOW__[A-Z0-9_]+__[A-Z0-9_]+`); nor can they take any of the
|
||||
// following
|
||||
// reserved values:
|
||||
// `AIRFLOW__[A-Z0-9_]+__[A-Z0-9_]+`), and they cannot match any of
|
||||
// the
|
||||
// following reserved names:
|
||||
//
|
||||
// * `AIRFLOW_HOME`
|
||||
// * `C_FORCE_ROOT`
|
||||
|
@ -717,14 +707,13 @@ type SoftwareConfig struct {
|
|||
// \.[0-9]+.*)?`.
|
||||
//
|
||||
// The Cloud Composer portion of the version is a
|
||||
// [semantic
|
||||
// version](https://semver.org). The portion of the image version
|
||||
// following
|
||||
// <em>airflow-</em> is an official Apache Airflow repository
|
||||
// [semantic version](https://semver.org). The portion of the image
|
||||
// version
|
||||
// following <em>airflow-</em> is an official Apache Airflow
|
||||
// repository
|
||||
// [release
|
||||
// name](https://github.com/apache/incubator-airflow/releases).
|
||||
//
|
||||
//
|
||||
// See also [Release Notes](/composer/docs/release-notes).
|
||||
ImageVersion string `json:"imageVersion,omitempty"`
|
||||
|
||||
|
@ -732,10 +721,10 @@ type SoftwareConfig struct {
|
|||
// to be installed in
|
||||
// the environment.
|
||||
//
|
||||
// Keys refer to the lowercase package name such as `numpy`
|
||||
// Keys refer to the lowercase package name such as "numpy"
|
||||
// and values are the lowercase extras and version specifier such
|
||||
// as
|
||||
// `==1.12.0`, `[devel,gcp_api]`, or `[devel]>=1.8.2, <1.9.2`. To
|
||||
// "==1.12.0", "[devel,gcp_api]", or "[devel]>=1.8.2, <1.9.2". To
|
||||
// specify a
|
||||
// package without pinning it to a version specifier, use the empty
|
||||
// string as
|
||||
|
@ -1000,7 +989,7 @@ func (c *ProjectsLocationsEnvironmentsCreateCall) Do(opts ...googleapi.CallOptio
|
|||
// ],
|
||||
// "parameters": {
|
||||
// "parent": {
|
||||
// "description": "The parent must be of the form `projects/{projectId}/locations/{locationId}`.",
|
||||
// "description": "The parent must be of the form \"projects/{projectId}/locations/{locationId}\".",
|
||||
// "location": "path",
|
||||
// "pattern": "^projects/[^/]+/locations/[^/]+$",
|
||||
// "required": true,
|
||||
|
@ -1128,7 +1117,7 @@ func (c *ProjectsLocationsEnvironmentsDeleteCall) Do(opts ...googleapi.CallOptio
|
|||
// ],
|
||||
// "parameters": {
|
||||
// "name": {
|
||||
// "description": "The environment to delete, in the form:\n`projects/{projectId}/locations/{locationId}/environments/{environmentId}`",
|
||||
// "description": "The environment to delete, in the form:\n\"projects/{projectId}/locations/{locationId}/environments/{environmentId}\"",
|
||||
// "location": "path",
|
||||
// "pattern": "^projects/[^/]+/locations/[^/]+/environments/[^/]+$",
|
||||
// "required": true,
|
||||
|
@ -1267,7 +1256,7 @@ func (c *ProjectsLocationsEnvironmentsGetCall) Do(opts ...googleapi.CallOption)
|
|||
// ],
|
||||
// "parameters": {
|
||||
// "name": {
|
||||
// "description": "The resource name of the environment to get, in the form:\n`projects/{projectId}/locations/{locationId}/environments/{environmentId}`",
|
||||
// "description": "The resource name of the environment to get, in the form:\n\"projects/{projectId}/locations/{locationId}/environments/{environmentId}\"",
|
||||
// "location": "path",
|
||||
// "pattern": "^projects/[^/]+/locations/[^/]+/environments/[^/]+$",
|
||||
// "required": true,
|
||||
|
@ -1431,7 +1420,7 @@ func (c *ProjectsLocationsEnvironmentsListCall) Do(opts ...googleapi.CallOption)
|
|||
// "type": "string"
|
||||
// },
|
||||
// "parent": {
|
||||
// "description": "List environments in the given project and location, in the form:\n`projects/{projectId}/locations/{locationId}`",
|
||||
// "description": "List environments in the given project and location, in the form:\n\"projects/{projectId}/locations/{locationId}\"",
|
||||
// "location": "path",
|
||||
// "pattern": "^projects/[^/]+/locations/[^/]+$",
|
||||
// "required": true,
|
||||
|
@ -1751,7 +1740,7 @@ func (c *ProjectsLocationsEnvironmentsPatchCall) Do(opts ...googleapi.CallOption
|
|||
// ],
|
||||
// "parameters": {
|
||||
// "name": {
|
||||
// "description": "The relative resource name of the environment to update, in the form:\n`projects/{projectId}/locations/{locationId}/environments/{environmentId}`",
|
||||
// "description": "The relative resource name of the environment to update, in the form:\n\"projects/{projectId}/locations/{locationId}/environments/{environmentId}\"",
|
||||
// "location": "path",
|
||||
// "pattern": "^projects/[^/]+/locations/[^/]+/environments/[^/]+$",
|
||||
// "required": true,
|
||||
|
|
1167
vendor/google.golang.org/api/compute/v0.alpha/compute-api.json
generated
vendored
1167
vendor/google.golang.org/api/compute/v0.alpha/compute-api.json
generated
vendored
File diff suppressed because it is too large
Load diff
3154
vendor/google.golang.org/api/compute/v0.alpha/compute-gen.go
generated
vendored
3154
vendor/google.golang.org/api/compute/v0.alpha/compute-gen.go
generated
vendored
File diff suppressed because it is too large
Load diff
3836
vendor/google.golang.org/api/compute/v0.beta/compute-api.json
generated
vendored
3836
vendor/google.golang.org/api/compute/v0.beta/compute-api.json
generated
vendored
File diff suppressed because it is too large
Load diff
9962
vendor/google.golang.org/api/compute/v0.beta/compute-gen.go
generated
vendored
9962
vendor/google.golang.org/api/compute/v0.beta/compute-gen.go
generated
vendored
File diff suppressed because it is too large
Load diff
1032
vendor/google.golang.org/api/compute/v1/compute-api.json
generated
vendored
1032
vendor/google.golang.org/api/compute/v1/compute-api.json
generated
vendored
File diff suppressed because it is too large
Load diff
2907
vendor/google.golang.org/api/compute/v1/compute-gen.go
generated
vendored
2907
vendor/google.golang.org/api/compute/v1/compute-gen.go
generated
vendored
File diff suppressed because it is too large
Load diff
44
vendor/google.golang.org/api/container/v1/container-api.json
generated
vendored
44
vendor/google.golang.org/api/container/v1/container-api.json
generated
vendored
|
@ -330,7 +330,7 @@
|
|||
]
|
||||
},
|
||||
"setAddons": {
|
||||
"description": "Sets the addons of a specific cluster.",
|
||||
"description": "Sets the addons for a specific cluster.",
|
||||
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}:setAddons",
|
||||
"httpMethod": "POST",
|
||||
"id": "container.projects.locations.clusters.setAddons",
|
||||
|
@ -386,7 +386,7 @@
|
|||
]
|
||||
},
|
||||
"setLocations": {
|
||||
"description": "Sets the locations of a specific cluster.",
|
||||
"description": "Sets the locations for a specific cluster.",
|
||||
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}:setLocations",
|
||||
"httpMethod": "POST",
|
||||
"id": "container.projects.locations.clusters.setLocations",
|
||||
|
@ -414,7 +414,7 @@
|
|||
]
|
||||
},
|
||||
"setLogging": {
|
||||
"description": "Sets the logging service of a specific cluster.",
|
||||
"description": "Sets the logging service for a specific cluster.",
|
||||
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}:setLogging",
|
||||
"httpMethod": "POST",
|
||||
"id": "container.projects.locations.clusters.setLogging",
|
||||
|
@ -470,7 +470,7 @@
|
|||
]
|
||||
},
|
||||
"setMasterAuth": {
|
||||
"description": "Used to set master auth materials. Currently supports :-\nChanging the admin password of a specific cluster.\nThis can be either via password generation or explicitly set the password.",
|
||||
"description": "Used to set master auth materials. Currently supports :-\nChanging the admin password for a specific cluster.\nThis can be either via password generation or explicitly set the password.",
|
||||
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}:setMasterAuth",
|
||||
"httpMethod": "POST",
|
||||
"id": "container.projects.locations.clusters.setMasterAuth",
|
||||
|
@ -498,7 +498,7 @@
|
|||
]
|
||||
},
|
||||
"setMonitoring": {
|
||||
"description": "Sets the monitoring service of a specific cluster.",
|
||||
"description": "Sets the monitoring service for a specific cluster.",
|
||||
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}:setMonitoring",
|
||||
"httpMethod": "POST",
|
||||
"id": "container.projects.locations.clusters.setMonitoring",
|
||||
|
@ -638,7 +638,7 @@
|
|||
]
|
||||
},
|
||||
"updateMaster": {
|
||||
"description": "Updates the master of a specific cluster.",
|
||||
"description": "Updates the master for a specific cluster.",
|
||||
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}:updateMaster",
|
||||
"httpMethod": "POST",
|
||||
"id": "container.projects.locations.clusters.updateMaster",
|
||||
|
@ -856,7 +856,7 @@
|
|||
]
|
||||
},
|
||||
"setAutoscaling": {
|
||||
"description": "Sets the autoscaling settings of a specific node pool.",
|
||||
"description": "Sets the autoscaling settings for a specific node pool.",
|
||||
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}/nodePools/{nodePoolsId}:setAutoscaling",
|
||||
"httpMethod": "POST",
|
||||
"id": "container.projects.locations.clusters.nodePools.setAutoscaling",
|
||||
|
@ -912,7 +912,7 @@
|
|||
]
|
||||
},
|
||||
"setSize": {
|
||||
"description": "Sets the size of a specific node pool.",
|
||||
"description": "Sets the size for a specific node pool.",
|
||||
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}/nodePools/{nodePoolsId}:setSize",
|
||||
"httpMethod": "POST",
|
||||
"id": "container.projects.locations.clusters.nodePools.setSize",
|
||||
|
@ -940,7 +940,7 @@
|
|||
]
|
||||
},
|
||||
"update": {
|
||||
"description": "Updates the version and/or image type of a specific node pool.",
|
||||
"description": "Updates the version and/or image type for a specific node pool.",
|
||||
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}/nodePools/{nodePoolsId}",
|
||||
"httpMethod": "PUT",
|
||||
"id": "container.projects.locations.clusters.nodePools.update",
|
||||
|
@ -1123,7 +1123,7 @@
|
|||
"clusters": {
|
||||
"methods": {
|
||||
"addons": {
|
||||
"description": "Sets the addons of a specific cluster.",
|
||||
"description": "Sets the addons for a specific cluster.",
|
||||
"flatPath": "v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/addons",
|
||||
"httpMethod": "POST",
|
||||
"id": "container.projects.zones.clusters.addons",
|
||||
|
@ -1402,7 +1402,7 @@
|
|||
]
|
||||
},
|
||||
"locations": {
|
||||
"description": "Sets the locations of a specific cluster.",
|
||||
"description": "Sets the locations for a specific cluster.",
|
||||
"flatPath": "v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/locations",
|
||||
"httpMethod": "POST",
|
||||
"id": "container.projects.zones.clusters.locations",
|
||||
|
@ -1443,7 +1443,7 @@
|
|||
]
|
||||
},
|
||||
"logging": {
|
||||
"description": "Sets the logging service of a specific cluster.",
|
||||
"description": "Sets the logging service for a specific cluster.",
|
||||
"flatPath": "v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/logging",
|
||||
"httpMethod": "POST",
|
||||
"id": "container.projects.zones.clusters.logging",
|
||||
|
@ -1484,7 +1484,7 @@
|
|||
]
|
||||
},
|
||||
"master": {
|
||||
"description": "Updates the master of a specific cluster.",
|
||||
"description": "Updates the master for a specific cluster.",
|
||||
"flatPath": "v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/master",
|
||||
"httpMethod": "POST",
|
||||
"id": "container.projects.zones.clusters.master",
|
||||
|
@ -1525,7 +1525,7 @@
|
|||
]
|
||||
},
|
||||
"monitoring": {
|
||||
"description": "Sets the monitoring service of a specific cluster.",
|
||||
"description": "Sets the monitoring service for a specific cluster.",
|
||||
"flatPath": "v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/monitoring",
|
||||
"httpMethod": "POST",
|
||||
"id": "container.projects.zones.clusters.monitoring",
|
||||
|
@ -1648,7 +1648,7 @@
|
|||
]
|
||||
},
|
||||
"setMasterAuth": {
|
||||
"description": "Used to set master auth materials. Currently supports :-\nChanging the admin password of a specific cluster.\nThis can be either via password generation or explicitly set the password.",
|
||||
"description": "Used to set master auth materials. Currently supports :-\nChanging the admin password for a specific cluster.\nThis can be either via password generation or explicitly set the password.",
|
||||
"flatPath": "v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}:setMasterAuth",
|
||||
"httpMethod": "POST",
|
||||
"id": "container.projects.zones.clusters.setMasterAuth",
|
||||
|
@ -1816,7 +1816,7 @@
|
|||
"nodePools": {
|
||||
"methods": {
|
||||
"autoscaling": {
|
||||
"description": "Sets the autoscaling settings of a specific node pool.",
|
||||
"description": "Sets the autoscaling settings for a specific node pool.",
|
||||
"flatPath": "v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/nodePools/{nodePoolId}/autoscaling",
|
||||
"httpMethod": "POST",
|
||||
"id": "container.projects.zones.clusters.nodePools.autoscaling",
|
||||
|
@ -2144,7 +2144,7 @@
|
|||
]
|
||||
},
|
||||
"setSize": {
|
||||
"description": "Sets the size of a specific node pool.",
|
||||
"description": "Sets the size for a specific node pool.",
|
||||
"flatPath": "v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/nodePools/{nodePoolId}/setSize",
|
||||
"httpMethod": "POST",
|
||||
"id": "container.projects.zones.clusters.nodePools.setSize",
|
||||
|
@ -2192,7 +2192,7 @@
|
|||
]
|
||||
},
|
||||
"update": {
|
||||
"description": "Updates the version and/or image type of a specific node pool.",
|
||||
"description": "Updates the version and/or image type for a specific node pool.",
|
||||
"flatPath": "v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/nodePools/{nodePoolId}/update",
|
||||
"httpMethod": "POST",
|
||||
"id": "container.projects.zones.clusters.nodePools.update",
|
||||
|
@ -2372,7 +2372,7 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
"revision": "20180412",
|
||||
"revision": "20180504",
|
||||
"rootUrl": "https://container.googleapis.com/",
|
||||
"schemas": {
|
||||
"AcceleratorConfig": {
|
||||
|
@ -2576,7 +2576,7 @@
|
|||
},
|
||||
"masterAuthorizedNetworksConfig": {
|
||||
"$ref": "MasterAuthorizedNetworksConfig",
|
||||
"description": "Master authorized networks is a Beta feature.\nThe configuration options for master authorized networks feature."
|
||||
"description": "The configuration options for master authorized networks feature."
|
||||
},
|
||||
"monitoringService": {
|
||||
"description": "The monitoring service the cluster should use to write metrics.\nCurrently available options:\n\n* `monitoring.googleapis.com` - the Google Cloud Monitoring service.\n* `none` - no metrics will be exported from the cluster.\n* if left as an empty string, `monitoring.googleapis.com` will be used.",
|
||||
|
@ -2683,7 +2683,7 @@
|
|||
},
|
||||
"desiredMasterAuthorizedNetworksConfig": {
|
||||
"$ref": "MasterAuthorizedNetworksConfig",
|
||||
"description": "Master authorized networks is a Beta feature.\nThe desired configuration options for master authorized networks feature."
|
||||
"description": "The desired configuration options for master authorized networks feature."
|
||||
},
|
||||
"desiredMasterVersion": {
|
||||
"description": "The Kubernetes version to change the master to.\n\nUsers may specify either explicit versions offered by\nKubernetes Engine or version aliases, which have the following behavior:\n\n- \"latest\": picks the highest valid Kubernetes version\n- \"1.X\": picks the highest valid patch+gke.N patch in the 1.X version\n- \"1.X.Y\": picks the highest valid gke.N patch in the 1.X.Y version\n- \"1.X.Y-gke.N\": picks an explicit Kubernetes version\n- \"-\": picks the default Kubernetes version",
|
||||
|
@ -3007,7 +3007,7 @@
|
|||
"type": "object"
|
||||
},
|
||||
"MasterAuthorizedNetworksConfig": {
|
||||
"description": "Master authorized networks is a Beta feature.\nConfiguration options for the master authorized networks feature. Enabled\nmaster authorized networks will disallow all external traffic to access\nKubernetes master through HTTPS except traffic from the given CIDR blocks,\nGoogle Compute Engine Public IPs and Google Prod IPs.",
|
||||
"description": "Configuration options for the master authorized networks feature. Enabled\nmaster authorized networks will disallow all external traffic to access\nKubernetes master through HTTPS except traffic from the given CIDR blocks,\nGoogle Compute Engine Public IPs and Google Prod IPs.",
|
||||
"id": "MasterAuthorizedNetworksConfig",
|
||||
"properties": {
|
||||
"cidrBlocks": {
|
||||
|
|
89
vendor/google.golang.org/api/container/v1/container-gen.go
generated
vendored
89
vendor/google.golang.org/api/container/v1/container-gen.go
generated
vendored
|
@ -570,9 +570,8 @@ type Cluster struct {
|
|||
// endpoint.
|
||||
MasterAuth *MasterAuth `json:"masterAuth,omitempty"`
|
||||
|
||||
// MasterAuthorizedNetworksConfig: Master authorized networks is a Beta
|
||||
// feature.
|
||||
// The configuration options for master authorized networks feature.
|
||||
// MasterAuthorizedNetworksConfig: The configuration options for master
|
||||
// authorized networks feature.
|
||||
MasterAuthorizedNetworksConfig *MasterAuthorizedNetworksConfig `json:"masterAuthorizedNetworksConfig,omitempty"`
|
||||
|
||||
// MonitoringService: The monitoring service the cluster should use to
|
||||
|
@ -752,10 +751,8 @@ type ClusterUpdate struct {
|
|||
// This list must always include the cluster's primary zone.
|
||||
DesiredLocations []string `json:"desiredLocations,omitempty"`
|
||||
|
||||
// DesiredMasterAuthorizedNetworksConfig: Master authorized networks is
|
||||
// a Beta feature.
|
||||
// The desired configuration options for master authorized networks
|
||||
// feature.
|
||||
// DesiredMasterAuthorizedNetworksConfig: The desired configuration
|
||||
// options for master authorized networks feature.
|
||||
DesiredMasterAuthorizedNetworksConfig *MasterAuthorizedNetworksConfig `json:"desiredMasterAuthorizedNetworksConfig,omitempty"`
|
||||
|
||||
// DesiredMasterVersion: The Kubernetes version to change the master
|
||||
|
@ -1574,10 +1571,8 @@ func (s *MasterAuth) MarshalJSON() ([]byte, error) {
|
|||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
// MasterAuthorizedNetworksConfig: Master authorized networks is a Beta
|
||||
// feature.
|
||||
// Configuration options for the master authorized networks feature.
|
||||
// Enabled
|
||||
// MasterAuthorizedNetworksConfig: Configuration options for the master
|
||||
// authorized networks feature. Enabled
|
||||
// master authorized networks will disallow all external traffic to
|
||||
// access
|
||||
// Kubernetes master through HTTPS except traffic from the given CIDR
|
||||
|
@ -4218,7 +4213,7 @@ type ProjectsLocationsClustersSetAddonsCall struct {
|
|||
header_ http.Header
|
||||
}
|
||||
|
||||
// SetAddons: Sets the addons of a specific cluster.
|
||||
// SetAddons: Sets the addons for a specific cluster.
|
||||
func (r *ProjectsLocationsClustersService) SetAddons(name string, setaddonsconfigrequest *SetAddonsConfigRequest) *ProjectsLocationsClustersSetAddonsCall {
|
||||
c := &ProjectsLocationsClustersSetAddonsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
|
||||
c.name = name
|
||||
|
@ -4312,7 +4307,7 @@ func (c *ProjectsLocationsClustersSetAddonsCall) Do(opts ...googleapi.CallOption
|
|||
}
|
||||
return ret, nil
|
||||
// {
|
||||
// "description": "Sets the addons of a specific cluster.",
|
||||
// "description": "Sets the addons for a specific cluster.",
|
||||
// "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}:setAddons",
|
||||
// "httpMethod": "POST",
|
||||
// "id": "container.projects.locations.clusters.setAddons",
|
||||
|
@ -4489,7 +4484,7 @@ type ProjectsLocationsClustersSetLocationsCall struct {
|
|||
header_ http.Header
|
||||
}
|
||||
|
||||
// SetLocations: Sets the locations of a specific cluster.
|
||||
// SetLocations: Sets the locations for a specific cluster.
|
||||
func (r *ProjectsLocationsClustersService) SetLocations(name string, setlocationsrequest *SetLocationsRequest) *ProjectsLocationsClustersSetLocationsCall {
|
||||
c := &ProjectsLocationsClustersSetLocationsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
|
||||
c.name = name
|
||||
|
@ -4583,7 +4578,7 @@ func (c *ProjectsLocationsClustersSetLocationsCall) Do(opts ...googleapi.CallOpt
|
|||
}
|
||||
return ret, nil
|
||||
// {
|
||||
// "description": "Sets the locations of a specific cluster.",
|
||||
// "description": "Sets the locations for a specific cluster.",
|
||||
// "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}:setLocations",
|
||||
// "httpMethod": "POST",
|
||||
// "id": "container.projects.locations.clusters.setLocations",
|
||||
|
@ -4624,7 +4619,7 @@ type ProjectsLocationsClustersSetLoggingCall struct {
|
|||
header_ http.Header
|
||||
}
|
||||
|
||||
// SetLogging: Sets the logging service of a specific cluster.
|
||||
// SetLogging: Sets the logging service for a specific cluster.
|
||||
func (r *ProjectsLocationsClustersService) SetLogging(name string, setloggingservicerequest *SetLoggingServiceRequest) *ProjectsLocationsClustersSetLoggingCall {
|
||||
c := &ProjectsLocationsClustersSetLoggingCall{s: r.s, urlParams_: make(gensupport.URLParams)}
|
||||
c.name = name
|
||||
|
@ -4718,7 +4713,7 @@ func (c *ProjectsLocationsClustersSetLoggingCall) Do(opts ...googleapi.CallOptio
|
|||
}
|
||||
return ret, nil
|
||||
// {
|
||||
// "description": "Sets the logging service of a specific cluster.",
|
||||
// "description": "Sets the logging service for a specific cluster.",
|
||||
// "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}:setLogging",
|
||||
// "httpMethod": "POST",
|
||||
// "id": "container.projects.locations.clusters.setLogging",
|
||||
|
@ -4896,7 +4891,7 @@ type ProjectsLocationsClustersSetMasterAuthCall struct {
|
|||
|
||||
// SetMasterAuth: Used to set master auth materials. Currently supports
|
||||
// :-
|
||||
// Changing the admin password of a specific cluster.
|
||||
// Changing the admin password for a specific cluster.
|
||||
// This can be either via password generation or explicitly set the
|
||||
// password.
|
||||
func (r *ProjectsLocationsClustersService) SetMasterAuth(name string, setmasterauthrequest *SetMasterAuthRequest) *ProjectsLocationsClustersSetMasterAuthCall {
|
||||
|
@ -4992,7 +4987,7 @@ func (c *ProjectsLocationsClustersSetMasterAuthCall) Do(opts ...googleapi.CallOp
|
|||
}
|
||||
return ret, nil
|
||||
// {
|
||||
// "description": "Used to set master auth materials. Currently supports :-\nChanging the admin password of a specific cluster.\nThis can be either via password generation or explicitly set the password.",
|
||||
// "description": "Used to set master auth materials. Currently supports :-\nChanging the admin password for a specific cluster.\nThis can be either via password generation or explicitly set the password.",
|
||||
// "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}:setMasterAuth",
|
||||
// "httpMethod": "POST",
|
||||
// "id": "container.projects.locations.clusters.setMasterAuth",
|
||||
|
@ -5033,7 +5028,7 @@ type ProjectsLocationsClustersSetMonitoringCall struct {
|
|||
header_ http.Header
|
||||
}
|
||||
|
||||
// SetMonitoring: Sets the monitoring service of a specific cluster.
|
||||
// SetMonitoring: Sets the monitoring service for a specific cluster.
|
||||
func (r *ProjectsLocationsClustersService) SetMonitoring(name string, setmonitoringservicerequest *SetMonitoringServiceRequest) *ProjectsLocationsClustersSetMonitoringCall {
|
||||
c := &ProjectsLocationsClustersSetMonitoringCall{s: r.s, urlParams_: make(gensupport.URLParams)}
|
||||
c.name = name
|
||||
|
@ -5127,7 +5122,7 @@ func (c *ProjectsLocationsClustersSetMonitoringCall) Do(opts ...googleapi.CallOp
|
|||
}
|
||||
return ret, nil
|
||||
// {
|
||||
// "description": "Sets the monitoring service of a specific cluster.",
|
||||
// "description": "Sets the monitoring service for a specific cluster.",
|
||||
// "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}:setMonitoring",
|
||||
// "httpMethod": "POST",
|
||||
// "id": "container.projects.locations.clusters.setMonitoring",
|
||||
|
@ -5708,7 +5703,7 @@ type ProjectsLocationsClustersUpdateMasterCall struct {
|
|||
header_ http.Header
|
||||
}
|
||||
|
||||
// UpdateMaster: Updates the master of a specific cluster.
|
||||
// UpdateMaster: Updates the master for a specific cluster.
|
||||
func (r *ProjectsLocationsClustersService) UpdateMaster(name string, updatemasterrequest *UpdateMasterRequest) *ProjectsLocationsClustersUpdateMasterCall {
|
||||
c := &ProjectsLocationsClustersUpdateMasterCall{s: r.s, urlParams_: make(gensupport.URLParams)}
|
||||
c.name = name
|
||||
|
@ -5802,7 +5797,7 @@ func (c *ProjectsLocationsClustersUpdateMasterCall) Do(opts ...googleapi.CallOpt
|
|||
}
|
||||
return ret, nil
|
||||
// {
|
||||
// "description": "Updates the master of a specific cluster.",
|
||||
// "description": "Updates the master for a specific cluster.",
|
||||
// "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}:updateMaster",
|
||||
// "httpMethod": "POST",
|
||||
// "id": "container.projects.locations.clusters.updateMaster",
|
||||
|
@ -6679,7 +6674,7 @@ type ProjectsLocationsClustersNodePoolsSetAutoscalingCall struct {
|
|||
header_ http.Header
|
||||
}
|
||||
|
||||
// SetAutoscaling: Sets the autoscaling settings of a specific node
|
||||
// SetAutoscaling: Sets the autoscaling settings for a specific node
|
||||
// pool.
|
||||
func (r *ProjectsLocationsClustersNodePoolsService) SetAutoscaling(name string, setnodepoolautoscalingrequest *SetNodePoolAutoscalingRequest) *ProjectsLocationsClustersNodePoolsSetAutoscalingCall {
|
||||
c := &ProjectsLocationsClustersNodePoolsSetAutoscalingCall{s: r.s, urlParams_: make(gensupport.URLParams)}
|
||||
|
@ -6774,7 +6769,7 @@ func (c *ProjectsLocationsClustersNodePoolsSetAutoscalingCall) Do(opts ...google
|
|||
}
|
||||
return ret, nil
|
||||
// {
|
||||
// "description": "Sets the autoscaling settings of a specific node pool.",
|
||||
// "description": "Sets the autoscaling settings for a specific node pool.",
|
||||
// "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}/nodePools/{nodePoolsId}:setAutoscaling",
|
||||
// "httpMethod": "POST",
|
||||
// "id": "container.projects.locations.clusters.nodePools.setAutoscaling",
|
||||
|
@ -6950,7 +6945,7 @@ type ProjectsLocationsClustersNodePoolsSetSizeCall struct {
|
|||
header_ http.Header
|
||||
}
|
||||
|
||||
// SetSize: Sets the size of a specific node pool.
|
||||
// SetSize: Sets the size for a specific node pool.
|
||||
func (r *ProjectsLocationsClustersNodePoolsService) SetSize(name string, setnodepoolsizerequest *SetNodePoolSizeRequest) *ProjectsLocationsClustersNodePoolsSetSizeCall {
|
||||
c := &ProjectsLocationsClustersNodePoolsSetSizeCall{s: r.s, urlParams_: make(gensupport.URLParams)}
|
||||
c.name = name
|
||||
|
@ -7044,7 +7039,7 @@ func (c *ProjectsLocationsClustersNodePoolsSetSizeCall) Do(opts ...googleapi.Cal
|
|||
}
|
||||
return ret, nil
|
||||
// {
|
||||
// "description": "Sets the size of a specific node pool.",
|
||||
// "description": "Sets the size for a specific node pool.",
|
||||
// "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}/nodePools/{nodePoolsId}:setSize",
|
||||
// "httpMethod": "POST",
|
||||
// "id": "container.projects.locations.clusters.nodePools.setSize",
|
||||
|
@ -7085,7 +7080,7 @@ type ProjectsLocationsClustersNodePoolsUpdateCall struct {
|
|||
header_ http.Header
|
||||
}
|
||||
|
||||
// Update: Updates the version and/or image type of a specific node
|
||||
// Update: Updates the version and/or image type for a specific node
|
||||
// pool.
|
||||
func (r *ProjectsLocationsClustersNodePoolsService) Update(name string, updatenodepoolrequest *UpdateNodePoolRequest) *ProjectsLocationsClustersNodePoolsUpdateCall {
|
||||
c := &ProjectsLocationsClustersNodePoolsUpdateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
|
||||
|
@ -7180,7 +7175,7 @@ func (c *ProjectsLocationsClustersNodePoolsUpdateCall) Do(opts ...googleapi.Call
|
|||
}
|
||||
return ret, nil
|
||||
// {
|
||||
// "description": "Updates the version and/or image type of a specific node pool.",
|
||||
// "description": "Updates the version and/or image type for a specific node pool.",
|
||||
// "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}/nodePools/{nodePoolsId}",
|
||||
// "httpMethod": "PUT",
|
||||
// "id": "container.projects.locations.clusters.nodePools.update",
|
||||
|
@ -7876,7 +7871,7 @@ type ProjectsZonesClustersAddonsCall struct {
|
|||
header_ http.Header
|
||||
}
|
||||
|
||||
// Addons: Sets the addons of a specific cluster.
|
||||
// Addons: Sets the addons for a specific cluster.
|
||||
func (r *ProjectsZonesClustersService) Addons(projectId string, zone string, clusterId string, setaddonsconfigrequest *SetAddonsConfigRequest) *ProjectsZonesClustersAddonsCall {
|
||||
c := &ProjectsZonesClustersAddonsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
|
||||
c.projectId = projectId
|
||||
|
@ -7974,7 +7969,7 @@ func (c *ProjectsZonesClustersAddonsCall) Do(opts ...googleapi.CallOption) (*Ope
|
|||
}
|
||||
return ret, nil
|
||||
// {
|
||||
// "description": "Sets the addons of a specific cluster.",
|
||||
// "description": "Sets the addons for a specific cluster.",
|
||||
// "flatPath": "v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/addons",
|
||||
// "httpMethod": "POST",
|
||||
// "id": "container.projects.zones.clusters.addons",
|
||||
|
@ -9002,7 +8997,7 @@ type ProjectsZonesClustersLocationsCall struct {
|
|||
header_ http.Header
|
||||
}
|
||||
|
||||
// Locations: Sets the locations of a specific cluster.
|
||||
// Locations: Sets the locations for a specific cluster.
|
||||
func (r *ProjectsZonesClustersService) Locations(projectId string, zone string, clusterId string, setlocationsrequest *SetLocationsRequest) *ProjectsZonesClustersLocationsCall {
|
||||
c := &ProjectsZonesClustersLocationsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
|
||||
c.projectId = projectId
|
||||
|
@ -9100,7 +9095,7 @@ func (c *ProjectsZonesClustersLocationsCall) Do(opts ...googleapi.CallOption) (*
|
|||
}
|
||||
return ret, nil
|
||||
// {
|
||||
// "description": "Sets the locations of a specific cluster.",
|
||||
// "description": "Sets the locations for a specific cluster.",
|
||||
// "flatPath": "v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/locations",
|
||||
// "httpMethod": "POST",
|
||||
// "id": "container.projects.zones.clusters.locations",
|
||||
|
@ -9156,7 +9151,7 @@ type ProjectsZonesClustersLoggingCall struct {
|
|||
header_ http.Header
|
||||
}
|
||||
|
||||
// Logging: Sets the logging service of a specific cluster.
|
||||
// Logging: Sets the logging service for a specific cluster.
|
||||
func (r *ProjectsZonesClustersService) Logging(projectId string, zone string, clusterId string, setloggingservicerequest *SetLoggingServiceRequest) *ProjectsZonesClustersLoggingCall {
|
||||
c := &ProjectsZonesClustersLoggingCall{s: r.s, urlParams_: make(gensupport.URLParams)}
|
||||
c.projectId = projectId
|
||||
|
@ -9254,7 +9249,7 @@ func (c *ProjectsZonesClustersLoggingCall) Do(opts ...googleapi.CallOption) (*Op
|
|||
}
|
||||
return ret, nil
|
||||
// {
|
||||
// "description": "Sets the logging service of a specific cluster.",
|
||||
// "description": "Sets the logging service for a specific cluster.",
|
||||
// "flatPath": "v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/logging",
|
||||
// "httpMethod": "POST",
|
||||
// "id": "container.projects.zones.clusters.logging",
|
||||
|
@ -9310,7 +9305,7 @@ type ProjectsZonesClustersMasterCall struct {
|
|||
header_ http.Header
|
||||
}
|
||||
|
||||
// Master: Updates the master of a specific cluster.
|
||||
// Master: Updates the master for a specific cluster.
|
||||
func (r *ProjectsZonesClustersService) Master(projectId string, zone string, clusterId string, updatemasterrequest *UpdateMasterRequest) *ProjectsZonesClustersMasterCall {
|
||||
c := &ProjectsZonesClustersMasterCall{s: r.s, urlParams_: make(gensupport.URLParams)}
|
||||
c.projectId = projectId
|
||||
|
@ -9408,7 +9403,7 @@ func (c *ProjectsZonesClustersMasterCall) Do(opts ...googleapi.CallOption) (*Ope
|
|||
}
|
||||
return ret, nil
|
||||
// {
|
||||
// "description": "Updates the master of a specific cluster.",
|
||||
// "description": "Updates the master for a specific cluster.",
|
||||
// "flatPath": "v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/master",
|
||||
// "httpMethod": "POST",
|
||||
// "id": "container.projects.zones.clusters.master",
|
||||
|
@ -9464,7 +9459,7 @@ type ProjectsZonesClustersMonitoringCall struct {
|
|||
header_ http.Header
|
||||
}
|
||||
|
||||
// Monitoring: Sets the monitoring service of a specific cluster.
|
||||
// Monitoring: Sets the monitoring service for a specific cluster.
|
||||
func (r *ProjectsZonesClustersService) Monitoring(projectId string, zone string, clusterId string, setmonitoringservicerequest *SetMonitoringServiceRequest) *ProjectsZonesClustersMonitoringCall {
|
||||
c := &ProjectsZonesClustersMonitoringCall{s: r.s, urlParams_: make(gensupport.URLParams)}
|
||||
c.projectId = projectId
|
||||
|
@ -9562,7 +9557,7 @@ func (c *ProjectsZonesClustersMonitoringCall) Do(opts ...googleapi.CallOption) (
|
|||
}
|
||||
return ret, nil
|
||||
// {
|
||||
// "description": "Sets the monitoring service of a specific cluster.",
|
||||
// "description": "Sets the monitoring service for a specific cluster.",
|
||||
// "flatPath": "v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/monitoring",
|
||||
// "httpMethod": "POST",
|
||||
// "id": "container.projects.zones.clusters.monitoring",
|
||||
|
@ -9928,7 +9923,7 @@ type ProjectsZonesClustersSetMasterAuthCall struct {
|
|||
|
||||
// SetMasterAuth: Used to set master auth materials. Currently supports
|
||||
// :-
|
||||
// Changing the admin password of a specific cluster.
|
||||
// Changing the admin password for a specific cluster.
|
||||
// This can be either via password generation or explicitly set the
|
||||
// password.
|
||||
func (r *ProjectsZonesClustersService) SetMasterAuth(projectId string, zone string, clusterId string, setmasterauthrequest *SetMasterAuthRequest) *ProjectsZonesClustersSetMasterAuthCall {
|
||||
|
@ -10028,7 +10023,7 @@ func (c *ProjectsZonesClustersSetMasterAuthCall) Do(opts ...googleapi.CallOption
|
|||
}
|
||||
return ret, nil
|
||||
// {
|
||||
// "description": "Used to set master auth materials. Currently supports :-\nChanging the admin password of a specific cluster.\nThis can be either via password generation or explicitly set the password.",
|
||||
// "description": "Used to set master auth materials. Currently supports :-\nChanging the admin password for a specific cluster.\nThis can be either via password generation or explicitly set the password.",
|
||||
// "flatPath": "v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}:setMasterAuth",
|
||||
// "httpMethod": "POST",
|
||||
// "id": "container.projects.zones.clusters.setMasterAuth",
|
||||
|
@ -10547,7 +10542,7 @@ type ProjectsZonesClustersNodePoolsAutoscalingCall struct {
|
|||
header_ http.Header
|
||||
}
|
||||
|
||||
// Autoscaling: Sets the autoscaling settings of a specific node pool.
|
||||
// Autoscaling: Sets the autoscaling settings for a specific node pool.
|
||||
func (r *ProjectsZonesClustersNodePoolsService) Autoscaling(projectId string, zone string, clusterId string, nodePoolId string, setnodepoolautoscalingrequest *SetNodePoolAutoscalingRequest) *ProjectsZonesClustersNodePoolsAutoscalingCall {
|
||||
c := &ProjectsZonesClustersNodePoolsAutoscalingCall{s: r.s, urlParams_: make(gensupport.URLParams)}
|
||||
c.projectId = projectId
|
||||
|
@ -10647,7 +10642,7 @@ func (c *ProjectsZonesClustersNodePoolsAutoscalingCall) Do(opts ...googleapi.Cal
|
|||
}
|
||||
return ret, nil
|
||||
// {
|
||||
// "description": "Sets the autoscaling settings of a specific node pool.",
|
||||
// "description": "Sets the autoscaling settings for a specific node pool.",
|
||||
// "flatPath": "v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/nodePools/{nodePoolId}/autoscaling",
|
||||
// "httpMethod": "POST",
|
||||
// "id": "container.projects.zones.clusters.nodePools.autoscaling",
|
||||
|
@ -11718,7 +11713,7 @@ type ProjectsZonesClustersNodePoolsSetSizeCall struct {
|
|||
header_ http.Header
|
||||
}
|
||||
|
||||
// SetSize: Sets the size of a specific node pool.
|
||||
// SetSize: Sets the size for a specific node pool.
|
||||
func (r *ProjectsZonesClustersNodePoolsService) SetSize(projectId string, zone string, clusterId string, nodePoolId string, setnodepoolsizerequest *SetNodePoolSizeRequest) *ProjectsZonesClustersNodePoolsSetSizeCall {
|
||||
c := &ProjectsZonesClustersNodePoolsSetSizeCall{s: r.s, urlParams_: make(gensupport.URLParams)}
|
||||
c.projectId = projectId
|
||||
|
@ -11818,7 +11813,7 @@ func (c *ProjectsZonesClustersNodePoolsSetSizeCall) Do(opts ...googleapi.CallOpt
|
|||
}
|
||||
return ret, nil
|
||||
// {
|
||||
// "description": "Sets the size of a specific node pool.",
|
||||
// "description": "Sets the size for a specific node pool.",
|
||||
// "flatPath": "v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/nodePools/{nodePoolId}/setSize",
|
||||
// "httpMethod": "POST",
|
||||
// "id": "container.projects.zones.clusters.nodePools.setSize",
|
||||
|
@ -11882,7 +11877,7 @@ type ProjectsZonesClustersNodePoolsUpdateCall struct {
|
|||
header_ http.Header
|
||||
}
|
||||
|
||||
// Update: Updates the version and/or image type of a specific node
|
||||
// Update: Updates the version and/or image type for a specific node
|
||||
// pool.
|
||||
func (r *ProjectsZonesClustersNodePoolsService) Update(projectId string, zone string, clusterId string, nodePoolId string, updatenodepoolrequest *UpdateNodePoolRequest) *ProjectsZonesClustersNodePoolsUpdateCall {
|
||||
c := &ProjectsZonesClustersNodePoolsUpdateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
|
||||
|
@ -11983,7 +11978,7 @@ func (c *ProjectsZonesClustersNodePoolsUpdateCall) Do(opts ...googleapi.CallOpti
|
|||
}
|
||||
return ret, nil
|
||||
// {
|
||||
// "description": "Updates the version and/or image type of a specific node pool.",
|
||||
// "description": "Updates the version and/or image type for a specific node pool.",
|
||||
// "flatPath": "v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/nodePools/{nodePoolId}/update",
|
||||
// "httpMethod": "POST",
|
||||
// "id": "container.projects.zones.clusters.nodePools.update",
|
||||
|
|
205
vendor/google.golang.org/api/container/v1beta1/container-api.json
generated
vendored
205
vendor/google.golang.org/api/container/v1beta1/container-api.json
generated
vendored
|
@ -202,6 +202,31 @@
|
|||
"scopes": [
|
||||
"https://www.googleapis.com/auth/cloud-platform"
|
||||
]
|
||||
},
|
||||
"list": {
|
||||
"description": "",
|
||||
"flatPath": "v1beta1/projects/{projectsId}/locations",
|
||||
"httpMethod": "GET",
|
||||
"id": "container.projects.locations.list",
|
||||
"parameterOrder": [
|
||||
"parent"
|
||||
],
|
||||
"parameters": {
|
||||
"parent": {
|
||||
"description": "Contains the name of the resource requested.\nSpecific in the format 'projects/*/locations'.",
|
||||
"location": "path",
|
||||
"pattern": "^projects/[^/]+$",
|
||||
"required": true,
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"path": "v1beta1/{+parent}/locations",
|
||||
"response": {
|
||||
"$ref": "ListLocationsResponse"
|
||||
},
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/cloud-platform"
|
||||
]
|
||||
}
|
||||
},
|
||||
"resources": {
|
||||
|
@ -304,7 +329,7 @@
|
|||
]
|
||||
},
|
||||
"get": {
|
||||
"description": "Gets the details of a specific cluster.",
|
||||
"description": "Gets the details for a specific cluster.",
|
||||
"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}",
|
||||
"httpMethod": "GET",
|
||||
"id": "container.projects.locations.clusters.get",
|
||||
|
@ -379,7 +404,7 @@
|
|||
]
|
||||
},
|
||||
"setAddons": {
|
||||
"description": "Sets the addons of a specific cluster.",
|
||||
"description": "Sets the addons for a specific cluster.",
|
||||
"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}:setAddons",
|
||||
"httpMethod": "POST",
|
||||
"id": "container.projects.locations.clusters.setAddons",
|
||||
|
@ -435,7 +460,7 @@
|
|||
]
|
||||
},
|
||||
"setLocations": {
|
||||
"description": "Sets the locations of a specific cluster.",
|
||||
"description": "Sets the locations for a specific cluster.",
|
||||
"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}:setLocations",
|
||||
"httpMethod": "POST",
|
||||
"id": "container.projects.locations.clusters.setLocations",
|
||||
|
@ -463,7 +488,7 @@
|
|||
]
|
||||
},
|
||||
"setLogging": {
|
||||
"description": "Sets the logging service of a specific cluster.",
|
||||
"description": "Sets the logging service for a specific cluster.",
|
||||
"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}:setLogging",
|
||||
"httpMethod": "POST",
|
||||
"id": "container.projects.locations.clusters.setLogging",
|
||||
|
@ -519,7 +544,7 @@
|
|||
]
|
||||
},
|
||||
"setMasterAuth": {
|
||||
"description": "Used to set master auth materials. Currently supports :-\nChanging the admin password of a specific cluster.\nThis can be either via password generation or explicitly set.\nModify basic_auth.csv and reset the K8S API server.",
|
||||
"description": "Used to set master auth materials. Currently supports :-\nChanging the admin password for a specific cluster.\nThis can be either via password generation or explicitly set.\nModify basic_auth.csv and reset the K8S API server.",
|
||||
"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}:setMasterAuth",
|
||||
"httpMethod": "POST",
|
||||
"id": "container.projects.locations.clusters.setMasterAuth",
|
||||
|
@ -547,7 +572,7 @@
|
|||
]
|
||||
},
|
||||
"setMonitoring": {
|
||||
"description": "Sets the monitoring service of a specific cluster.",
|
||||
"description": "Sets the monitoring service for a specific cluster.",
|
||||
"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}:setMonitoring",
|
||||
"httpMethod": "POST",
|
||||
"id": "container.projects.locations.clusters.setMonitoring",
|
||||
|
@ -659,7 +684,7 @@
|
|||
]
|
||||
},
|
||||
"update": {
|
||||
"description": "Updates the settings of a specific cluster.",
|
||||
"description": "Updates the settings for a specific cluster.",
|
||||
"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}",
|
||||
"httpMethod": "PUT",
|
||||
"id": "container.projects.locations.clusters.update",
|
||||
|
@ -687,7 +712,7 @@
|
|||
]
|
||||
},
|
||||
"updateMaster": {
|
||||
"description": "Updates the master of a specific cluster.",
|
||||
"description": "Updates the master for a specific cluster.",
|
||||
"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}:updateMaster",
|
||||
"httpMethod": "POST",
|
||||
"id": "container.projects.locations.clusters.updateMaster",
|
||||
|
@ -961,7 +986,7 @@
|
|||
]
|
||||
},
|
||||
"setSize": {
|
||||
"description": "Sets the size of a specific node pool.",
|
||||
"description": "Sets the size for a specific node pool.",
|
||||
"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}/nodePools/{nodePoolsId}:setSize",
|
||||
"httpMethod": "POST",
|
||||
"id": "container.projects.locations.clusters.nodePools.setSize",
|
||||
|
@ -1172,7 +1197,7 @@
|
|||
"clusters": {
|
||||
"methods": {
|
||||
"addons": {
|
||||
"description": "Sets the addons of a specific cluster.",
|
||||
"description": "Sets the addons for a specific cluster.",
|
||||
"flatPath": "v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/addons",
|
||||
"httpMethod": "POST",
|
||||
"id": "container.projects.zones.clusters.addons",
|
||||
|
@ -1331,7 +1356,7 @@
|
|||
]
|
||||
},
|
||||
"get": {
|
||||
"description": "Gets the details of a specific cluster.",
|
||||
"description": "Gets the details for a specific cluster.",
|
||||
"flatPath": "v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}",
|
||||
"httpMethod": "GET",
|
||||
"id": "container.projects.zones.clusters.get",
|
||||
|
@ -1451,7 +1476,7 @@
|
|||
]
|
||||
},
|
||||
"locations": {
|
||||
"description": "Sets the locations of a specific cluster.",
|
||||
"description": "Sets the locations for a specific cluster.",
|
||||
"flatPath": "v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/locations",
|
||||
"httpMethod": "POST",
|
||||
"id": "container.projects.zones.clusters.locations",
|
||||
|
@ -1492,7 +1517,7 @@
|
|||
]
|
||||
},
|
||||
"logging": {
|
||||
"description": "Sets the logging service of a specific cluster.",
|
||||
"description": "Sets the logging service for a specific cluster.",
|
||||
"flatPath": "v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/logging",
|
||||
"httpMethod": "POST",
|
||||
"id": "container.projects.zones.clusters.logging",
|
||||
|
@ -1533,7 +1558,7 @@
|
|||
]
|
||||
},
|
||||
"master": {
|
||||
"description": "Updates the master of a specific cluster.",
|
||||
"description": "Updates the master for a specific cluster.",
|
||||
"flatPath": "v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/master",
|
||||
"httpMethod": "POST",
|
||||
"id": "container.projects.zones.clusters.master",
|
||||
|
@ -1574,7 +1599,7 @@
|
|||
]
|
||||
},
|
||||
"monitoring": {
|
||||
"description": "Sets the monitoring service of a specific cluster.",
|
||||
"description": "Sets the monitoring service for a specific cluster.",
|
||||
"flatPath": "v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/monitoring",
|
||||
"httpMethod": "POST",
|
||||
"id": "container.projects.zones.clusters.monitoring",
|
||||
|
@ -1697,7 +1722,7 @@
|
|||
]
|
||||
},
|
||||
"setMasterAuth": {
|
||||
"description": "Used to set master auth materials. Currently supports :-\nChanging the admin password of a specific cluster.\nThis can be either via password generation or explicitly set.\nModify basic_auth.csv and reset the K8S API server.",
|
||||
"description": "Used to set master auth materials. Currently supports :-\nChanging the admin password for a specific cluster.\nThis can be either via password generation or explicitly set.\nModify basic_auth.csv and reset the K8S API server.",
|
||||
"flatPath": "v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}:setMasterAuth",
|
||||
"httpMethod": "POST",
|
||||
"id": "container.projects.zones.clusters.setMasterAuth",
|
||||
|
@ -1820,7 +1845,7 @@
|
|||
]
|
||||
},
|
||||
"update": {
|
||||
"description": "Updates the settings of a specific cluster.",
|
||||
"description": "Updates the settings for a specific cluster.",
|
||||
"flatPath": "v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}",
|
||||
"httpMethod": "PUT",
|
||||
"id": "container.projects.zones.clusters.update",
|
||||
|
@ -2193,7 +2218,7 @@
|
|||
]
|
||||
},
|
||||
"setSize": {
|
||||
"description": "Sets the size of a specific node pool.",
|
||||
"description": "Sets the size for a specific node pool.",
|
||||
"flatPath": "v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/nodePools/{nodePoolId}/setSize",
|
||||
"httpMethod": "POST",
|
||||
"id": "container.projects.zones.clusters.nodePools.setSize",
|
||||
|
@ -2421,7 +2446,7 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
"revision": "20180412",
|
||||
"revision": "20180524",
|
||||
"rootUrl": "https://container.googleapis.com/",
|
||||
"schemas": {
|
||||
"AcceleratorConfig": {
|
||||
|
@ -2478,6 +2503,17 @@
|
|||
},
|
||||
"type": "object"
|
||||
},
|
||||
"BinaryAuthorization": {
|
||||
"description": "Configuration for Binary Authorization.",
|
||||
"id": "BinaryAuthorization",
|
||||
"properties": {
|
||||
"enabled": {
|
||||
"description": "Enable Binary Authorization for this cluster. If enabled, all container\nimages will be validated by Google Binauthz.",
|
||||
"type": "boolean"
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"CancelOperationRequest": {
|
||||
"description": "CancelOperationRequest cancels a single operation.",
|
||||
"id": "CancelOperationRequest",
|
||||
|
@ -2535,6 +2571,10 @@
|
|||
"$ref": "AddonsConfig",
|
||||
"description": "Configurations for the various addons available to run in the cluster."
|
||||
},
|
||||
"binaryAuthorization": {
|
||||
"$ref": "BinaryAuthorization",
|
||||
"description": "Configuration for Binary Authorization."
|
||||
},
|
||||
"clusterIpv4Cidr": {
|
||||
"description": "The IP address range of the container pods in this cluster, in\n[CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing)\nnotation (e.g. `10.96.0.0/14`). Leave blank to have\none automatically chosen or specify a `/14` block in `10.0.0.0/8`.",
|
||||
"type": "string"
|
||||
|
@ -2735,6 +2775,10 @@
|
|||
"$ref": "AddonsConfig",
|
||||
"description": "Configurations for the various addons available to run in the cluster."
|
||||
},
|
||||
"desiredBinaryAuthorization": {
|
||||
"$ref": "BinaryAuthorization",
|
||||
"description": "The desired configuration options for the Binary Authorization feature."
|
||||
},
|
||||
"desiredImageType": {
|
||||
"description": "The desired image type for the node pool.\nNOTE: Set the \"desired_node_pool\" field as well.",
|
||||
"type": "string"
|
||||
|
@ -2991,6 +3035,24 @@
|
|||
},
|
||||
"type": "object"
|
||||
},
|
||||
"ListLocationsResponse": {
|
||||
"description": "ListLocationsResponse returns the list of all GKE locations and their\nrecommendation state.",
|
||||
"id": "ListLocationsResponse",
|
||||
"properties": {
|
||||
"locations": {
|
||||
"description": "A full list of GKE locations.",
|
||||
"items": {
|
||||
"$ref": "Location"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"nextPageToken": {
|
||||
"description": "Only return ListLocationsResponse that occur after the page_token. This\nvalue should be populated from the ListLocationsResponse.next_page_token if\nthat response token was set (which happens when listing more Locations than\nfit in a single ListLocationsResponse).",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"ListNodePoolsResponse": {
|
||||
"description": "ListNodePoolsResponse is the result of ListNodePoolsRequest.",
|
||||
"id": "ListNodePoolsResponse",
|
||||
|
@ -3044,6 +3106,35 @@
|
|||
},
|
||||
"type": "object"
|
||||
},
|
||||
"Location": {
|
||||
"description": "Location returns the location name, and if the location is recommended\nfor GKE cluster scheduling.",
|
||||
"id": "Location",
|
||||
"properties": {
|
||||
"name": {
|
||||
"description": "Contains the name of the resource requested.\nSpecific in the format 'projects/*/locations/*'.",
|
||||
"type": "string"
|
||||
},
|
||||
"recommended": {
|
||||
"description": "Recommended is a bool combining the drain state of the location (ie- has\nthe region been drained manually?), and the stockout status of any zone\naccording to Zone Advisor. This will be internal only for use by pantheon.",
|
||||
"type": "boolean"
|
||||
},
|
||||
"type": {
|
||||
"description": "Contains the type of location this Location is for.\nRegional or Zonal.",
|
||||
"enum": [
|
||||
"LOCATION_TYPE_UNSPECIFIED",
|
||||
"ZONE",
|
||||
"REGION"
|
||||
],
|
||||
"enumDescriptions": [
|
||||
"LOCATION_TYPE_UNSPECIFIED means the location type was not determined.",
|
||||
"A GKE Location where Zonal clusters can be created.",
|
||||
"A GKE Location where Regional clusters can be created."
|
||||
],
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"MaintenancePolicy": {
|
||||
"description": "MaintenancePolicy defines the maintenance policy to be used for the cluster.",
|
||||
"id": "MaintenancePolicy",
|
||||
|
@ -3115,6 +3206,31 @@
|
|||
},
|
||||
"type": "object"
|
||||
},
|
||||
"Metric": {
|
||||
"description": "Progress metric is (string, int|float|string) pair.",
|
||||
"id": "Metric",
|
||||
"properties": {
|
||||
"doubleValue": {
|
||||
"description": "For metrics with floating point value.",
|
||||
"format": "double",
|
||||
"type": "number"
|
||||
},
|
||||
"intValue": {
|
||||
"description": "For metrics with integer value.",
|
||||
"format": "int64",
|
||||
"type": "string"
|
||||
},
|
||||
"name": {
|
||||
"description": "Metric name, required.\ne.g., \"nodes total\", \"percent done\"",
|
||||
"type": "string"
|
||||
},
|
||||
"stringValue": {
|
||||
"description": "For metrics with custom values (ratios, visual progress, etc.).",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"NetworkConfig": {
|
||||
"description": "NetworkConfig reports the relative names of network \u0026 subnetwork.",
|
||||
"id": "NetworkConfig",
|
||||
|
@ -3180,6 +3296,10 @@
|
|||
"format": "int32",
|
||||
"type": "integer"
|
||||
},
|
||||
"diskType": {
|
||||
"description": "Type of the disk attached to each node (e.g. 'pd-standard' or 'pd-ssd')\n\nIf unspecified, the default disk type is 'pd-standard'",
|
||||
"type": "string"
|
||||
},
|
||||
"imageType": {
|
||||
"description": "The image type to use for this node. Note that for a given image type,\nthe latest version of it will be used.",
|
||||
"type": "string"
|
||||
|
@ -3449,6 +3569,10 @@
|
|||
],
|
||||
"type": "string"
|
||||
},
|
||||
"progress": {
|
||||
"$ref": "OperationProgress",
|
||||
"description": "[Output only] Progress information for an operation."
|
||||
},
|
||||
"selfLink": {
|
||||
"description": "Server-defined URL for the resource.",
|
||||
"type": "string"
|
||||
|
@ -3490,6 +3614,49 @@
|
|||
},
|
||||
"type": "object"
|
||||
},
|
||||
"OperationProgress": {
|
||||
"description": "Information about operation (or operation stage) progress.",
|
||||
"id": "OperationProgress",
|
||||
"properties": {
|
||||
"metrics": {
|
||||
"description": "Progress metric bundle, for example:\n metrics: [{name: \"nodes done\", int_value: 15},\n {name: \"nodes total\", int_value: 32}]\nor\n metrics: [{name: \"progress\", double_value: 0.56},\n {name: \"progress scale\", double_value: 1.0}]",
|
||||
"items": {
|
||||
"$ref": "Metric"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"name": {
|
||||
"description": "A non-parameterized string describing an operation stage.\nUnset for single-stage operations.",
|
||||
"type": "string"
|
||||
},
|
||||
"stages": {
|
||||
"description": "Substages of an operation or a stage.",
|
||||
"items": {
|
||||
"$ref": "OperationProgress"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"status": {
|
||||
"description": "Status of an operation stage.\nUnset for single-stage operations.",
|
||||
"enum": [
|
||||
"STATUS_UNSPECIFIED",
|
||||
"PENDING",
|
||||
"RUNNING",
|
||||
"DONE",
|
||||
"ABORTING"
|
||||
],
|
||||
"enumDescriptions": [
|
||||
"Not set.",
|
||||
"The operation has been created.",
|
||||
"The operation is currently running.",
|
||||
"The operation is done, either cancelled or completed.",
|
||||
"The operation is aborting."
|
||||
],
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"PodSecurityPolicyConfig": {
|
||||
"description": "Configuration for the PodSecurityPolicy feature.",
|
||||
"id": "PodSecurityPolicyConfig",
|
||||
|
|
454
vendor/google.golang.org/api/container/v1beta1/container-gen.go
generated
vendored
454
vendor/google.golang.org/api/container/v1beta1/container-gen.go
generated
vendored
|
@ -333,6 +333,36 @@ func (s *AutoUpgradeOptions) MarshalJSON() ([]byte, error) {
|
|||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
// BinaryAuthorization: Configuration for Binary Authorization.
|
||||
type BinaryAuthorization struct {
|
||||
// Enabled: Enable Binary Authorization for this cluster. If enabled,
|
||||
// all container
|
||||
// images will be validated by Google Binauthz.
|
||||
Enabled bool `json:"enabled,omitempty"`
|
||||
|
||||
// ForceSendFields is a list of field names (e.g. "Enabled") 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. "Enabled") 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 *BinaryAuthorization) MarshalJSON() ([]byte, error) {
|
||||
type NoMethod BinaryAuthorization
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
// CancelOperationRequest: CancelOperationRequest cancels a single
|
||||
// operation.
|
||||
type CancelOperationRequest struct {
|
||||
|
@ -452,6 +482,9 @@ type Cluster struct {
|
|||
// in the cluster.
|
||||
AddonsConfig *AddonsConfig `json:"addonsConfig,omitempty"`
|
||||
|
||||
// BinaryAuthorization: Configuration for Binary Authorization.
|
||||
BinaryAuthorization *BinaryAuthorization `json:"binaryAuthorization,omitempty"`
|
||||
|
||||
// ClusterIpv4Cidr: The IP address range of the container pods in this
|
||||
// cluster,
|
||||
// in
|
||||
|
@ -782,6 +815,10 @@ type ClusterUpdate struct {
|
|||
// to run in the cluster.
|
||||
DesiredAddonsConfig *AddonsConfig `json:"desiredAddonsConfig,omitempty"`
|
||||
|
||||
// DesiredBinaryAuthorization: The desired configuration options for the
|
||||
// Binary Authorization feature.
|
||||
DesiredBinaryAuthorization *BinaryAuthorization `json:"desiredBinaryAuthorization,omitempty"`
|
||||
|
||||
// DesiredImageType: The desired image type for the node pool.
|
||||
// NOTE: Set the "desired_node_pool" field as well.
|
||||
DesiredImageType string `json:"desiredImageType,omitempty"`
|
||||
|
@ -1440,6 +1477,49 @@ func (s *ListClustersResponse) MarshalJSON() ([]byte, error) {
|
|||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
// ListLocationsResponse: ListLocationsResponse returns the list of all
|
||||
// GKE locations and their
|
||||
// recommendation state.
|
||||
type ListLocationsResponse struct {
|
||||
// Locations: A full list of GKE locations.
|
||||
Locations []*Location `json:"locations,omitempty"`
|
||||
|
||||
// NextPageToken: Only return ListLocationsResponse that occur after the
|
||||
// page_token. This
|
||||
// value should be populated from the
|
||||
// ListLocationsResponse.next_page_token if
|
||||
// that response token was set (which happens when listing more
|
||||
// Locations than
|
||||
// fit in a single ListLocationsResponse).
|
||||
NextPageToken string `json:"nextPageToken,omitempty"`
|
||||
|
||||
// ServerResponse contains the HTTP response code and headers from the
|
||||
// server.
|
||||
googleapi.ServerResponse `json:"-"`
|
||||
|
||||
// ForceSendFields is a list of field names (e.g. "Locations") 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. "Locations") 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 *ListLocationsResponse) MarshalJSON() ([]byte, error) {
|
||||
type NoMethod ListLocationsResponse
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
// ListNodePoolsResponse: ListNodePoolsResponse is the result of
|
||||
// ListNodePoolsRequest.
|
||||
type ListNodePoolsResponse struct {
|
||||
|
@ -1557,6 +1637,55 @@ func (s *ListUsableSubnetworksResponse) MarshalJSON() ([]byte, error) {
|
|||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
// Location: Location returns the location name, and if the location is
|
||||
// recommended
|
||||
// for GKE cluster scheduling.
|
||||
type Location struct {
|
||||
// Name: Contains the name of the resource requested.
|
||||
// Specific in the format 'projects/*/locations/*'.
|
||||
Name string `json:"name,omitempty"`
|
||||
|
||||
// Recommended: Recommended is a bool combining the drain state of the
|
||||
// location (ie- has
|
||||
// the region been drained manually?), and the stockout status of any
|
||||
// zone
|
||||
// according to Zone Advisor. This will be internal only for use by
|
||||
// pantheon.
|
||||
Recommended bool `json:"recommended,omitempty"`
|
||||
|
||||
// Type: Contains the type of location this Location is for.
|
||||
// Regional or Zonal.
|
||||
//
|
||||
// Possible values:
|
||||
// "LOCATION_TYPE_UNSPECIFIED" - LOCATION_TYPE_UNSPECIFIED means the
|
||||
// location type was not determined.
|
||||
// "ZONE" - A GKE Location where Zonal clusters can be created.
|
||||
// "REGION" - A GKE Location where Regional clusters can be created.
|
||||
Type string `json:"type,omitempty"`
|
||||
|
||||
// ForceSendFields is a list of field names (e.g. "Name") 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. "Name") 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 *Location) MarshalJSON() ([]byte, error) {
|
||||
type NoMethod Location
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
// MaintenancePolicy: MaintenancePolicy defines the maintenance policy
|
||||
// to be used for the cluster.
|
||||
type MaintenancePolicy struct {
|
||||
|
@ -1724,6 +1853,59 @@ func (s *MasterAuthorizedNetworksConfig) MarshalJSON() ([]byte, error) {
|
|||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
// Metric: Progress metric is (string, int|float|string) pair.
|
||||
type Metric struct {
|
||||
// DoubleValue: For metrics with floating point value.
|
||||
DoubleValue float64 `json:"doubleValue,omitempty"`
|
||||
|
||||
// IntValue: For metrics with integer value.
|
||||
IntValue int64 `json:"intValue,omitempty,string"`
|
||||
|
||||
// Name: Metric name, required.
|
||||
// e.g., "nodes total", "percent done"
|
||||
Name string `json:"name,omitempty"`
|
||||
|
||||
// StringValue: For metrics with custom values (ratios, visual progress,
|
||||
// etc.).
|
||||
StringValue string `json:"stringValue,omitempty"`
|
||||
|
||||
// ForceSendFields is a list of field names (e.g. "DoubleValue") 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. "DoubleValue") 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 *Metric) MarshalJSON() ([]byte, error) {
|
||||
type NoMethod Metric
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
func (s *Metric) UnmarshalJSON(data []byte) error {
|
||||
type NoMethod Metric
|
||||
var s1 struct {
|
||||
DoubleValue gensupport.JSONFloat64 `json:"doubleValue"`
|
||||
*NoMethod
|
||||
}
|
||||
s1.NoMethod = (*NoMethod)(s)
|
||||
if err := json.Unmarshal(data, &s1); err != nil {
|
||||
return err
|
||||
}
|
||||
s.DoubleValue = float64(s1.DoubleValue)
|
||||
return nil
|
||||
}
|
||||
|
||||
// NetworkConfig: NetworkConfig reports the relative names of network &
|
||||
// subnetwork.
|
||||
type NetworkConfig struct {
|
||||
|
@ -1850,6 +2032,12 @@ type NodeConfig struct {
|
|||
// If unspecified, the default disk size is 100GB.
|
||||
DiskSizeGb int64 `json:"diskSizeGb,omitempty"`
|
||||
|
||||
// DiskType: Type of the disk attached to each node (e.g. 'pd-standard'
|
||||
// or 'pd-ssd')
|
||||
//
|
||||
// If unspecified, the default disk type is 'pd-standard'
|
||||
DiskType string `json:"diskType,omitempty"`
|
||||
|
||||
// ImageType: The image type to use for this node. Note that for a given
|
||||
// image type,
|
||||
// the latest version of it will be used.
|
||||
|
@ -2293,6 +2481,9 @@ type Operation struct {
|
|||
// "SET_MAINTENANCE_POLICY" - Set the maintenance policy.
|
||||
OperationType string `json:"operationType,omitempty"`
|
||||
|
||||
// Progress: [Output only] Progress information for an operation.
|
||||
Progress *OperationProgress `json:"progress,omitempty"`
|
||||
|
||||
// SelfLink: Server-defined URL for the resource.
|
||||
SelfLink string `json:"selfLink,omitempty"`
|
||||
|
||||
|
@ -2352,6 +2543,58 @@ func (s *Operation) MarshalJSON() ([]byte, error) {
|
|||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
// OperationProgress: Information about operation (or operation stage)
|
||||
// progress.
|
||||
type OperationProgress struct {
|
||||
// Metrics: Progress metric bundle, for example:
|
||||
// metrics: [{name: "nodes done", int_value: 15},
|
||||
// {name: "nodes total", int_value: 32}]
|
||||
// or
|
||||
// metrics: [{name: "progress", double_value: 0.56},
|
||||
// {name: "progress scale", double_value: 1.0}]
|
||||
Metrics []*Metric `json:"metrics,omitempty"`
|
||||
|
||||
// Name: A non-parameterized string describing an operation stage.
|
||||
// Unset for single-stage operations.
|
||||
Name string `json:"name,omitempty"`
|
||||
|
||||
// Stages: Substages of an operation or a stage.
|
||||
Stages []*OperationProgress `json:"stages,omitempty"`
|
||||
|
||||
// Status: Status of an operation stage.
|
||||
// Unset for single-stage operations.
|
||||
//
|
||||
// Possible values:
|
||||
// "STATUS_UNSPECIFIED" - Not set.
|
||||
// "PENDING" - The operation has been created.
|
||||
// "RUNNING" - The operation is currently running.
|
||||
// "DONE" - The operation is done, either cancelled or completed.
|
||||
// "ABORTING" - The operation is aborting.
|
||||
Status string `json:"status,omitempty"`
|
||||
|
||||
// ForceSendFields is a list of field names (e.g. "Metrics") 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. "Metrics") 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 *OperationProgress) MarshalJSON() ([]byte, error) {
|
||||
type NoMethod OperationProgress
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
// PodSecurityPolicyConfig: Configuration for the PodSecurityPolicy
|
||||
// feature.
|
||||
type PodSecurityPolicyConfig struct {
|
||||
|
@ -3912,6 +4155,145 @@ func (c *ProjectsLocationsGetServerConfigCall) Do(opts ...googleapi.CallOption)
|
|||
|
||||
}
|
||||
|
||||
// method id "container.projects.locations.list":
|
||||
|
||||
type ProjectsLocationsListCall struct {
|
||||
s *Service
|
||||
parent string
|
||||
urlParams_ gensupport.URLParams
|
||||
ifNoneMatch_ string
|
||||
ctx_ context.Context
|
||||
header_ http.Header
|
||||
}
|
||||
|
||||
// List:
|
||||
func (r *ProjectsLocationsService) List(parent string) *ProjectsLocationsListCall {
|
||||
c := &ProjectsLocationsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
|
||||
c.parent = parent
|
||||
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 *ProjectsLocationsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsListCall {
|
||||
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 *ProjectsLocationsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsListCall {
|
||||
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 *ProjectsLocationsListCall) Context(ctx context.Context) *ProjectsLocationsListCall {
|
||||
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 *ProjectsLocationsListCall) Header() http.Header {
|
||||
if c.header_ == nil {
|
||||
c.header_ = make(http.Header)
|
||||
}
|
||||
return c.header_
|
||||
}
|
||||
|
||||
func (c *ProjectsLocationsListCall) 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, "v1beta1/{+parent}/locations")
|
||||
urls += "?" + c.urlParams_.Encode()
|
||||
req, _ := http.NewRequest("GET", urls, body)
|
||||
req.Header = reqHeaders
|
||||
googleapi.Expand(req.URL, map[string]string{
|
||||
"parent": c.parent,
|
||||
})
|
||||
return gensupport.SendRequest(c.ctx_, c.s.client, req)
|
||||
}
|
||||
|
||||
// Do executes the "container.projects.locations.list" call.
|
||||
// Exactly one of *ListLocationsResponse or error will be non-nil. Any
|
||||
// non-2xx status code is an error. Response headers are in either
|
||||
// *ListLocationsResponse.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 *ProjectsLocationsListCall) Do(opts ...googleapi.CallOption) (*ListLocationsResponse, 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 := &ListLocationsResponse{
|
||||
ServerResponse: googleapi.ServerResponse{
|
||||
Header: res.Header,
|
||||
HTTPStatusCode: res.StatusCode,
|
||||
},
|
||||
}
|
||||
target := &ret
|
||||
if err := gensupport.DecodeResponse(target, res); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return ret, nil
|
||||
// {
|
||||
// "description": "",
|
||||
// "flatPath": "v1beta1/projects/{projectsId}/locations",
|
||||
// "httpMethod": "GET",
|
||||
// "id": "container.projects.locations.list",
|
||||
// "parameterOrder": [
|
||||
// "parent"
|
||||
// ],
|
||||
// "parameters": {
|
||||
// "parent": {
|
||||
// "description": "Contains the name of the resource requested.\nSpecific in the format 'projects/*/locations'.",
|
||||
// "location": "path",
|
||||
// "pattern": "^projects/[^/]+$",
|
||||
// "required": true,
|
||||
// "type": "string"
|
||||
// }
|
||||
// },
|
||||
// "path": "v1beta1/{+parent}/locations",
|
||||
// "response": {
|
||||
// "$ref": "ListLocationsResponse"
|
||||
// },
|
||||
// "scopes": [
|
||||
// "https://www.googleapis.com/auth/cloud-platform"
|
||||
// ]
|
||||
// }
|
||||
|
||||
}
|
||||
|
||||
// method id "container.projects.locations.clusters.completeIpRotation":
|
||||
|
||||
type ProjectsLocationsClustersCompleteIpRotationCall struct {
|
||||
|
@ -4390,7 +4772,7 @@ type ProjectsLocationsClustersGetCall struct {
|
|||
header_ http.Header
|
||||
}
|
||||
|
||||
// Get: Gets the details of a specific cluster.
|
||||
// Get: Gets the details for a specific cluster.
|
||||
func (r *ProjectsLocationsClustersService) Get(name string) *ProjectsLocationsClustersGetCall {
|
||||
c := &ProjectsLocationsClustersGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
|
||||
c.name = name
|
||||
|
@ -4521,7 +4903,7 @@ func (c *ProjectsLocationsClustersGetCall) Do(opts ...googleapi.CallOption) (*Cl
|
|||
}
|
||||
return ret, nil
|
||||
// {
|
||||
// "description": "Gets the details of a specific cluster.",
|
||||
// "description": "Gets the details for a specific cluster.",
|
||||
// "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}",
|
||||
// "httpMethod": "GET",
|
||||
// "id": "container.projects.locations.clusters.get",
|
||||
|
@ -4746,7 +5128,7 @@ type ProjectsLocationsClustersSetAddonsCall struct {
|
|||
header_ http.Header
|
||||
}
|
||||
|
||||
// SetAddons: Sets the addons of a specific cluster.
|
||||
// SetAddons: Sets the addons for a specific cluster.
|
||||
func (r *ProjectsLocationsClustersService) SetAddons(name string, setaddonsconfigrequest *SetAddonsConfigRequest) *ProjectsLocationsClustersSetAddonsCall {
|
||||
c := &ProjectsLocationsClustersSetAddonsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
|
||||
c.name = name
|
||||
|
@ -4840,7 +5222,7 @@ func (c *ProjectsLocationsClustersSetAddonsCall) Do(opts ...googleapi.CallOption
|
|||
}
|
||||
return ret, nil
|
||||
// {
|
||||
// "description": "Sets the addons of a specific cluster.",
|
||||
// "description": "Sets the addons for a specific cluster.",
|
||||
// "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}:setAddons",
|
||||
// "httpMethod": "POST",
|
||||
// "id": "container.projects.locations.clusters.setAddons",
|
||||
|
@ -5017,7 +5399,7 @@ type ProjectsLocationsClustersSetLocationsCall struct {
|
|||
header_ http.Header
|
||||
}
|
||||
|
||||
// SetLocations: Sets the locations of a specific cluster.
|
||||
// SetLocations: Sets the locations for a specific cluster.
|
||||
func (r *ProjectsLocationsClustersService) SetLocations(name string, setlocationsrequest *SetLocationsRequest) *ProjectsLocationsClustersSetLocationsCall {
|
||||
c := &ProjectsLocationsClustersSetLocationsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
|
||||
c.name = name
|
||||
|
@ -5111,7 +5493,7 @@ func (c *ProjectsLocationsClustersSetLocationsCall) Do(opts ...googleapi.CallOpt
|
|||
}
|
||||
return ret, nil
|
||||
// {
|
||||
// "description": "Sets the locations of a specific cluster.",
|
||||
// "description": "Sets the locations for a specific cluster.",
|
||||
// "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}:setLocations",
|
||||
// "httpMethod": "POST",
|
||||
// "id": "container.projects.locations.clusters.setLocations",
|
||||
|
@ -5152,7 +5534,7 @@ type ProjectsLocationsClustersSetLoggingCall struct {
|
|||
header_ http.Header
|
||||
}
|
||||
|
||||
// SetLogging: Sets the logging service of a specific cluster.
|
||||
// SetLogging: Sets the logging service for a specific cluster.
|
||||
func (r *ProjectsLocationsClustersService) SetLogging(name string, setloggingservicerequest *SetLoggingServiceRequest) *ProjectsLocationsClustersSetLoggingCall {
|
||||
c := &ProjectsLocationsClustersSetLoggingCall{s: r.s, urlParams_: make(gensupport.URLParams)}
|
||||
c.name = name
|
||||
|
@ -5246,7 +5628,7 @@ func (c *ProjectsLocationsClustersSetLoggingCall) Do(opts ...googleapi.CallOptio
|
|||
}
|
||||
return ret, nil
|
||||
// {
|
||||
// "description": "Sets the logging service of a specific cluster.",
|
||||
// "description": "Sets the logging service for a specific cluster.",
|
||||
// "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}:setLogging",
|
||||
// "httpMethod": "POST",
|
||||
// "id": "container.projects.locations.clusters.setLogging",
|
||||
|
@ -5424,7 +5806,7 @@ type ProjectsLocationsClustersSetMasterAuthCall struct {
|
|||
|
||||
// SetMasterAuth: Used to set master auth materials. Currently supports
|
||||
// :-
|
||||
// Changing the admin password of a specific cluster.
|
||||
// Changing the admin password for a specific cluster.
|
||||
// This can be either via password generation or explicitly set.
|
||||
// Modify basic_auth.csv and reset the K8S API server.
|
||||
func (r *ProjectsLocationsClustersService) SetMasterAuth(name string, setmasterauthrequest *SetMasterAuthRequest) *ProjectsLocationsClustersSetMasterAuthCall {
|
||||
|
@ -5520,7 +5902,7 @@ func (c *ProjectsLocationsClustersSetMasterAuthCall) Do(opts ...googleapi.CallOp
|
|||
}
|
||||
return ret, nil
|
||||
// {
|
||||
// "description": "Used to set master auth materials. Currently supports :-\nChanging the admin password of a specific cluster.\nThis can be either via password generation or explicitly set.\nModify basic_auth.csv and reset the K8S API server.",
|
||||
// "description": "Used to set master auth materials. Currently supports :-\nChanging the admin password for a specific cluster.\nThis can be either via password generation or explicitly set.\nModify basic_auth.csv and reset the K8S API server.",
|
||||
// "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}:setMasterAuth",
|
||||
// "httpMethod": "POST",
|
||||
// "id": "container.projects.locations.clusters.setMasterAuth",
|
||||
|
@ -5561,7 +5943,7 @@ type ProjectsLocationsClustersSetMonitoringCall struct {
|
|||
header_ http.Header
|
||||
}
|
||||
|
||||
// SetMonitoring: Sets the monitoring service of a specific cluster.
|
||||
// SetMonitoring: Sets the monitoring service for a specific cluster.
|
||||
func (r *ProjectsLocationsClustersService) SetMonitoring(name string, setmonitoringservicerequest *SetMonitoringServiceRequest) *ProjectsLocationsClustersSetMonitoringCall {
|
||||
c := &ProjectsLocationsClustersSetMonitoringCall{s: r.s, urlParams_: make(gensupport.URLParams)}
|
||||
c.name = name
|
||||
|
@ -5655,7 +6037,7 @@ func (c *ProjectsLocationsClustersSetMonitoringCall) Do(opts ...googleapi.CallOp
|
|||
}
|
||||
return ret, nil
|
||||
// {
|
||||
// "description": "Sets the monitoring service of a specific cluster.",
|
||||
// "description": "Sets the monitoring service for a specific cluster.",
|
||||
// "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}:setMonitoring",
|
||||
// "httpMethod": "POST",
|
||||
// "id": "container.projects.locations.clusters.setMonitoring",
|
||||
|
@ -6101,7 +6483,7 @@ type ProjectsLocationsClustersUpdateCall struct {
|
|||
header_ http.Header
|
||||
}
|
||||
|
||||
// Update: Updates the settings of a specific cluster.
|
||||
// Update: Updates the settings for a specific cluster.
|
||||
func (r *ProjectsLocationsClustersService) Update(name string, updateclusterrequest *UpdateClusterRequest) *ProjectsLocationsClustersUpdateCall {
|
||||
c := &ProjectsLocationsClustersUpdateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
|
||||
c.name = name
|
||||
|
@ -6195,7 +6577,7 @@ func (c *ProjectsLocationsClustersUpdateCall) Do(opts ...googleapi.CallOption) (
|
|||
}
|
||||
return ret, nil
|
||||
// {
|
||||
// "description": "Updates the settings of a specific cluster.",
|
||||
// "description": "Updates the settings for a specific cluster.",
|
||||
// "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}",
|
||||
// "httpMethod": "PUT",
|
||||
// "id": "container.projects.locations.clusters.update",
|
||||
|
@ -6236,7 +6618,7 @@ type ProjectsLocationsClustersUpdateMasterCall struct {
|
|||
header_ http.Header
|
||||
}
|
||||
|
||||
// UpdateMaster: Updates the master of a specific cluster.
|
||||
// UpdateMaster: Updates the master for a specific cluster.
|
||||
func (r *ProjectsLocationsClustersService) UpdateMaster(name string, updatemasterrequest *UpdateMasterRequest) *ProjectsLocationsClustersUpdateMasterCall {
|
||||
c := &ProjectsLocationsClustersUpdateMasterCall{s: r.s, urlParams_: make(gensupport.URLParams)}
|
||||
c.name = name
|
||||
|
@ -6330,7 +6712,7 @@ func (c *ProjectsLocationsClustersUpdateMasterCall) Do(opts ...googleapi.CallOpt
|
|||
}
|
||||
return ret, nil
|
||||
// {
|
||||
// "description": "Updates the master of a specific cluster.",
|
||||
// "description": "Updates the master for a specific cluster.",
|
||||
// "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}:updateMaster",
|
||||
// "httpMethod": "POST",
|
||||
// "id": "container.projects.locations.clusters.updateMaster",
|
||||
|
@ -7478,7 +7860,7 @@ type ProjectsLocationsClustersNodePoolsSetSizeCall struct {
|
|||
header_ http.Header
|
||||
}
|
||||
|
||||
// SetSize: Sets the size of a specific node pool.
|
||||
// SetSize: Sets the size for a specific node pool.
|
||||
func (r *ProjectsLocationsClustersNodePoolsService) SetSize(name string, setnodepoolsizerequest *SetNodePoolSizeRequest) *ProjectsLocationsClustersNodePoolsSetSizeCall {
|
||||
c := &ProjectsLocationsClustersNodePoolsSetSizeCall{s: r.s, urlParams_: make(gensupport.URLParams)}
|
||||
c.name = name
|
||||
|
@ -7572,7 +7954,7 @@ func (c *ProjectsLocationsClustersNodePoolsSetSizeCall) Do(opts ...googleapi.Cal
|
|||
}
|
||||
return ret, nil
|
||||
// {
|
||||
// "description": "Sets the size of a specific node pool.",
|
||||
// "description": "Sets the size for a specific node pool.",
|
||||
// "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}/nodePools/{nodePoolsId}:setSize",
|
||||
// "httpMethod": "POST",
|
||||
// "id": "container.projects.locations.clusters.nodePools.setSize",
|
||||
|
@ -8404,7 +8786,7 @@ type ProjectsZonesClustersAddonsCall struct {
|
|||
header_ http.Header
|
||||
}
|
||||
|
||||
// Addons: Sets the addons of a specific cluster.
|
||||
// Addons: Sets the addons for a specific cluster.
|
||||
func (r *ProjectsZonesClustersService) Addons(projectId string, zone string, clusterId string, setaddonsconfigrequest *SetAddonsConfigRequest) *ProjectsZonesClustersAddonsCall {
|
||||
c := &ProjectsZonesClustersAddonsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
|
||||
c.projectId = projectId
|
||||
|
@ -8502,7 +8884,7 @@ func (c *ProjectsZonesClustersAddonsCall) Do(opts ...googleapi.CallOption) (*Ope
|
|||
}
|
||||
return ret, nil
|
||||
// {
|
||||
// "description": "Sets the addons of a specific cluster.",
|
||||
// "description": "Sets the addons for a specific cluster.",
|
||||
// "flatPath": "v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/addons",
|
||||
// "httpMethod": "POST",
|
||||
// "id": "container.projects.zones.clusters.addons",
|
||||
|
@ -9040,7 +9422,7 @@ type ProjectsZonesClustersGetCall struct {
|
|||
header_ http.Header
|
||||
}
|
||||
|
||||
// Get: Gets the details of a specific cluster.
|
||||
// Get: Gets the details for a specific cluster.
|
||||
func (r *ProjectsZonesClustersService) Get(projectId string, zone string, clusterId string) *ProjectsZonesClustersGetCall {
|
||||
c := &ProjectsZonesClustersGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
|
||||
c.projectId = projectId
|
||||
|
@ -9153,7 +9535,7 @@ func (c *ProjectsZonesClustersGetCall) Do(opts ...googleapi.CallOption) (*Cluste
|
|||
}
|
||||
return ret, nil
|
||||
// {
|
||||
// "description": "Gets the details of a specific cluster.",
|
||||
// "description": "Gets the details for a specific cluster.",
|
||||
// "flatPath": "v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}",
|
||||
// "httpMethod": "GET",
|
||||
// "id": "container.projects.zones.clusters.get",
|
||||
|
@ -9530,7 +9912,7 @@ type ProjectsZonesClustersLocationsCall struct {
|
|||
header_ http.Header
|
||||
}
|
||||
|
||||
// Locations: Sets the locations of a specific cluster.
|
||||
// Locations: Sets the locations for a specific cluster.
|
||||
func (r *ProjectsZonesClustersService) Locations(projectId string, zone string, clusterId string, setlocationsrequest *SetLocationsRequest) *ProjectsZonesClustersLocationsCall {
|
||||
c := &ProjectsZonesClustersLocationsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
|
||||
c.projectId = projectId
|
||||
|
@ -9628,7 +10010,7 @@ func (c *ProjectsZonesClustersLocationsCall) Do(opts ...googleapi.CallOption) (*
|
|||
}
|
||||
return ret, nil
|
||||
// {
|
||||
// "description": "Sets the locations of a specific cluster.",
|
||||
// "description": "Sets the locations for a specific cluster.",
|
||||
// "flatPath": "v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/locations",
|
||||
// "httpMethod": "POST",
|
||||
// "id": "container.projects.zones.clusters.locations",
|
||||
|
@ -9684,7 +10066,7 @@ type ProjectsZonesClustersLoggingCall struct {
|
|||
header_ http.Header
|
||||
}
|
||||
|
||||
// Logging: Sets the logging service of a specific cluster.
|
||||
// Logging: Sets the logging service for a specific cluster.
|
||||
func (r *ProjectsZonesClustersService) Logging(projectId string, zone string, clusterId string, setloggingservicerequest *SetLoggingServiceRequest) *ProjectsZonesClustersLoggingCall {
|
||||
c := &ProjectsZonesClustersLoggingCall{s: r.s, urlParams_: make(gensupport.URLParams)}
|
||||
c.projectId = projectId
|
||||
|
@ -9782,7 +10164,7 @@ func (c *ProjectsZonesClustersLoggingCall) Do(opts ...googleapi.CallOption) (*Op
|
|||
}
|
||||
return ret, nil
|
||||
// {
|
||||
// "description": "Sets the logging service of a specific cluster.",
|
||||
// "description": "Sets the logging service for a specific cluster.",
|
||||
// "flatPath": "v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/logging",
|
||||
// "httpMethod": "POST",
|
||||
// "id": "container.projects.zones.clusters.logging",
|
||||
|
@ -9838,7 +10220,7 @@ type ProjectsZonesClustersMasterCall struct {
|
|||
header_ http.Header
|
||||
}
|
||||
|
||||
// Master: Updates the master of a specific cluster.
|
||||
// Master: Updates the master for a specific cluster.
|
||||
func (r *ProjectsZonesClustersService) Master(projectId string, zone string, clusterId string, updatemasterrequest *UpdateMasterRequest) *ProjectsZonesClustersMasterCall {
|
||||
c := &ProjectsZonesClustersMasterCall{s: r.s, urlParams_: make(gensupport.URLParams)}
|
||||
c.projectId = projectId
|
||||
|
@ -9936,7 +10318,7 @@ func (c *ProjectsZonesClustersMasterCall) Do(opts ...googleapi.CallOption) (*Ope
|
|||
}
|
||||
return ret, nil
|
||||
// {
|
||||
// "description": "Updates the master of a specific cluster.",
|
||||
// "description": "Updates the master for a specific cluster.",
|
||||
// "flatPath": "v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/master",
|
||||
// "httpMethod": "POST",
|
||||
// "id": "container.projects.zones.clusters.master",
|
||||
|
@ -9992,7 +10374,7 @@ type ProjectsZonesClustersMonitoringCall struct {
|
|||
header_ http.Header
|
||||
}
|
||||
|
||||
// Monitoring: Sets the monitoring service of a specific cluster.
|
||||
// Monitoring: Sets the monitoring service for a specific cluster.
|
||||
func (r *ProjectsZonesClustersService) Monitoring(projectId string, zone string, clusterId string, setmonitoringservicerequest *SetMonitoringServiceRequest) *ProjectsZonesClustersMonitoringCall {
|
||||
c := &ProjectsZonesClustersMonitoringCall{s: r.s, urlParams_: make(gensupport.URLParams)}
|
||||
c.projectId = projectId
|
||||
|
@ -10090,7 +10472,7 @@ func (c *ProjectsZonesClustersMonitoringCall) Do(opts ...googleapi.CallOption) (
|
|||
}
|
||||
return ret, nil
|
||||
// {
|
||||
// "description": "Sets the monitoring service of a specific cluster.",
|
||||
// "description": "Sets the monitoring service for a specific cluster.",
|
||||
// "flatPath": "v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/monitoring",
|
||||
// "httpMethod": "POST",
|
||||
// "id": "container.projects.zones.clusters.monitoring",
|
||||
|
@ -10456,7 +10838,7 @@ type ProjectsZonesClustersSetMasterAuthCall struct {
|
|||
|
||||
// SetMasterAuth: Used to set master auth materials. Currently supports
|
||||
// :-
|
||||
// Changing the admin password of a specific cluster.
|
||||
// Changing the admin password for a specific cluster.
|
||||
// This can be either via password generation or explicitly set.
|
||||
// Modify basic_auth.csv and reset the K8S API server.
|
||||
func (r *ProjectsZonesClustersService) SetMasterAuth(projectId string, zone string, clusterId string, setmasterauthrequest *SetMasterAuthRequest) *ProjectsZonesClustersSetMasterAuthCall {
|
||||
|
@ -10556,7 +10938,7 @@ func (c *ProjectsZonesClustersSetMasterAuthCall) Do(opts ...googleapi.CallOption
|
|||
}
|
||||
return ret, nil
|
||||
// {
|
||||
// "description": "Used to set master auth materials. Currently supports :-\nChanging the admin password of a specific cluster.\nThis can be either via password generation or explicitly set.\nModify basic_auth.csv and reset the K8S API server.",
|
||||
// "description": "Used to set master auth materials. Currently supports :-\nChanging the admin password for a specific cluster.\nThis can be either via password generation or explicitly set.\nModify basic_auth.csv and reset the K8S API server.",
|
||||
// "flatPath": "v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}:setMasterAuth",
|
||||
// "httpMethod": "POST",
|
||||
// "id": "container.projects.zones.clusters.setMasterAuth",
|
||||
|
@ -10920,7 +11302,7 @@ type ProjectsZonesClustersUpdateCall struct {
|
|||
header_ http.Header
|
||||
}
|
||||
|
||||
// Update: Updates the settings of a specific cluster.
|
||||
// Update: Updates the settings for a specific cluster.
|
||||
func (r *ProjectsZonesClustersService) Update(projectId string, zone string, clusterId string, updateclusterrequest *UpdateClusterRequest) *ProjectsZonesClustersUpdateCall {
|
||||
c := &ProjectsZonesClustersUpdateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
|
||||
c.projectId = projectId
|
||||
|
@ -11018,7 +11400,7 @@ func (c *ProjectsZonesClustersUpdateCall) Do(opts ...googleapi.CallOption) (*Ope
|
|||
}
|
||||
return ret, nil
|
||||
// {
|
||||
// "description": "Updates the settings of a specific cluster.",
|
||||
// "description": "Updates the settings for a specific cluster.",
|
||||
// "flatPath": "v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}",
|
||||
// "httpMethod": "PUT",
|
||||
// "id": "container.projects.zones.clusters.update",
|
||||
|
@ -12246,7 +12628,7 @@ type ProjectsZonesClustersNodePoolsSetSizeCall struct {
|
|||
header_ http.Header
|
||||
}
|
||||
|
||||
// SetSize: Sets the size of a specific node pool.
|
||||
// SetSize: Sets the size for a specific node pool.
|
||||
func (r *ProjectsZonesClustersNodePoolsService) SetSize(projectId string, zone string, clusterId string, nodePoolId string, setnodepoolsizerequest *SetNodePoolSizeRequest) *ProjectsZonesClustersNodePoolsSetSizeCall {
|
||||
c := &ProjectsZonesClustersNodePoolsSetSizeCall{s: r.s, urlParams_: make(gensupport.URLParams)}
|
||||
c.projectId = projectId
|
||||
|
@ -12346,7 +12728,7 @@ func (c *ProjectsZonesClustersNodePoolsSetSizeCall) Do(opts ...googleapi.CallOpt
|
|||
}
|
||||
return ret, nil
|
||||
// {
|
||||
// "description": "Sets the size of a specific node pool.",
|
||||
// "description": "Sets the size for a specific node pool.",
|
||||
// "flatPath": "v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/nodePools/{nodePoolId}/setSize",
|
||||
// "httpMethod": "POST",
|
||||
// "id": "container.projects.zones.clusters.nodePools.setSize",
|
||||
|
|
851
vendor/google.golang.org/api/content/v2/content-api.json
generated
vendored
851
vendor/google.golang.org/api/content/v2/content-api.json
generated
vendored
File diff suppressed because it is too large
Load diff
2273
vendor/google.golang.org/api/content/v2/content-gen.go
generated
vendored
2273
vendor/google.golang.org/api/content/v2/content-gen.go
generated
vendored
File diff suppressed because it is too large
Load diff
650
vendor/google.golang.org/api/content/v2sandbox/content-api.json
generated
vendored
650
vendor/google.golang.org/api/content/v2sandbox/content-api.json
generated
vendored
|
@ -15,7 +15,7 @@
|
|||
"description": "Manages product items, inventory, and Merchant Center accounts for Google Shopping.",
|
||||
"discoveryVersion": "v1",
|
||||
"documentationLink": "https://developers.google.com/shopping-content",
|
||||
"etag": "\"Zkyw9ACJZUvcYmlFaKGChzhmtnE/LI6UdBai7-kwhskTkR_vgy6vg2U\"",
|
||||
"etag": "\"Zkyw9ACJZUvcYmlFaKGChzhmtnE/pFaM3H-6MDZTscx-Zs9_WtetVj4\"",
|
||||
"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"
|
||||
|
@ -72,6 +72,218 @@
|
|||
},
|
||||
"protocol": "rest",
|
||||
"resources": {
|
||||
"orderinvoices": {
|
||||
"methods": {
|
||||
"createchargeinvoice": {
|
||||
"description": "Creates a charge invoice for a shipment group, and triggers a charge capture for non-facilitated payment orders.",
|
||||
"httpMethod": "POST",
|
||||
"id": "content.orderinvoices.createchargeinvoice",
|
||||
"parameterOrder": [
|
||||
"merchantId",
|
||||
"orderId"
|
||||
],
|
||||
"parameters": {
|
||||
"merchantId": {
|
||||
"description": "The ID of the account that manages the order. This cannot be a multi-client account.",
|
||||
"format": "uint64",
|
||||
"location": "path",
|
||||
"required": true,
|
||||
"type": "string"
|
||||
},
|
||||
"orderId": {
|
||||
"description": "The ID of the order.",
|
||||
"location": "path",
|
||||
"required": true,
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"path": "{merchantId}/orderinvoices/{orderId}/createChargeInvoice",
|
||||
"request": {
|
||||
"$ref": "OrderinvoicesCreateChargeInvoiceRequest"
|
||||
},
|
||||
"response": {
|
||||
"$ref": "OrderinvoicesCreateChargeInvoiceResponse"
|
||||
},
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/content"
|
||||
]
|
||||
},
|
||||
"createrefundinvoice": {
|
||||
"description": "Creates a refund invoice for one or more shipment groups, and triggers a refund for non-facilitated payment orders.",
|
||||
"httpMethod": "POST",
|
||||
"id": "content.orderinvoices.createrefundinvoice",
|
||||
"parameterOrder": [
|
||||
"merchantId",
|
||||
"orderId"
|
||||
],
|
||||
"parameters": {
|
||||
"merchantId": {
|
||||
"description": "The ID of the account that manages the order. This cannot be a multi-client account.",
|
||||
"format": "uint64",
|
||||
"location": "path",
|
||||
"required": true,
|
||||
"type": "string"
|
||||
},
|
||||
"orderId": {
|
||||
"description": "The ID of the order.",
|
||||
"location": "path",
|
||||
"required": true,
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"path": "{merchantId}/orderinvoices/{orderId}/createRefundInvoice",
|
||||
"request": {
|
||||
"$ref": "OrderinvoicesCreateRefundInvoiceRequest"
|
||||
},
|
||||
"response": {
|
||||
"$ref": "OrderinvoicesCreateRefundInvoiceResponse"
|
||||
},
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/content"
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"orderpayments": {
|
||||
"methods": {
|
||||
"notifyauthapproved": {
|
||||
"description": "Notify about successfully authorizing user's payment method for a given amount.",
|
||||
"httpMethod": "POST",
|
||||
"id": "content.orderpayments.notifyauthapproved",
|
||||
"parameterOrder": [
|
||||
"merchantId",
|
||||
"orderId"
|
||||
],
|
||||
"parameters": {
|
||||
"merchantId": {
|
||||
"description": "The ID of the account that manages the order. This cannot be a multi-client account.",
|
||||
"format": "uint64",
|
||||
"location": "path",
|
||||
"required": true,
|
||||
"type": "string"
|
||||
},
|
||||
"orderId": {
|
||||
"description": "The ID of the order for for which payment authorization is happening.",
|
||||
"location": "path",
|
||||
"required": true,
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"path": "{merchantId}/orderpayments/{orderId}/notifyAuthApproved",
|
||||
"request": {
|
||||
"$ref": "OrderpaymentsNotifyAuthApprovedRequest"
|
||||
},
|
||||
"response": {
|
||||
"$ref": "OrderpaymentsNotifyAuthApprovedResponse"
|
||||
},
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/content"
|
||||
]
|
||||
},
|
||||
"notifyauthdeclined": {
|
||||
"description": "Notify about failure to authorize user's payment method.",
|
||||
"httpMethod": "POST",
|
||||
"id": "content.orderpayments.notifyauthdeclined",
|
||||
"parameterOrder": [
|
||||
"merchantId",
|
||||
"orderId"
|
||||
],
|
||||
"parameters": {
|
||||
"merchantId": {
|
||||
"description": "The ID of the account that manages the order. This cannot be a multi-client account.",
|
||||
"format": "uint64",
|
||||
"location": "path",
|
||||
"required": true,
|
||||
"type": "string"
|
||||
},
|
||||
"orderId": {
|
||||
"description": "The ID of the order for which payment authorization was declined.",
|
||||
"location": "path",
|
||||
"required": true,
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"path": "{merchantId}/orderpayments/{orderId}/notifyAuthDeclined",
|
||||
"request": {
|
||||
"$ref": "OrderpaymentsNotifyAuthDeclinedRequest"
|
||||
},
|
||||
"response": {
|
||||
"$ref": "OrderpaymentsNotifyAuthDeclinedResponse"
|
||||
},
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/content"
|
||||
]
|
||||
},
|
||||
"notifycharge": {
|
||||
"description": "Notify about charge on user's selected payments method.",
|
||||
"httpMethod": "POST",
|
||||
"id": "content.orderpayments.notifycharge",
|
||||
"parameterOrder": [
|
||||
"merchantId",
|
||||
"orderId"
|
||||
],
|
||||
"parameters": {
|
||||
"merchantId": {
|
||||
"description": "The ID of the account that manages the order. This cannot be a multi-client account.",
|
||||
"format": "uint64",
|
||||
"location": "path",
|
||||
"required": true,
|
||||
"type": "string"
|
||||
},
|
||||
"orderId": {
|
||||
"description": "The ID of the order for which charge is happening.",
|
||||
"location": "path",
|
||||
"required": true,
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"path": "{merchantId}/orderpayments/{orderId}/notifyCharge",
|
||||
"request": {
|
||||
"$ref": "OrderpaymentsNotifyChargeRequest"
|
||||
},
|
||||
"response": {
|
||||
"$ref": "OrderpaymentsNotifyChargeResponse"
|
||||
},
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/content"
|
||||
]
|
||||
},
|
||||
"notifyrefund": {
|
||||
"description": "Notify about refund on user's selected payments method.",
|
||||
"httpMethod": "POST",
|
||||
"id": "content.orderpayments.notifyrefund",
|
||||
"parameterOrder": [
|
||||
"merchantId",
|
||||
"orderId"
|
||||
],
|
||||
"parameters": {
|
||||
"merchantId": {
|
||||
"description": "The ID of the account that manages the order. This cannot be a multi-client account.",
|
||||
"format": "uint64",
|
||||
"location": "path",
|
||||
"required": true,
|
||||
"type": "string"
|
||||
},
|
||||
"orderId": {
|
||||
"description": "The ID of the order for which charge is happening.",
|
||||
"location": "path",
|
||||
"required": true,
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"path": "{merchantId}/orderpayments/{orderId}/notifyRefund",
|
||||
"request": {
|
||||
"$ref": "OrderpaymentsNotifyRefundRequest"
|
||||
},
|
||||
"response": {
|
||||
"$ref": "OrderpaymentsNotifyRefundResponse"
|
||||
},
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/content"
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"orders": {
|
||||
"methods": {
|
||||
"acknowledge": {
|
||||
|
@ -792,9 +1004,23 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
"revision": "20180410",
|
||||
"revision": "20180608",
|
||||
"rootUrl": "https://www.googleapis.com/",
|
||||
"schemas": {
|
||||
"Amount": {
|
||||
"id": "Amount",
|
||||
"properties": {
|
||||
"pretax": {
|
||||
"$ref": "Price",
|
||||
"description": "Value before taxes."
|
||||
},
|
||||
"tax": {
|
||||
"$ref": "Price",
|
||||
"description": "Tax value."
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"Error": {
|
||||
"description": "An error returned by the API.",
|
||||
"id": "Error",
|
||||
|
@ -837,6 +1063,56 @@
|
|||
},
|
||||
"type": "object"
|
||||
},
|
||||
"InvoiceSummary": {
|
||||
"id": "InvoiceSummary",
|
||||
"properties": {
|
||||
"additionalChargeSummaries": {
|
||||
"description": "Summary of the total amounts of the additional charges.",
|
||||
"items": {
|
||||
"$ref": "InvoiceSummaryAdditionalChargeSummary"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"customerBalance": {
|
||||
"$ref": "Amount",
|
||||
"description": "Customer balance on this invoice. A positive amount means the customer is paying, a negative one means the customer is receiving money. Note that it must always be true that merchant_balance + customer_balance + google_balance = 0."
|
||||
},
|
||||
"googleBalance": {
|
||||
"$ref": "Amount",
|
||||
"description": "Google balance on this invoice. A positive amount means Google is paying, a negative one means Google is receiving money. Note that it must always be true that merchant_balance + customer_balance + google_balance = 0."
|
||||
},
|
||||
"merchantBalance": {
|
||||
"$ref": "Amount",
|
||||
"description": "Merchant balance on this invoice. A positive amount means the merchant is paying, a negative one means the merchant is receiving money. Note that it must always be true that merchant_balance + customer_balance + google_balance = 0."
|
||||
},
|
||||
"productTotal": {
|
||||
"$ref": "Amount",
|
||||
"description": "Total price for the product."
|
||||
},
|
||||
"promotionSummaries": {
|
||||
"description": "Summary for each promotion.",
|
||||
"items": {
|
||||
"$ref": "Promotion"
|
||||
},
|
||||
"type": "array"
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"InvoiceSummaryAdditionalChargeSummary": {
|
||||
"id": "InvoiceSummaryAdditionalChargeSummary",
|
||||
"properties": {
|
||||
"totalAmount": {
|
||||
"$ref": "Amount",
|
||||
"description": "Total additional charge for this type."
|
||||
},
|
||||
"type": {
|
||||
"description": "Type of the additional charge.",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"Order": {
|
||||
"id": "Order",
|
||||
"properties": {
|
||||
|
@ -997,7 +1273,7 @@
|
|||
"type": "integer"
|
||||
},
|
||||
"reason": {
|
||||
"description": "The reason for the cancellation. Orders that are cancelled with a noInventory reason will lead to the removal of the product from POG until you make an update to that product. This will not affect your Shopping ads.",
|
||||
"description": "The reason for the cancellation. Orders that are cancelled with a noInventory reason will lead to the removal of the product from Shopping Actions until you make an update to that product. This will not affect your Shopping ads.",
|
||||
"type": "string"
|
||||
},
|
||||
"reasonText": {
|
||||
|
@ -1551,6 +1827,232 @@
|
|||
},
|
||||
"type": "object"
|
||||
},
|
||||
"OrderinvoicesCreateChargeInvoiceRequest": {
|
||||
"id": "OrderinvoicesCreateChargeInvoiceRequest",
|
||||
"properties": {
|
||||
"invoiceId": {
|
||||
"description": "The ID of the invoice.",
|
||||
"type": "string"
|
||||
},
|
||||
"invoiceSummary": {
|
||||
"$ref": "InvoiceSummary",
|
||||
"description": "Invoice summary."
|
||||
},
|
||||
"lineItemInvoices": {
|
||||
"description": "Invoice details per line item.",
|
||||
"items": {
|
||||
"$ref": "ShipmentInvoiceLineItemInvoice"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"operationId": {
|
||||
"description": "The ID of the operation, unique across all operations for a given order.",
|
||||
"type": "string"
|
||||
},
|
||||
"shipmentGroupId": {
|
||||
"description": "ID of the shipment group.",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"OrderinvoicesCreateChargeInvoiceResponse": {
|
||||
"id": "OrderinvoicesCreateChargeInvoiceResponse",
|
||||
"properties": {
|
||||
"executionStatus": {
|
||||
"description": "The status of the execution.",
|
||||
"type": "string"
|
||||
},
|
||||
"kind": {
|
||||
"default": "content#orderinvoicesCreateChargeInvoiceResponse",
|
||||
"description": "Identifies what kind of resource this is. Value: the fixed string \"content#orderinvoicesCreateChargeInvoiceResponse\".",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"OrderinvoicesCreateRefundInvoiceRequest": {
|
||||
"id": "OrderinvoicesCreateRefundInvoiceRequest",
|
||||
"properties": {
|
||||
"invoiceId": {
|
||||
"description": "The ID of the invoice.",
|
||||
"type": "string"
|
||||
},
|
||||
"operationId": {
|
||||
"description": "The ID of the operation, unique across all operations for a given order.",
|
||||
"type": "string"
|
||||
},
|
||||
"refundOnlyOption": {
|
||||
"$ref": "OrderinvoicesCustomBatchRequestEntryCreateRefundInvoiceRefundOption",
|
||||
"description": "Option to create a refund-only invoice. Exactly one of refund_option and return_option must be provided."
|
||||
},
|
||||
"returnOption": {
|
||||
"$ref": "OrderinvoicesCustomBatchRequestEntryCreateRefundInvoiceReturnOption",
|
||||
"description": "Option to create an invoice for a refund and mark all items within the invoice as returned. Exactly one of refund_option and return_option must be provided."
|
||||
},
|
||||
"shipmentInvoices": {
|
||||
"description": "Invoice details for different shipment groups.",
|
||||
"items": {
|
||||
"$ref": "ShipmentInvoice"
|
||||
},
|
||||
"type": "array"
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"OrderinvoicesCreateRefundInvoiceResponse": {
|
||||
"id": "OrderinvoicesCreateRefundInvoiceResponse",
|
||||
"properties": {
|
||||
"executionStatus": {
|
||||
"description": "The status of the execution.",
|
||||
"type": "string"
|
||||
},
|
||||
"kind": {
|
||||
"default": "content#orderinvoicesCreateRefundInvoiceResponse",
|
||||
"description": "Identifies what kind of resource this is. Value: the fixed string \"content#orderinvoicesCreateRefundInvoiceResponse\".",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"OrderinvoicesCustomBatchRequestEntryCreateRefundInvoiceRefundOption": {
|
||||
"id": "OrderinvoicesCustomBatchRequestEntryCreateRefundInvoiceRefundOption",
|
||||
"properties": {
|
||||
"description": {
|
||||
"description": "Optional description of the refund reason.",
|
||||
"type": "string"
|
||||
},
|
||||
"reason": {
|
||||
"description": "Reason for the refund.",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"OrderinvoicesCustomBatchRequestEntryCreateRefundInvoiceReturnOption": {
|
||||
"id": "OrderinvoicesCustomBatchRequestEntryCreateRefundInvoiceReturnOption",
|
||||
"properties": {
|
||||
"description": {
|
||||
"description": "Optional description of the return reason.",
|
||||
"type": "string"
|
||||
},
|
||||
"reason": {
|
||||
"description": "Reason for the return.",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"OrderpaymentsNotifyAuthApprovedRequest": {
|
||||
"id": "OrderpaymentsNotifyAuthApprovedRequest",
|
||||
"properties": {
|
||||
"authAmountPretax": {
|
||||
"$ref": "Price"
|
||||
},
|
||||
"authAmountTax": {
|
||||
"$ref": "Price"
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"OrderpaymentsNotifyAuthApprovedResponse": {
|
||||
"id": "OrderpaymentsNotifyAuthApprovedResponse",
|
||||
"properties": {
|
||||
"executionStatus": {
|
||||
"description": "The status of the execution.",
|
||||
"type": "string"
|
||||
},
|
||||
"kind": {
|
||||
"default": "content#orderpaymentsNotifyAuthApprovedResponse",
|
||||
"description": "Identifies what kind of resource this is. Value: the fixed string \"content#orderpaymentsNotifyAuthApprovedResponse\".",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"OrderpaymentsNotifyAuthDeclinedRequest": {
|
||||
"id": "OrderpaymentsNotifyAuthDeclinedRequest",
|
||||
"properties": {
|
||||
"declineReason": {
|
||||
"description": "Reason why payment authorization was declined.",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"OrderpaymentsNotifyAuthDeclinedResponse": {
|
||||
"id": "OrderpaymentsNotifyAuthDeclinedResponse",
|
||||
"properties": {
|
||||
"executionStatus": {
|
||||
"description": "The status of the execution.",
|
||||
"type": "string"
|
||||
},
|
||||
"kind": {
|
||||
"default": "content#orderpaymentsNotifyAuthDeclinedResponse",
|
||||
"description": "Identifies what kind of resource this is. Value: the fixed string \"content#orderpaymentsNotifyAuthDeclinedResponse\".",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"OrderpaymentsNotifyChargeRequest": {
|
||||
"id": "OrderpaymentsNotifyChargeRequest",
|
||||
"properties": {
|
||||
"chargeState": {
|
||||
"description": "Whether charge was successful.",
|
||||
"type": "string"
|
||||
},
|
||||
"invoiceId": {
|
||||
"description": "Invoice ID from orderInvoice service that corresponds to the charge.",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"OrderpaymentsNotifyChargeResponse": {
|
||||
"id": "OrderpaymentsNotifyChargeResponse",
|
||||
"properties": {
|
||||
"executionStatus": {
|
||||
"description": "The status of the execution.",
|
||||
"type": "string"
|
||||
},
|
||||
"kind": {
|
||||
"default": "content#orderpaymentsNotifyChargeResponse",
|
||||
"description": "Identifies what kind of resource this is. Value: the fixed string \"content#orderpaymentsNotifyChargeResponse\".",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"OrderpaymentsNotifyRefundRequest": {
|
||||
"id": "OrderpaymentsNotifyRefundRequest",
|
||||
"properties": {
|
||||
"invoiceId": {
|
||||
"description": "Invoice ID from orderInvoice service that corresponds to the charge.",
|
||||
"type": "string"
|
||||
},
|
||||
"refundState": {
|
||||
"description": "Whether refund was successful.",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"OrderpaymentsNotifyRefundResponse": {
|
||||
"id": "OrderpaymentsNotifyRefundResponse",
|
||||
"properties": {
|
||||
"executionStatus": {
|
||||
"description": "The status of the execution.",
|
||||
"type": "string"
|
||||
},
|
||||
"kind": {
|
||||
"default": "content#orderpaymentsNotifyRefundResponse",
|
||||
"description": "Identifies what kind of resource this is. Value: the fixed string \"content#orderpaymentsNotifyRefundResponse\".",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"OrdersAcknowledgeRequest": {
|
||||
"id": "OrdersAcknowledgeRequest",
|
||||
"properties": {
|
||||
|
@ -2033,6 +2535,10 @@
|
|||
},
|
||||
"type": "array"
|
||||
},
|
||||
"shipmentGroupId": {
|
||||
"description": "ID of the shipment group. Required for orders that use the orderinvoices service.",
|
||||
"type": "string"
|
||||
},
|
||||
"shipmentId": {
|
||||
"description": "Deprecated. Please use shipmentInfo instead. The ID of the shipment.",
|
||||
"type": "string"
|
||||
|
@ -2517,6 +3023,10 @@
|
|||
"description": "The ID of the operation. Unique across all operations for a given order.",
|
||||
"type": "string"
|
||||
},
|
||||
"shipmentGroupId": {
|
||||
"description": "ID of the shipment group. Required for orders that use the orderinvoices service.",
|
||||
"type": "string"
|
||||
},
|
||||
"shipmentId": {
|
||||
"description": "Deprecated. Please use shipmentInfo instead. The ID of the shipment.",
|
||||
"type": "string"
|
||||
|
@ -2675,6 +3185,66 @@
|
|||
},
|
||||
"type": "object"
|
||||
},
|
||||
"Promotion": {
|
||||
"id": "Promotion",
|
||||
"properties": {
|
||||
"promotionAmount": {
|
||||
"$ref": "Amount",
|
||||
"description": "Amount of the promotion. The values here are the promotion applied to the unit price pretax and to the total of the tax amounts."
|
||||
},
|
||||
"promotionId": {
|
||||
"description": "ID of the promotion.",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"ShipmentInvoice": {
|
||||
"id": "ShipmentInvoice",
|
||||
"properties": {
|
||||
"invoiceSummary": {
|
||||
"$ref": "InvoiceSummary",
|
||||
"description": "Invoice summary."
|
||||
},
|
||||
"lineItemInvoices": {
|
||||
"description": "Invoice details per line item.",
|
||||
"items": {
|
||||
"$ref": "ShipmentInvoiceLineItemInvoice"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"shipmentGroupId": {
|
||||
"description": "ID of the shipment group.",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"ShipmentInvoiceLineItemInvoice": {
|
||||
"id": "ShipmentInvoiceLineItemInvoice",
|
||||
"properties": {
|
||||
"lineItemId": {
|
||||
"description": "ID of the line item. Either lineItemId or productId must be set.",
|
||||
"type": "string"
|
||||
},
|
||||
"productId": {
|
||||
"description": "ID of the product. This is the REST ID used in the products service. Either lineItemId or productId must be set.",
|
||||
"type": "string"
|
||||
},
|
||||
"shipmentUnitIds": {
|
||||
"description": "Unit IDs to define specific units within the line item.",
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"unitInvoice": {
|
||||
"$ref": "UnitInvoice",
|
||||
"description": "Invoice details for a single unit."
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"TestOrder": {
|
||||
"id": "TestOrder",
|
||||
"properties": {
|
||||
|
@ -2687,6 +3257,10 @@
|
|||
},
|
||||
"description": "The details of the customer who placed the order."
|
||||
},
|
||||
"enableOrderinvoices": {
|
||||
"description": "Whether the orderinvoices service should support this order.",
|
||||
"type": "boolean"
|
||||
},
|
||||
"kind": {
|
||||
"default": "content#testOrder",
|
||||
"description": "Identifies what kind of resource this is. Value: the fixed string \"content#testOrder\".",
|
||||
|
@ -2979,6 +3553,76 @@
|
|||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"UnitInvoice": {
|
||||
"id": "UnitInvoice",
|
||||
"properties": {
|
||||
"additionalCharges": {
|
||||
"description": "Additional charges for a unit, e.g. shipping costs.",
|
||||
"items": {
|
||||
"$ref": "UnitInvoiceAdditionalCharge"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"promotions": {
|
||||
"description": "Promotions applied to a unit.",
|
||||
"items": {
|
||||
"$ref": "Promotion"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"unitPricePretax": {
|
||||
"$ref": "Price",
|
||||
"description": "Price of the unit, before applying taxes."
|
||||
},
|
||||
"unitPriceTaxes": {
|
||||
"description": "Tax amounts to apply to the unit price.",
|
||||
"items": {
|
||||
"$ref": "UnitInvoiceTaxLine"
|
||||
},
|
||||
"type": "array"
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"UnitInvoiceAdditionalCharge": {
|
||||
"id": "UnitInvoiceAdditionalCharge",
|
||||
"properties": {
|
||||
"additionalChargeAmount": {
|
||||
"$ref": "Amount",
|
||||
"description": "Amount of the additional charge."
|
||||
},
|
||||
"additionalChargePromotions": {
|
||||
"description": "Promotions applied to the additional charge.",
|
||||
"items": {
|
||||
"$ref": "Promotion"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"type": {
|
||||
"description": "Type of the additional charge.",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"UnitInvoiceTaxLine": {
|
||||
"id": "UnitInvoiceTaxLine",
|
||||
"properties": {
|
||||
"taxAmount": {
|
||||
"$ref": "Price",
|
||||
"description": "Tax amount for the tax type."
|
||||
},
|
||||
"taxName": {
|
||||
"description": "Optional name of the tax type.",
|
||||
"type": "string"
|
||||
},
|
||||
"taxType": {
|
||||
"description": "Type of the tax.",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
}
|
||||
},
|
||||
"servicePath": "content/v2sandbox/",
|
||||
|
|
1721
vendor/google.golang.org/api/content/v2sandbox/content-gen.go
generated
vendored
1721
vendor/google.golang.org/api/content/v2sandbox/content-gen.go
generated
vendored
File diff suppressed because it is too large
Load diff
13
vendor/google.golang.org/api/dataproc/v1/dataproc-api.json
generated
vendored
13
vendor/google.golang.org/api/dataproc/v1/dataproc-api.json
generated
vendored
|
@ -60,11 +60,6 @@
|
|||
"location": "query",
|
||||
"type": "string"
|
||||
},
|
||||
"bearer_token": {
|
||||
"description": "OAuth bearer token.",
|
||||
"location": "query",
|
||||
"type": "string"
|
||||
},
|
||||
"callback": {
|
||||
"description": "JSONP",
|
||||
"location": "query",
|
||||
|
@ -85,12 +80,6 @@
|
|||
"location": "query",
|
||||
"type": "string"
|
||||
},
|
||||
"pp": {
|
||||
"default": "true",
|
||||
"description": "Pretty-print response.",
|
||||
"location": "query",
|
||||
"type": "boolean"
|
||||
},
|
||||
"prettyPrint": {
|
||||
"default": "true",
|
||||
"description": "Returns response with indentations and line breaks.",
|
||||
|
@ -783,7 +772,7 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
"revision": "20180502",
|
||||
"revision": "20180601",
|
||||
"rootUrl": "https://dataproc.googleapis.com/",
|
||||
"schemas": {
|
||||
"AcceleratorConfig": {
|
||||
|
|
111
vendor/google.golang.org/api/dataproc/v1beta2/dataproc-api.json
generated
vendored
111
vendor/google.golang.org/api/dataproc/v1beta2/dataproc-api.json
generated
vendored
|
@ -60,11 +60,6 @@
|
|||
"location": "query",
|
||||
"type": "string"
|
||||
},
|
||||
"bearer_token": {
|
||||
"description": "OAuth bearer token.",
|
||||
"location": "query",
|
||||
"type": "string"
|
||||
},
|
||||
"callback": {
|
||||
"description": "JSONP",
|
||||
"location": "query",
|
||||
|
@ -85,12 +80,6 @@
|
|||
"location": "query",
|
||||
"type": "string"
|
||||
},
|
||||
"pp": {
|
||||
"default": "true",
|
||||
"description": "Pretty-print response.",
|
||||
"location": "query",
|
||||
"type": "boolean"
|
||||
},
|
||||
"prettyPrint": {
|
||||
"default": "true",
|
||||
"description": "Returns response with indentations and line breaks.",
|
||||
|
@ -1630,7 +1619,7 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
"revision": "20180502",
|
||||
"revision": "20180601",
|
||||
"rootUrl": "https://dataproc.googleapis.com/",
|
||||
"schemas": {
|
||||
"AcceleratorConfig": {
|
||||
|
@ -1726,6 +1715,10 @@
|
|||
"description": "Optional. A Cloud Storage staging bucket used for sharing generated SSH keys and config. If you do not specify a staging bucket, Cloud Dataproc will determine an appropriate Cloud Storage location (US, ASIA, or EU) for your cluster's staging bucket according to the Google Compute Engine zone where your cluster is deployed, and then it will create and manage this project-level, per-location bucket for you.",
|
||||
"type": "string"
|
||||
},
|
||||
"encryptionConfig": {
|
||||
"$ref": "EncryptionConfig",
|
||||
"description": "Optional. Encryption settings for the cluster."
|
||||
},
|
||||
"gceClusterConfig": {
|
||||
"$ref": "GceClusterConfig",
|
||||
"description": "Required. The shared Compute Engine config settings for all instances in a cluster."
|
||||
|
@ -1998,6 +1991,17 @@
|
|||
"properties": {},
|
||||
"type": "object"
|
||||
},
|
||||
"EncryptionConfig": {
|
||||
"description": "Encryption settings for the cluster.",
|
||||
"id": "EncryptionConfig",
|
||||
"properties": {
|
||||
"gcePdKmsKeyName": {
|
||||
"description": "Optional. The Cloud KMS key name to use for PD disk encryption for all instances in the cluster.",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"GceClusterConfig": {
|
||||
"description": "Common config settings for resources of Compute Engine cluster instances, applicable to all instances in the cluster.",
|
||||
"id": "GceClusterConfig",
|
||||
|
@ -2204,6 +2208,13 @@
|
|||
"description": "Optional. A tag that prevents multiple concurrent workflow instances with the same tag from running. This mitigates risk of concurrent instances started due to retries.It is recommended to always set this value to a UUID (https://en.wikipedia.org/wiki/Universally_unique_identifier).The tag must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters.",
|
||||
"type": "string"
|
||||
},
|
||||
"parameters": {
|
||||
"additionalProperties": {
|
||||
"type": "string"
|
||||
},
|
||||
"description": "Optional. Map from parameter names to values that should be used for those parameters.",
|
||||
"type": "object"
|
||||
},
|
||||
"version": {
|
||||
"description": "Optional. The version of workflow template to instantiate. If specified, the workflow will be instantiated only if the current version of the workflow template has the supplied version.This option cannot be used to instantiate a previous version of workflow template.",
|
||||
"format": "int32",
|
||||
|
@ -2650,6 +2661,21 @@
|
|||
},
|
||||
"type": "object"
|
||||
},
|
||||
"ParameterValidation": {
|
||||
"description": "Configuration for parameter validation.",
|
||||
"id": "ParameterValidation",
|
||||
"properties": {
|
||||
"regex": {
|
||||
"$ref": "RegexValidation",
|
||||
"description": "Validation based on regular expressions."
|
||||
},
|
||||
"values": {
|
||||
"$ref": "ValueValidation",
|
||||
"description": "Validation based on a list of allowed values."
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"PigJob": {
|
||||
"description": "A Cloud Dataproc job for running Apache Pig (https://pig.apache.org/) queries on YARN.",
|
||||
"id": "PigJob",
|
||||
|
@ -2789,6 +2815,20 @@
|
|||
},
|
||||
"type": "object"
|
||||
},
|
||||
"RegexValidation": {
|
||||
"description": "Validation based on regular expressions.",
|
||||
"id": "RegexValidation",
|
||||
"properties": {
|
||||
"regexes": {
|
||||
"description": "Required. RE2 regular expressions used to validate the parameter's value. The provided value must match the regexes in its entirety, e.g. substring matches are not enough.",
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": "array"
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"SetIamPolicyRequest": {
|
||||
"description": "Request message for SetIamPolicy method.",
|
||||
"id": "SetIamPolicyRequest",
|
||||
|
@ -2954,6 +2994,32 @@
|
|||
},
|
||||
"type": "object"
|
||||
},
|
||||
"TemplateParameter": {
|
||||
"description": "A configurable parameter that replaces one or more fields in the template.",
|
||||
"id": "TemplateParameter",
|
||||
"properties": {
|
||||
"description": {
|
||||
"description": "Optional. User-friendly description of the parameter. Must not exceed 1024 characters.",
|
||||
"type": "string"
|
||||
},
|
||||
"fields": {
|
||||
"description": "Required. Paths to all fields that this parameter replaces. Each field may appear in at most one Parameter's fields list.Field path syntax:A field path is similar to a FieldMask. For example, a field path that references the zone field of the template's cluster selector would look like:placement.clusterSelector.zoneThe only differences between field paths and standard field masks are that:\nValues in maps can be referenced by key.Example: placement.clusterSelector.clusterLabels'key'\nJobs in the jobs list can be referenced by step id.Example: jobs'step-id'.hadoopJob.mainJarFileUri\nItems in repeated fields can be referenced by zero-based index.Example: jobs'step-id'.sparkJob.args0NOTE: Maps and repeated fields may not be parameterized in their entirety. Only individual map values and items in repeated fields may be referenced. For example, the following field paths are invalid: - placement.clusterSelector.clusterLabels - jobs'step-id'.sparkJob.argsParameterizable fields:Only certain types of fields may be parameterized, specifically: - Labels - File uris - Job properties - Job arguments - Script variables - Main class (in HadoopJob and SparkJob) - Zone (in ClusterSelector)Examples of parameterizable fields:Labels:labels'key' placement.managedCluster.labels'key' placement.clusterSelector.clusterLabels'key' jobs'step-id'.labels'key'File uris:jobs'step-id'.hadoopJob.mainJarFileUri jobs'step-id'.hiveJob.queryFileUri jobs'step-id'.pySparkJob.mainPythonFileUri jobs'step-id'.hadoopJob.jarFileUris0 jobs'step-id'.hadoopJob.archiveUris0 jobs'step-id'.hadoopJob.fileUris0 jobs'step-id'.pySparkJob.pythonFileUris0Other:jobs'step-id'.hadoopJob.properties'key' jobs'step-id'.hadoopJob.args0 jobs'step-id'.hiveJob.scriptVariables'key' jobs'step-id'.hadoopJob.mainJarFileUri placement.clusterSelector.zone",
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"name": {
|
||||
"description": "Required. User-friendly parameter name. This name is used as a key when providing a value for this parameter when the template is instantiated. Must contain only capital letters (A-Z), numbers (0-9), and underscores (_), and must not start with a number. The maximum length is 40 characters.",
|
||||
"type": "string"
|
||||
},
|
||||
"validation": {
|
||||
"$ref": "ParameterValidation",
|
||||
"description": "Optional. Validation rules to be applied to this parameter's value."
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"TestIamPermissionsRequest": {
|
||||
"description": "Request message for TestIamPermissions method.",
|
||||
"id": "TestIamPermissionsRequest",
|
||||
|
@ -2982,6 +3048,20 @@
|
|||
},
|
||||
"type": "object"
|
||||
},
|
||||
"ValueValidation": {
|
||||
"description": "Validation based on a list of allowed values.",
|
||||
"id": "ValueValidation",
|
||||
"properties": {
|
||||
"values": {
|
||||
"description": "Required. List of allowed values for this parameter.",
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": "array"
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"WorkflowGraph": {
|
||||
"description": "The workflow graph.",
|
||||
"id": "WorkflowGraph",
|
||||
|
@ -3128,6 +3208,13 @@
|
|||
"description": "Output only. The \"resource name\" of the template, as described in https://cloud.google.com/apis/design/resource_names of the form projects/{project_id}/regions/{region}/workflowTemplates/{template_id}",
|
||||
"type": "string"
|
||||
},
|
||||
"parameters": {
|
||||
"description": "Optional. Template parameters whose values are substituted into the template. Values for these parameters must be provided when the template is instantiated.",
|
||||
"items": {
|
||||
"$ref": "TemplateParameter"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"placement": {
|
||||
"$ref": "WorkflowTemplatePlacement",
|
||||
"description": "Required. WorkflowTemplate scheduling information."
|
||||
|
|
209
vendor/google.golang.org/api/dataproc/v1beta2/dataproc-gen.go
generated
vendored
209
vendor/google.golang.org/api/dataproc/v1beta2/dataproc-gen.go
generated
vendored
|
@ -336,6 +336,9 @@ type ClusterConfig struct {
|
|||
// per-location bucket for you.
|
||||
ConfigBucket string `json:"configBucket,omitempty"`
|
||||
|
||||
// EncryptionConfig: Optional. Encryption settings for the cluster.
|
||||
EncryptionConfig *EncryptionConfig `json:"encryptionConfig,omitempty"`
|
||||
|
||||
// GceClusterConfig: Required. The shared Compute Engine config settings
|
||||
// for all instances in a cluster.
|
||||
GceClusterConfig *GceClusterConfig `json:"gceClusterConfig,omitempty"`
|
||||
|
@ -749,6 +752,36 @@ type Empty struct {
|
|||
googleapi.ServerResponse `json:"-"`
|
||||
}
|
||||
|
||||
// EncryptionConfig: Encryption settings for the cluster.
|
||||
type EncryptionConfig struct {
|
||||
// GcePdKmsKeyName: Optional. The Cloud KMS key name to use for PD disk
|
||||
// encryption for all instances in the cluster.
|
||||
GcePdKmsKeyName string `json:"gcePdKmsKeyName,omitempty"`
|
||||
|
||||
// ForceSendFields is a list of field names (e.g. "GcePdKmsKeyName") 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. "GcePdKmsKeyName") 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 *EncryptionConfig) MarshalJSON() ([]byte, error) {
|
||||
type NoMethod EncryptionConfig
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
// GceClusterConfig: Common config settings for resources of Compute
|
||||
// Engine cluster instances, applicable to all instances in the cluster.
|
||||
type GceClusterConfig struct {
|
||||
|
@ -1074,6 +1107,10 @@ type InstantiateWorkflowTemplateRequest struct {
|
|||
// and hyphens (-). The maximum length is 40 characters.
|
||||
InstanceId string `json:"instanceId,omitempty"`
|
||||
|
||||
// Parameters: Optional. Map from parameter names to values that should
|
||||
// be used for those parameters.
|
||||
Parameters map[string]string `json:"parameters,omitempty"`
|
||||
|
||||
// Version: Optional. The version of workflow template to instantiate.
|
||||
// If specified, the workflow will be instantiated only if the current
|
||||
// version of the workflow template has the supplied version.This option
|
||||
|
@ -1837,6 +1874,37 @@ func (s *OrderedJob) MarshalJSON() ([]byte, error) {
|
|||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
// ParameterValidation: Configuration for parameter validation.
|
||||
type ParameterValidation struct {
|
||||
// Regex: Validation based on regular expressions.
|
||||
Regex *RegexValidation `json:"regex,omitempty"`
|
||||
|
||||
// Values: Validation based on a list of allowed values.
|
||||
Values *ValueValidation `json:"values,omitempty"`
|
||||
|
||||
// ForceSendFields is a list of field names (e.g. "Regex") 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. "Regex") 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 *ParameterValidation) MarshalJSON() ([]byte, error) {
|
||||
type NoMethod ParameterValidation
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
// PigJob: A Cloud Dataproc job for running Apache Pig
|
||||
// (https://pig.apache.org/) queries on YARN.
|
||||
type PigJob struct {
|
||||
|
@ -2081,6 +2149,36 @@ func (s *QueryList) MarshalJSON() ([]byte, error) {
|
|||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
// RegexValidation: Validation based on regular expressions.
|
||||
type RegexValidation struct {
|
||||
// Regexes: Required. RE2 regular expressions used to validate the
|
||||
// parameter's value. The provided value must match the regexes in its
|
||||
// entirety, e.g. substring matches are not enough.
|
||||
Regexes []string `json:"regexes,omitempty"`
|
||||
|
||||
// ForceSendFields is a list of field names (e.g. "Regexes") 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. "Regexes") 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 *RegexValidation) MarshalJSON() ([]byte, error) {
|
||||
type NoMethod RegexValidation
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
// SetIamPolicyRequest: Request message for SetIamPolicy method.
|
||||
type SetIamPolicyRequest struct {
|
||||
// Policy: REQUIRED: The complete policy to be applied to the resource.
|
||||
|
@ -2384,6 +2482,84 @@ func (s *SubmitJobRequest) MarshalJSON() ([]byte, error) {
|
|||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
// TemplateParameter: A configurable parameter that replaces one or more
|
||||
// fields in the template.
|
||||
type TemplateParameter struct {
|
||||
// Description: Optional. User-friendly description of the parameter.
|
||||
// Must not exceed 1024 characters.
|
||||
Description string `json:"description,omitempty"`
|
||||
|
||||
// Fields: Required. Paths to all fields that this parameter replaces.
|
||||
// Each field may appear in at most one Parameter's fields list.Field
|
||||
// path syntax:A field path is similar to a FieldMask. For example, a
|
||||
// field path that references the zone field of the template's cluster
|
||||
// selector would look like:placement.clusterSelector.zoneThe only
|
||||
// differences between field paths and standard field masks are
|
||||
// that:
|
||||
// Values in maps can be referenced by key.Example:
|
||||
// placement.clusterSelector.clusterLabels'key'
|
||||
// Jobs in the jobs list can be referenced by step id.Example:
|
||||
// jobs'step-id'.hadoopJob.mainJarFileUri
|
||||
// Items in repeated fields can be referenced by zero-based
|
||||
// index.Example: jobs'step-id'.sparkJob.args0NOTE: Maps and repeated
|
||||
// fields may not be parameterized in their entirety. Only individual
|
||||
// map values and items in repeated fields may be referenced. For
|
||||
// example, the following field paths are invalid: -
|
||||
// placement.clusterSelector.clusterLabels -
|
||||
// jobs'step-id'.sparkJob.argsParameterizable fields:Only certain types
|
||||
// of fields may be parameterized, specifically: - Labels - File uris -
|
||||
// Job properties - Job arguments - Script variables - Main class (in
|
||||
// HadoopJob and SparkJob) - Zone (in ClusterSelector)Examples of
|
||||
// parameterizable fields:Labels:labels'key'
|
||||
// placement.managedCluster.labels'key'
|
||||
// placement.clusterSelector.clusterLabels'key'
|
||||
// jobs'step-id'.labels'key'File
|
||||
// uris:jobs'step-id'.hadoopJob.mainJarFileUri
|
||||
// jobs'step-id'.hiveJob.queryFileUri
|
||||
// jobs'step-id'.pySparkJob.mainPythonFileUri
|
||||
// jobs'step-id'.hadoopJob.jarFileUris0
|
||||
// jobs'step-id'.hadoopJob.archiveUris0
|
||||
// jobs'step-id'.hadoopJob.fileUris0
|
||||
// jobs'step-id'.pySparkJob.pythonFileUris0Other:jobs'step-id'.hadoopJob.
|
||||
// properties'key' jobs'step-id'.hadoopJob.args0
|
||||
// jobs'step-id'.hiveJob.scriptVariables'key'
|
||||
// jobs'step-id'.hadoopJob.mainJarFileUri placement.clusterSelector.zone
|
||||
Fields []string `json:"fields,omitempty"`
|
||||
|
||||
// Name: Required. User-friendly parameter name. This name is used as a
|
||||
// key when providing a value for this parameter when the template is
|
||||
// instantiated. Must contain only capital letters (A-Z), numbers (0-9),
|
||||
// and underscores (_), and must not start with a number. The maximum
|
||||
// length is 40 characters.
|
||||
Name string `json:"name,omitempty"`
|
||||
|
||||
// Validation: Optional. Validation rules to be applied to this
|
||||
// parameter's value.
|
||||
Validation *ParameterValidation `json:"validation,omitempty"`
|
||||
|
||||
// ForceSendFields is a list of field names (e.g. "Description") 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. "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
|
||||
// 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 *TemplateParameter) MarshalJSON() ([]byte, error) {
|
||||
type NoMethod TemplateParameter
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
// TestIamPermissionsRequest: Request message for TestIamPermissions
|
||||
// method.
|
||||
type TestIamPermissionsRequest struct {
|
||||
|
@ -2450,6 +2626,34 @@ func (s *TestIamPermissionsResponse) MarshalJSON() ([]byte, error) {
|
|||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
// ValueValidation: Validation based on a list of allowed values.
|
||||
type ValueValidation struct {
|
||||
// Values: Required. List of allowed values for this parameter.
|
||||
Values []string `json:"values,omitempty"`
|
||||
|
||||
// ForceSendFields is a list of field names (e.g. "Values") 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. "Values") 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 *ValueValidation) MarshalJSON() ([]byte, error) {
|
||||
type NoMethod ValueValidation
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
// WorkflowGraph: The workflow graph.
|
||||
type WorkflowGraph struct {
|
||||
// Nodes: Output only. The workflow nodes.
|
||||
|
@ -2614,6 +2818,11 @@ type WorkflowTemplate struct {
|
|||
// projects/{project_id}/regions/{region}/workflowTemplates/{template_id}
|
||||
Name string `json:"name,omitempty"`
|
||||
|
||||
// Parameters: Optional. Template parameters whose values are
|
||||
// substituted into the template. Values for these parameters must be
|
||||
// provided when the template is instantiated.
|
||||
Parameters []*TemplateParameter `json:"parameters,omitempty"`
|
||||
|
||||
// Placement: Required. WorkflowTemplate scheduling information.
|
||||
Placement *WorkflowTemplatePlacement `json:"placement,omitempty"`
|
||||
|
||||
|
|
13
vendor/google.golang.org/api/datastore/v1/datastore-api.json
generated
vendored
13
vendor/google.golang.org/api/datastore/v1/datastore-api.json
generated
vendored
|
@ -61,11 +61,6 @@
|
|||
"location": "query",
|
||||
"type": "string"
|
||||
},
|
||||
"bearer_token": {
|
||||
"description": "OAuth bearer token.",
|
||||
"location": "query",
|
||||
"type": "string"
|
||||
},
|
||||
"callback": {
|
||||
"description": "JSONP",
|
||||
"location": "query",
|
||||
|
@ -86,12 +81,6 @@
|
|||
"location": "query",
|
||||
"type": "string"
|
||||
},
|
||||
"pp": {
|
||||
"default": "true",
|
||||
"description": "Pretty-print response.",
|
||||
"location": "query",
|
||||
"type": "boolean"
|
||||
},
|
||||
"prettyPrint": {
|
||||
"default": "true",
|
||||
"description": "Returns response with indentations and line breaks.",
|
||||
|
@ -499,7 +488,7 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
"revision": "20180417",
|
||||
"revision": "20180605",
|
||||
"rootUrl": "https://datastore.googleapis.com/",
|
||||
"schemas": {
|
||||
"AllocateIdsRequest": {
|
||||
|
|
13
vendor/google.golang.org/api/datastore/v1beta1/datastore-api.json
generated
vendored
13
vendor/google.golang.org/api/datastore/v1beta1/datastore-api.json
generated
vendored
|
@ -61,11 +61,6 @@
|
|||
"location": "query",
|
||||
"type": "string"
|
||||
},
|
||||
"bearer_token": {
|
||||
"description": "OAuth bearer token.",
|
||||
"location": "query",
|
||||
"type": "string"
|
||||
},
|
||||
"callback": {
|
||||
"description": "JSONP",
|
||||
"location": "query",
|
||||
|
@ -86,12 +81,6 @@
|
|||
"location": "query",
|
||||
"type": "string"
|
||||
},
|
||||
"pp": {
|
||||
"default": "true",
|
||||
"description": "Pretty-print response.",
|
||||
"location": "query",
|
||||
"type": "boolean"
|
||||
},
|
||||
"prettyPrint": {
|
||||
"default": "true",
|
||||
"description": "Returns response with indentations and line breaks.",
|
||||
|
@ -177,7 +166,7 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
"revision": "20180417",
|
||||
"revision": "20180605",
|
||||
"rootUrl": "https://datastore.googleapis.com/",
|
||||
"schemas": {
|
||||
"GoogleDatastoreAdminV1CommonMetadata": {
|
||||
|
|
13
vendor/google.golang.org/api/datastore/v1beta3/datastore-api.json
generated
vendored
13
vendor/google.golang.org/api/datastore/v1beta3/datastore-api.json
generated
vendored
|
@ -61,11 +61,6 @@
|
|||
"location": "query",
|
||||
"type": "string"
|
||||
},
|
||||
"bearer_token": {
|
||||
"description": "OAuth bearer token.",
|
||||
"location": "query",
|
||||
"type": "string"
|
||||
},
|
||||
"callback": {
|
||||
"description": "JSONP",
|
||||
"location": "query",
|
||||
|
@ -86,12 +81,6 @@
|
|||
"location": "query",
|
||||
"type": "string"
|
||||
},
|
||||
"pp": {
|
||||
"default": "true",
|
||||
"description": "Pretty-print response.",
|
||||
"location": "query",
|
||||
"type": "boolean"
|
||||
},
|
||||
"prettyPrint": {
|
||||
"default": "true",
|
||||
"description": "Returns response with indentations and line breaks.",
|
||||
|
@ -317,7 +306,7 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
"revision": "20180417",
|
||||
"revision": "20180605",
|
||||
"rootUrl": "https://datastore.googleapis.com/",
|
||||
"schemas": {
|
||||
"AllocateIdsRequest": {
|
||||
|
|
36
vendor/google.golang.org/api/deploymentmanager/v0.alpha/deploymentmanager-api.json
generated
vendored
36
vendor/google.golang.org/api/deploymentmanager/v0.alpha/deploymentmanager-api.json
generated
vendored
|
@ -24,7 +24,7 @@
|
|||
"description": "The Deployment Manager API allows users to declaratively configure, deploy and run complex solutions on the Google Cloud Platform.",
|
||||
"discoveryVersion": "v1",
|
||||
"documentationLink": "https://cloud.google.com/deployment-manager/",
|
||||
"etag": "\"Zkyw9ACJZUvcYmlFaKGChzhmtnE/Kwe2DoH7rGZUK2tfaHT_blT-rl4\"",
|
||||
"etag": "\"Zkyw9ACJZUvcYmlFaKGChzhmtnE/tdbJPMazx6MrJLWgJ0381Mo2V1Y\"",
|
||||
"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"
|
||||
|
@ -652,7 +652,7 @@
|
|||
},
|
||||
"path": "{project}/global/deployments/{resource}/setIamPolicy",
|
||||
"request": {
|
||||
"$ref": "Policy"
|
||||
"$ref": "GlobalSetPolicyRequest"
|
||||
},
|
||||
"response": {
|
||||
"$ref": "Policy"
|
||||
|
@ -1193,7 +1193,7 @@
|
|||
"type": "string"
|
||||
},
|
||||
"type": {
|
||||
"description": "The name of the type provider for this request.",
|
||||
"description": "The name of the type provider type for this request.",
|
||||
"location": "path",
|
||||
"required": true,
|
||||
"type": "string"
|
||||
|
@ -1650,7 +1650,7 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
"revision": "20180323",
|
||||
"revision": "20180609",
|
||||
"rootUrl": "https://www.googleapis.com/",
|
||||
"schemas": {
|
||||
"AsyncOptions": {
|
||||
|
@ -1744,7 +1744,7 @@
|
|||
"description": "The condition that is associated with this binding. NOTE: an unsatisfied condition will not allow user access via current binding. Different bindings, including their conditions, are examined independently. This field is only visible as GOOGLE_INTERNAL or CONDITION_TRUSTED_TESTER."
|
||||
},
|
||||
"members": {
|
||||
"description": "Specifies the identities requesting access for a Cloud Platform resource. `members` can have the following values:\n\n* `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account.\n\n* `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account.\n\n* `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@gmail.com` or `joe@example.com`.\n\n\n\n* `serviceAccount:{emailid}`: An email address that represents a service account. For example, `my-other-app@appspot.gserviceaccount.com`.\n\n* `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`.\n\n\n\n* `domain:{domain}`: A Google Apps domain name that represents all the users of that domain. For example, `google.com` or `example.com`.",
|
||||
"description": "Specifies the identities requesting access for a Cloud Platform resource. `members` can have the following values:\n\n* `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account.\n\n* `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account.\n\n* `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@gmail.com` .\n\n\n\n* `serviceAccount:{emailid}`: An email address that represents a service account. For example, `my-other-app@appspot.gserviceaccount.com`.\n\n* `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`.\n\n\n\n* `domain:{domain}`: A Google Apps domain name that represents all the users of that domain. For example, `google.com` or `example.com`.",
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
|
@ -2151,6 +2151,28 @@
|
|||
},
|
||||
"type": "object"
|
||||
},
|
||||
"GlobalSetPolicyRequest": {
|
||||
"id": "GlobalSetPolicyRequest",
|
||||
"properties": {
|
||||
"bindings": {
|
||||
"description": "Flatten Policy to create a backwacd compatible wire-format. Deprecated. Use 'policy' to specify bindings.",
|
||||
"items": {
|
||||
"$ref": "Binding"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"etag": {
|
||||
"description": "Flatten Policy to create a backward compatible wire-format. Deprecated. Use 'policy' to specify the etag.",
|
||||
"format": "byte",
|
||||
"type": "string"
|
||||
},
|
||||
"policy": {
|
||||
"$ref": "Policy",
|
||||
"description": "REQUIRED: The complete policy to be applied to the 'resource'. The size of the policy is limited to a few 10s of KB. An empty policy is in general a valid policy but certain services (like Projects) might reject them."
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"ImportFile": {
|
||||
"description": "",
|
||||
"id": "ImportFile",
|
||||
|
@ -2342,7 +2364,7 @@
|
|||
"id": "Operation",
|
||||
"properties": {
|
||||
"clientOperationId": {
|
||||
"description": "[Output Only] Reserved for future use.",
|
||||
"description": "[Output Only] The value of `requestId` if you provided it in the request. Not present otherwise.",
|
||||
"type": "string"
|
||||
},
|
||||
"creationTimestamp": {
|
||||
|
@ -2542,7 +2564,7 @@
|
|||
"type": "object"
|
||||
},
|
||||
"Policy": {
|
||||
"description": "Defines an Identity and Access Management (IAM) policy. It is used to specify access control policies for Cloud Platform resources.\n\n\n\nA `Policy` consists of a list of `bindings`. A `Binding` binds a list of `members` to a `role`, where the members can be user accounts, Google groups, Google domains, and service accounts. A `role` is a named list of permissions defined by IAM.\n\n**Example**\n\n{ \"bindings\": [ { \"role\": \"roles/owner\", \"members\": [ \"user:mike@example.com\", \"group:admins@example.com\", \"domain:google.com\", \"serviceAccount:my-other-app@appspot.gserviceaccount.com\", ] }, { \"role\": \"roles/viewer\", \"members\": [\"user:sean@example.com\"] } ] }\n\nFor a description of IAM and its features, see the [IAM developer's guide](https://cloud.google.com/iam/docs).",
|
||||
"description": "Defines an Identity and Access Management (IAM) policy. It is used to specify access control policies for Cloud Platform resources.\n\n\n\nA `Policy` consists of a list of `bindings`. A `binding` binds a list of `members` to a `role`, where the members can be user accounts, Google groups, Google domains, and service accounts. A `role` is a named list of permissions defined by IAM.\n\n**JSON Example**\n\n{ \"bindings\": [ { \"role\": \"roles/owner\", \"members\": [ \"user:mike@example.com\", \"group:admins@example.com\", \"domain:google.com\", \"serviceAccount:my-other-app@appspot.gserviceaccount.com\" ] }, { \"role\": \"roles/viewer\", \"members\": [\"user:sean@example.com\"] } ] }\n\n**YAML Example**\n\nbindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-other-app@appspot.gserviceaccount.com role: roles/owner - members: - user:sean@example.com role: roles/viewer\n\n\n\nFor a description of IAM and its features, see the [IAM developer's guide](https://cloud.google.com/iam/docs).",
|
||||
"id": "Policy",
|
||||
"properties": {
|
||||
"auditConfigs": {
|
||||
|
|
84
vendor/google.golang.org/api/deploymentmanager/v0.alpha/deploymentmanager-gen.go
generated
vendored
84
vendor/google.golang.org/api/deploymentmanager/v0.alpha/deploymentmanager-gen.go
generated
vendored
|
@ -381,8 +381,7 @@ type Binding struct {
|
|||
// account.
|
||||
//
|
||||
// * `user:{emailid}`: An email address that represents a specific
|
||||
// Google account. For example, `alice@gmail.com` or
|
||||
// `joe@example.com`.
|
||||
// Google account. For example, `alice@gmail.com` .
|
||||
//
|
||||
//
|
||||
//
|
||||
|
@ -1158,6 +1157,44 @@ func (s *Expr) MarshalJSON() ([]byte, error) {
|
|||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
type GlobalSetPolicyRequest struct {
|
||||
// Bindings: Flatten Policy to create a backwacd compatible wire-format.
|
||||
// Deprecated. Use 'policy' to specify bindings.
|
||||
Bindings []*Binding `json:"bindings,omitempty"`
|
||||
|
||||
// Etag: Flatten Policy to create a backward compatible wire-format.
|
||||
// Deprecated. Use 'policy' to specify the etag.
|
||||
Etag string `json:"etag,omitempty"`
|
||||
|
||||
// Policy: REQUIRED: The complete policy to be applied to the
|
||||
// 'resource'. The size of the policy is limited to a few 10s of KB. An
|
||||
// empty policy is in general a valid policy but certain services (like
|
||||
// Projects) might reject them.
|
||||
Policy *Policy `json:"policy,omitempty"`
|
||||
|
||||
// ForceSendFields is a list of field names (e.g. "Bindings") 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. "Bindings") 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 *GlobalSetPolicyRequest) MarshalJSON() ([]byte, error) {
|
||||
type NoMethod GlobalSetPolicyRequest
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
type ImportFile struct {
|
||||
// Content: The contents of the file.
|
||||
Content string `json:"content,omitempty"`
|
||||
|
@ -1525,7 +1562,8 @@ func (s *MethodMap) MarshalJSON() ([]byte, error) {
|
|||
// (== resource_for beta.regionOperations ==) (== resource_for
|
||||
// v1.zoneOperations ==) (== resource_for beta.zoneOperations ==)
|
||||
type Operation struct {
|
||||
// ClientOperationId: [Output Only] Reserved for future use.
|
||||
// ClientOperationId: [Output Only] The value of `requestId` if you
|
||||
// provided it in the request. Not present otherwise.
|
||||
ClientOperationId string `json:"clientOperationId,omitempty"`
|
||||
|
||||
// CreationTimestamp: [Deprecated] This field is deprecated.
|
||||
|
@ -1874,20 +1912,30 @@ func (s *Options) MarshalJSON() ([]byte, error) {
|
|||
//
|
||||
//
|
||||
//
|
||||
// A `Policy` consists of a list of `bindings`. A `Binding` binds a list
|
||||
// A `Policy` consists of a list of `bindings`. A `binding` binds a list
|
||||
// of `members` to a `role`, where the members can be user accounts,
|
||||
// Google groups, Google domains, and service accounts. A `role` is a
|
||||
// named list of permissions defined by IAM.
|
||||
//
|
||||
// **Example**
|
||||
// **JSON Example**
|
||||
//
|
||||
// { "bindings": [ { "role": "roles/owner", "members": [
|
||||
// "user:mike@example.com", "group:admins@example.com",
|
||||
// "domain:google.com",
|
||||
// "serviceAccount:my-other-app@appspot.gserviceaccount.com", ] }, {
|
||||
// "serviceAccount:my-other-app@appspot.gserviceaccount.com" ] }, {
|
||||
// "role": "roles/viewer", "members": ["user:sean@example.com"] } ]
|
||||
// }
|
||||
//
|
||||
// **YAML Example**
|
||||
//
|
||||
// bindings: - members: - user:mike@example.com -
|
||||
// group:admins@example.com - domain:google.com -
|
||||
// serviceAccount:my-other-app@appspot.gserviceaccount.com role:
|
||||
// roles/owner - members: - user:sean@example.com role:
|
||||
// roles/viewer
|
||||
//
|
||||
//
|
||||
//
|
||||
// For a description of IAM and its features, see the [IAM developer's
|
||||
// guide](https://cloud.google.com/iam/docs).
|
||||
type Policy struct {
|
||||
|
@ -5305,22 +5353,22 @@ func (c *DeploymentsPatchCall) Do(opts ...googleapi.CallOption) (*Operation, err
|
|||
// method id "deploymentmanager.deployments.setIamPolicy":
|
||||
|
||||
type DeploymentsSetIamPolicyCall struct {
|
||||
s *Service
|
||||
project string
|
||||
resource string
|
||||
policy *Policy
|
||||
urlParams_ gensupport.URLParams
|
||||
ctx_ context.Context
|
||||
header_ http.Header
|
||||
s *Service
|
||||
project string
|
||||
resource string
|
||||
globalsetpolicyrequest *GlobalSetPolicyRequest
|
||||
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 *DeploymentsService) SetIamPolicy(project string, resource string, policy *Policy) *DeploymentsSetIamPolicyCall {
|
||||
func (r *DeploymentsService) SetIamPolicy(project string, resource string, globalsetpolicyrequest *GlobalSetPolicyRequest) *DeploymentsSetIamPolicyCall {
|
||||
c := &DeploymentsSetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
|
||||
c.project = project
|
||||
c.resource = resource
|
||||
c.policy = policy
|
||||
c.globalsetpolicyrequest = globalsetpolicyrequest
|
||||
return c
|
||||
}
|
||||
|
||||
|
@ -5356,7 +5404,7 @@ func (c *DeploymentsSetIamPolicyCall) doRequest(alt string) (*http.Response, err
|
|||
}
|
||||
reqHeaders.Set("User-Agent", c.s.userAgent())
|
||||
var body io.Reader = nil
|
||||
body, err := googleapi.WithoutDataWrapper.JSONReader(c.policy)
|
||||
body, err := googleapi.WithoutDataWrapper.JSONReader(c.globalsetpolicyrequest)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
@ -5436,7 +5484,7 @@ func (c *DeploymentsSetIamPolicyCall) Do(opts ...googleapi.CallOption) (*Policy,
|
|||
// },
|
||||
// "path": "{project}/global/deployments/{resource}/setIamPolicy",
|
||||
// "request": {
|
||||
// "$ref": "Policy"
|
||||
// "$ref": "GlobalSetPolicyRequest"
|
||||
// },
|
||||
// "response": {
|
||||
// "$ref": "Policy"
|
||||
|
@ -7631,7 +7679,7 @@ func (c *TypeProvidersGetTypeCall) Do(opts ...googleapi.CallOption) (*TypeInfo,
|
|||
// "type": "string"
|
||||
// },
|
||||
// "type": {
|
||||
// "description": "The name of the type provider for this request.",
|
||||
// "description": "The name of the type provider type for this request.",
|
||||
// "location": "path",
|
||||
// "required": true,
|
||||
// "type": "string"
|
||||
|
|
34
vendor/google.golang.org/api/deploymentmanager/v2/deploymentmanager-api.json
generated
vendored
34
vendor/google.golang.org/api/deploymentmanager/v2/deploymentmanager-api.json
generated
vendored
|
@ -24,7 +24,7 @@
|
|||
"description": "Declares, configures, and deploys complex solutions on Google Cloud Platform.",
|
||||
"discoveryVersion": "v1",
|
||||
"documentationLink": "https://cloud.google.com/deployment-manager/",
|
||||
"etag": "\"Zkyw9ACJZUvcYmlFaKGChzhmtnE/AwjFnEseEkjUP7nl3FbV-mrXtTg\"",
|
||||
"etag": "\"Zkyw9ACJZUvcYmlFaKGChzhmtnE/4vHGfy0PBj0rG7tIHK1cZJWS9Ek\"",
|
||||
"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"
|
||||
|
@ -426,7 +426,7 @@
|
|||
},
|
||||
"path": "{project}/global/deployments/{resource}/setIamPolicy",
|
||||
"request": {
|
||||
"$ref": "Policy"
|
||||
"$ref": "GlobalSetPolicyRequest"
|
||||
},
|
||||
"response": {
|
||||
"$ref": "Policy"
|
||||
|
@ -932,7 +932,7 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
"revision": "20180323",
|
||||
"revision": "20180503",
|
||||
"rootUrl": "https://www.googleapis.com/",
|
||||
"schemas": {
|
||||
"AuditConfig": {
|
||||
|
@ -998,7 +998,7 @@
|
|||
"description": "The condition that is associated with this binding. NOTE: an unsatisfied condition will not allow user access via current binding. Different bindings, including their conditions, are examined independently. This field is only visible as GOOGLE_INTERNAL or CONDITION_TRUSTED_TESTER."
|
||||
},
|
||||
"members": {
|
||||
"description": "Specifies the identities requesting access for a Cloud Platform resource. `members` can have the following values:\n\n* `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account.\n\n* `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account.\n\n* `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@gmail.com` or `joe@example.com`.\n\n\n\n* `serviceAccount:{emailid}`: An email address that represents a service account. For example, `my-other-app@appspot.gserviceaccount.com`.\n\n* `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`.\n\n\n\n* `domain:{domain}`: A Google Apps domain name that represents all the users of that domain. For example, `google.com` or `example.com`.",
|
||||
"description": "Specifies the identities requesting access for a Cloud Platform resource. `members` can have the following values:\n\n* `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account.\n\n* `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account.\n\n* `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@gmail.com` .\n\n\n\n* `serviceAccount:{emailid}`: An email address that represents a service account. For example, `my-other-app@appspot.gserviceaccount.com`.\n\n* `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`.\n\n\n\n* `domain:{domain}`: A Google Apps domain name that represents all the users of that domain. For example, `google.com` or `example.com`.",
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
|
@ -1223,6 +1223,28 @@
|
|||
},
|
||||
"type": "object"
|
||||
},
|
||||
"GlobalSetPolicyRequest": {
|
||||
"id": "GlobalSetPolicyRequest",
|
||||
"properties": {
|
||||
"bindings": {
|
||||
"description": "Flatten Policy to create a backwacd compatible wire-format. Deprecated. Use 'policy' to specify bindings.",
|
||||
"items": {
|
||||
"$ref": "Binding"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"etag": {
|
||||
"description": "Flatten Policy to create a backward compatible wire-format. Deprecated. Use 'policy' to specify the etag.",
|
||||
"format": "byte",
|
||||
"type": "string"
|
||||
},
|
||||
"policy": {
|
||||
"$ref": "Policy",
|
||||
"description": "REQUIRED: The complete policy to be applied to the 'resource'. The size of the policy is limited to a few 10s of KB. An empty policy is in general a valid policy but certain services (like Projects) might reject them."
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"ImportFile": {
|
||||
"description": "",
|
||||
"id": "ImportFile",
|
||||
|
@ -1364,7 +1386,7 @@
|
|||
"id": "Operation",
|
||||
"properties": {
|
||||
"clientOperationId": {
|
||||
"description": "[Output Only] Reserved for future use.",
|
||||
"description": "[Output Only] The value of `requestId` if you provided it in the request. Not present otherwise.",
|
||||
"type": "string"
|
||||
},
|
||||
"creationTimestamp": {
|
||||
|
@ -1535,7 +1557,7 @@
|
|||
"type": "object"
|
||||
},
|
||||
"Policy": {
|
||||
"description": "Defines an Identity and Access Management (IAM) policy. It is used to specify access control policies for Cloud Platform resources.\n\n\n\nA `Policy` consists of a list of `bindings`. A `Binding` binds a list of `members` to a `role`, where the members can be user accounts, Google groups, Google domains, and service accounts. A `role` is a named list of permissions defined by IAM.\n\n**Example**\n\n{ \"bindings\": [ { \"role\": \"roles/owner\", \"members\": [ \"user:mike@example.com\", \"group:admins@example.com\", \"domain:google.com\", \"serviceAccount:my-other-app@appspot.gserviceaccount.com\", ] }, { \"role\": \"roles/viewer\", \"members\": [\"user:sean@example.com\"] } ] }\n\nFor a description of IAM and its features, see the [IAM developer's guide](https://cloud.google.com/iam/docs).",
|
||||
"description": "Defines an Identity and Access Management (IAM) policy. It is used to specify access control policies for Cloud Platform resources.\n\n\n\nA `Policy` consists of a list of `bindings`. A `binding` binds a list of `members` to a `role`, where the members can be user accounts, Google groups, Google domains, and service accounts. A `role` is a named list of permissions defined by IAM.\n\n**JSON Example**\n\n{ \"bindings\": [ { \"role\": \"roles/owner\", \"members\": [ \"user:mike@example.com\", \"group:admins@example.com\", \"domain:google.com\", \"serviceAccount:my-other-app@appspot.gserviceaccount.com\" ] }, { \"role\": \"roles/viewer\", \"members\": [\"user:sean@example.com\"] } ] }\n\n**YAML Example**\n\nbindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-other-app@appspot.gserviceaccount.com role: roles/owner - members: - user:sean@example.com role: roles/viewer\n\n\n\nFor a description of IAM and its features, see the [IAM developer's guide](https://cloud.google.com/iam/docs).",
|
||||
"id": "Policy",
|
||||
"properties": {
|
||||
"auditConfigs": {
|
||||
|
|
82
vendor/google.golang.org/api/deploymentmanager/v2/deploymentmanager-gen.go
generated
vendored
82
vendor/google.golang.org/api/deploymentmanager/v2/deploymentmanager-gen.go
generated
vendored
|
@ -294,8 +294,7 @@ type Binding struct {
|
|||
// account.
|
||||
//
|
||||
// * `user:{emailid}`: An email address that represents a specific
|
||||
// Google account. For example, `alice@gmail.com` or
|
||||
// `joe@example.com`.
|
||||
// Google account. For example, `alice@gmail.com` .
|
||||
//
|
||||
//
|
||||
//
|
||||
|
@ -757,6 +756,44 @@ func (s *Expr) MarshalJSON() ([]byte, error) {
|
|||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
type GlobalSetPolicyRequest struct {
|
||||
// Bindings: Flatten Policy to create a backwacd compatible wire-format.
|
||||
// Deprecated. Use 'policy' to specify bindings.
|
||||
Bindings []*Binding `json:"bindings,omitempty"`
|
||||
|
||||
// Etag: Flatten Policy to create a backward compatible wire-format.
|
||||
// Deprecated. Use 'policy' to specify the etag.
|
||||
Etag string `json:"etag,omitempty"`
|
||||
|
||||
// Policy: REQUIRED: The complete policy to be applied to the
|
||||
// 'resource'. The size of the policy is limited to a few 10s of KB. An
|
||||
// empty policy is in general a valid policy but certain services (like
|
||||
// Projects) might reject them.
|
||||
Policy *Policy `json:"policy,omitempty"`
|
||||
|
||||
// ForceSendFields is a list of field names (e.g. "Bindings") 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. "Bindings") 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 *GlobalSetPolicyRequest) MarshalJSON() ([]byte, error) {
|
||||
type NoMethod GlobalSetPolicyRequest
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
type ImportFile struct {
|
||||
// Content: The contents of the file.
|
||||
Content string `json:"content,omitempty"`
|
||||
|
@ -1039,7 +1076,8 @@ func (s *ManifestsListResponse) MarshalJSON() ([]byte, error) {
|
|||
// (== resource_for beta.regionOperations ==) (== resource_for
|
||||
// v1.zoneOperations ==) (== resource_for beta.zoneOperations ==)
|
||||
type Operation struct {
|
||||
// ClientOperationId: [Output Only] Reserved for future use.
|
||||
// ClientOperationId: [Output Only] The value of `requestId` if you
|
||||
// provided it in the request. Not present otherwise.
|
||||
ClientOperationId string `json:"clientOperationId,omitempty"`
|
||||
|
||||
// CreationTimestamp: [Deprecated] This field is deprecated.
|
||||
|
@ -1347,20 +1385,30 @@ func (s *OperationsListResponse) MarshalJSON() ([]byte, error) {
|
|||
//
|
||||
//
|
||||
//
|
||||
// A `Policy` consists of a list of `bindings`. A `Binding` binds a list
|
||||
// A `Policy` consists of a list of `bindings`. A `binding` binds a list
|
||||
// of `members` to a `role`, where the members can be user accounts,
|
||||
// Google groups, Google domains, and service accounts. A `role` is a
|
||||
// named list of permissions defined by IAM.
|
||||
//
|
||||
// **Example**
|
||||
// **JSON Example**
|
||||
//
|
||||
// { "bindings": [ { "role": "roles/owner", "members": [
|
||||
// "user:mike@example.com", "group:admins@example.com",
|
||||
// "domain:google.com",
|
||||
// "serviceAccount:my-other-app@appspot.gserviceaccount.com", ] }, {
|
||||
// "serviceAccount:my-other-app@appspot.gserviceaccount.com" ] }, {
|
||||
// "role": "roles/viewer", "members": ["user:sean@example.com"] } ]
|
||||
// }
|
||||
//
|
||||
// **YAML Example**
|
||||
//
|
||||
// bindings: - members: - user:mike@example.com -
|
||||
// group:admins@example.com - domain:google.com -
|
||||
// serviceAccount:my-other-app@appspot.gserviceaccount.com role:
|
||||
// roles/owner - members: - user:sean@example.com role:
|
||||
// roles/viewer
|
||||
//
|
||||
//
|
||||
//
|
||||
// For a description of IAM and its features, see the [IAM developer's
|
||||
// guide](https://cloud.google.com/iam/docs).
|
||||
type Policy struct {
|
||||
|
@ -3325,22 +3373,22 @@ func (c *DeploymentsPatchCall) Do(opts ...googleapi.CallOption) (*Operation, err
|
|||
// method id "deploymentmanager.deployments.setIamPolicy":
|
||||
|
||||
type DeploymentsSetIamPolicyCall struct {
|
||||
s *Service
|
||||
project string
|
||||
resource string
|
||||
policy *Policy
|
||||
urlParams_ gensupport.URLParams
|
||||
ctx_ context.Context
|
||||
header_ http.Header
|
||||
s *Service
|
||||
project string
|
||||
resource string
|
||||
globalsetpolicyrequest *GlobalSetPolicyRequest
|
||||
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 *DeploymentsService) SetIamPolicy(project string, resource string, policy *Policy) *DeploymentsSetIamPolicyCall {
|
||||
func (r *DeploymentsService) SetIamPolicy(project string, resource string, globalsetpolicyrequest *GlobalSetPolicyRequest) *DeploymentsSetIamPolicyCall {
|
||||
c := &DeploymentsSetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
|
||||
c.project = project
|
||||
c.resource = resource
|
||||
c.policy = policy
|
||||
c.globalsetpolicyrequest = globalsetpolicyrequest
|
||||
return c
|
||||
}
|
||||
|
||||
|
@ -3376,7 +3424,7 @@ func (c *DeploymentsSetIamPolicyCall) doRequest(alt string) (*http.Response, err
|
|||
}
|
||||
reqHeaders.Set("User-Agent", c.s.userAgent())
|
||||
var body io.Reader = nil
|
||||
body, err := googleapi.WithoutDataWrapper.JSONReader(c.policy)
|
||||
body, err := googleapi.WithoutDataWrapper.JSONReader(c.globalsetpolicyrequest)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
@ -3456,7 +3504,7 @@ func (c *DeploymentsSetIamPolicyCall) Do(opts ...googleapi.CallOption) (*Policy,
|
|||
// },
|
||||
// "path": "{project}/global/deployments/{resource}/setIamPolicy",
|
||||
// "request": {
|
||||
// "$ref": "Policy"
|
||||
// "$ref": "GlobalSetPolicyRequest"
|
||||
// },
|
||||
// "response": {
|
||||
// "$ref": "Policy"
|
||||
|
|
36
vendor/google.golang.org/api/deploymentmanager/v2beta/deploymentmanager-api.json
generated
vendored
36
vendor/google.golang.org/api/deploymentmanager/v2beta/deploymentmanager-api.json
generated
vendored
|
@ -24,7 +24,7 @@
|
|||
"description": "The Deployment Manager API allows users to declaratively configure, deploy and run complex solutions on the Google Cloud Platform.",
|
||||
"discoveryVersion": "v1",
|
||||
"documentationLink": "https://developers.google.com/deployment-manager/",
|
||||
"etag": "\"Zkyw9ACJZUvcYmlFaKGChzhmtnE/PCWAG75AZikXgM-QdvShE4zYkug\"",
|
||||
"etag": "\"Zkyw9ACJZUvcYmlFaKGChzhmtnE/LkknaPBA2ag_gwJEt-rsY1S_xdU\"",
|
||||
"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"
|
||||
|
@ -652,7 +652,7 @@
|
|||
},
|
||||
"path": "{project}/global/deployments/{resource}/setIamPolicy",
|
||||
"request": {
|
||||
"$ref": "Policy"
|
||||
"$ref": "GlobalSetPolicyRequest"
|
||||
},
|
||||
"response": {
|
||||
"$ref": "Policy"
|
||||
|
@ -1193,7 +1193,7 @@
|
|||
"type": "string"
|
||||
},
|
||||
"type": {
|
||||
"description": "The name of the type provider for this request.",
|
||||
"description": "The name of the type provider type for this request.",
|
||||
"location": "path",
|
||||
"required": true,
|
||||
"type": "string"
|
||||
|
@ -1482,7 +1482,7 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
"revision": "20180323",
|
||||
"revision": "20180609",
|
||||
"rootUrl": "https://www.googleapis.com/",
|
||||
"schemas": {
|
||||
"AsyncOptions": {
|
||||
|
@ -1602,7 +1602,7 @@
|
|||
"description": "The condition that is associated with this binding. NOTE: an unsatisfied condition will not allow user access via current binding. Different bindings, including their conditions, are examined independently. This field is only visible as GOOGLE_INTERNAL or CONDITION_TRUSTED_TESTER."
|
||||
},
|
||||
"members": {
|
||||
"description": "Specifies the identities requesting access for a Cloud Platform resource. `members` can have the following values:\n\n* `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account.\n\n* `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account.\n\n* `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@gmail.com` or `joe@example.com`.\n\n\n\n* `serviceAccount:{emailid}`: An email address that represents a service account. For example, `my-other-app@appspot.gserviceaccount.com`.\n\n* `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`.\n\n\n\n* `domain:{domain}`: A Google Apps domain name that represents all the users of that domain. For example, `google.com` or `example.com`.",
|
||||
"description": "Specifies the identities requesting access for a Cloud Platform resource. `members` can have the following values:\n\n* `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account.\n\n* `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account.\n\n* `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@gmail.com` .\n\n\n\n* `serviceAccount:{emailid}`: An email address that represents a service account. For example, `my-other-app@appspot.gserviceaccount.com`.\n\n* `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`.\n\n\n\n* `domain:{domain}`: A Google Apps domain name that represents all the users of that domain. For example, `google.com` or `example.com`.",
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
|
@ -1952,6 +1952,28 @@
|
|||
},
|
||||
"type": "object"
|
||||
},
|
||||
"GlobalSetPolicyRequest": {
|
||||
"id": "GlobalSetPolicyRequest",
|
||||
"properties": {
|
||||
"bindings": {
|
||||
"description": "Flatten Policy to create a backwacd compatible wire-format. Deprecated. Use 'policy' to specify bindings.",
|
||||
"items": {
|
||||
"$ref": "Binding"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"etag": {
|
||||
"description": "Flatten Policy to create a backward compatible wire-format. Deprecated. Use 'policy' to specify the etag.",
|
||||
"format": "byte",
|
||||
"type": "string"
|
||||
},
|
||||
"policy": {
|
||||
"$ref": "Policy",
|
||||
"description": "REQUIRED: The complete policy to be applied to the 'resource'. The size of the policy is limited to a few 10s of KB. An empty policy is in general a valid policy but certain services (like Projects) might reject them."
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"ImportFile": {
|
||||
"description": "",
|
||||
"id": "ImportFile",
|
||||
|
@ -2116,7 +2138,7 @@
|
|||
"id": "Operation",
|
||||
"properties": {
|
||||
"clientOperationId": {
|
||||
"description": "[Output Only] Reserved for future use.",
|
||||
"description": "[Output Only] The value of `requestId` if you provided it in the request. Not present otherwise.",
|
||||
"type": "string"
|
||||
},
|
||||
"creationTimestamp": {
|
||||
|
@ -2316,7 +2338,7 @@
|
|||
"type": "object"
|
||||
},
|
||||
"Policy": {
|
||||
"description": "Defines an Identity and Access Management (IAM) policy. It is used to specify access control policies for Cloud Platform resources.\n\n\n\nA `Policy` consists of a list of `bindings`. A `Binding` binds a list of `members` to a `role`, where the members can be user accounts, Google groups, Google domains, and service accounts. A `role` is a named list of permissions defined by IAM.\n\n**Example**\n\n{ \"bindings\": [ { \"role\": \"roles/owner\", \"members\": [ \"user:mike@example.com\", \"group:admins@example.com\", \"domain:google.com\", \"serviceAccount:my-other-app@appspot.gserviceaccount.com\", ] }, { \"role\": \"roles/viewer\", \"members\": [\"user:sean@example.com\"] } ] }\n\nFor a description of IAM and its features, see the [IAM developer's guide](https://cloud.google.com/iam/docs).",
|
||||
"description": "Defines an Identity and Access Management (IAM) policy. It is used to specify access control policies for Cloud Platform resources.\n\n\n\nA `Policy` consists of a list of `bindings`. A `binding` binds a list of `members` to a `role`, where the members can be user accounts, Google groups, Google domains, and service accounts. A `role` is a named list of permissions defined by IAM.\n\n**JSON Example**\n\n{ \"bindings\": [ { \"role\": \"roles/owner\", \"members\": [ \"user:mike@example.com\", \"group:admins@example.com\", \"domain:google.com\", \"serviceAccount:my-other-app@appspot.gserviceaccount.com\" ] }, { \"role\": \"roles/viewer\", \"members\": [\"user:sean@example.com\"] } ] }\n\n**YAML Example**\n\nbindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-other-app@appspot.gserviceaccount.com role: roles/owner - members: - user:sean@example.com role: roles/viewer\n\n\n\nFor a description of IAM and its features, see the [IAM developer's guide](https://cloud.google.com/iam/docs).",
|
||||
"id": "Policy",
|
||||
"properties": {
|
||||
"auditConfigs": {
|
||||
|
|
84
vendor/google.golang.org/api/deploymentmanager/v2beta/deploymentmanager-gen.go
generated
vendored
84
vendor/google.golang.org/api/deploymentmanager/v2beta/deploymentmanager-gen.go
generated
vendored
|
@ -421,8 +421,7 @@ type Binding struct {
|
|||
// account.
|
||||
//
|
||||
// * `user:{emailid}`: An email address that represents a specific
|
||||
// Google account. For example, `alice@gmail.com` or
|
||||
// `joe@example.com`.
|
||||
// Google account. For example, `alice@gmail.com` .
|
||||
//
|
||||
//
|
||||
//
|
||||
|
@ -1115,6 +1114,44 @@ func (s *Expr) MarshalJSON() ([]byte, error) {
|
|||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
type GlobalSetPolicyRequest struct {
|
||||
// Bindings: Flatten Policy to create a backwacd compatible wire-format.
|
||||
// Deprecated. Use 'policy' to specify bindings.
|
||||
Bindings []*Binding `json:"bindings,omitempty"`
|
||||
|
||||
// Etag: Flatten Policy to create a backward compatible wire-format.
|
||||
// Deprecated. Use 'policy' to specify the etag.
|
||||
Etag string `json:"etag,omitempty"`
|
||||
|
||||
// Policy: REQUIRED: The complete policy to be applied to the
|
||||
// 'resource'. The size of the policy is limited to a few 10s of KB. An
|
||||
// empty policy is in general a valid policy but certain services (like
|
||||
// Projects) might reject them.
|
||||
Policy *Policy `json:"policy,omitempty"`
|
||||
|
||||
// ForceSendFields is a list of field names (e.g. "Bindings") 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. "Bindings") 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 *GlobalSetPolicyRequest) MarshalJSON() ([]byte, error) {
|
||||
type NoMethod GlobalSetPolicyRequest
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
type ImportFile struct {
|
||||
// Content: The contents of the file.
|
||||
Content string `json:"content,omitempty"`
|
||||
|
@ -1436,7 +1473,8 @@ func (s *ManifestsListResponse) MarshalJSON() ([]byte, error) {
|
|||
// (== resource_for beta.regionOperations ==) (== resource_for
|
||||
// v1.zoneOperations ==) (== resource_for beta.zoneOperations ==)
|
||||
type Operation struct {
|
||||
// ClientOperationId: [Output Only] Reserved for future use.
|
||||
// ClientOperationId: [Output Only] The value of `requestId` if you
|
||||
// provided it in the request. Not present otherwise.
|
||||
ClientOperationId string `json:"clientOperationId,omitempty"`
|
||||
|
||||
// CreationTimestamp: [Deprecated] This field is deprecated.
|
||||
|
@ -1790,20 +1828,30 @@ func (s *Options) MarshalJSON() ([]byte, error) {
|
|||
//
|
||||
//
|
||||
//
|
||||
// A `Policy` consists of a list of `bindings`. A `Binding` binds a list
|
||||
// A `Policy` consists of a list of `bindings`. A `binding` binds a list
|
||||
// of `members` to a `role`, where the members can be user accounts,
|
||||
// Google groups, Google domains, and service accounts. A `role` is a
|
||||
// named list of permissions defined by IAM.
|
||||
//
|
||||
// **Example**
|
||||
// **JSON Example**
|
||||
//
|
||||
// { "bindings": [ { "role": "roles/owner", "members": [
|
||||
// "user:mike@example.com", "group:admins@example.com",
|
||||
// "domain:google.com",
|
||||
// "serviceAccount:my-other-app@appspot.gserviceaccount.com", ] }, {
|
||||
// "serviceAccount:my-other-app@appspot.gserviceaccount.com" ] }, {
|
||||
// "role": "roles/viewer", "members": ["user:sean@example.com"] } ]
|
||||
// }
|
||||
//
|
||||
// **YAML Example**
|
||||
//
|
||||
// bindings: - members: - user:mike@example.com -
|
||||
// group:admins@example.com - domain:google.com -
|
||||
// serviceAccount:my-other-app@appspot.gserviceaccount.com role:
|
||||
// roles/owner - members: - user:sean@example.com role:
|
||||
// roles/viewer
|
||||
//
|
||||
//
|
||||
//
|
||||
// For a description of IAM and its features, see the [IAM developer's
|
||||
// guide](https://cloud.google.com/iam/docs).
|
||||
type Policy struct {
|
||||
|
@ -5198,22 +5246,22 @@ func (c *DeploymentsPatchCall) Do(opts ...googleapi.CallOption) (*Operation, err
|
|||
// method id "deploymentmanager.deployments.setIamPolicy":
|
||||
|
||||
type DeploymentsSetIamPolicyCall struct {
|
||||
s *Service
|
||||
project string
|
||||
resource string
|
||||
policy *Policy
|
||||
urlParams_ gensupport.URLParams
|
||||
ctx_ context.Context
|
||||
header_ http.Header
|
||||
s *Service
|
||||
project string
|
||||
resource string
|
||||
globalsetpolicyrequest *GlobalSetPolicyRequest
|
||||
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 *DeploymentsService) SetIamPolicy(project string, resource string, policy *Policy) *DeploymentsSetIamPolicyCall {
|
||||
func (r *DeploymentsService) SetIamPolicy(project string, resource string, globalsetpolicyrequest *GlobalSetPolicyRequest) *DeploymentsSetIamPolicyCall {
|
||||
c := &DeploymentsSetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
|
||||
c.project = project
|
||||
c.resource = resource
|
||||
c.policy = policy
|
||||
c.globalsetpolicyrequest = globalsetpolicyrequest
|
||||
return c
|
||||
}
|
||||
|
||||
|
@ -5249,7 +5297,7 @@ func (c *DeploymentsSetIamPolicyCall) doRequest(alt string) (*http.Response, err
|
|||
}
|
||||
reqHeaders.Set("User-Agent", c.s.userAgent())
|
||||
var body io.Reader = nil
|
||||
body, err := googleapi.WithoutDataWrapper.JSONReader(c.policy)
|
||||
body, err := googleapi.WithoutDataWrapper.JSONReader(c.globalsetpolicyrequest)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
@ -5329,7 +5377,7 @@ func (c *DeploymentsSetIamPolicyCall) Do(opts ...googleapi.CallOption) (*Policy,
|
|||
// },
|
||||
// "path": "{project}/global/deployments/{resource}/setIamPolicy",
|
||||
// "request": {
|
||||
// "$ref": "Policy"
|
||||
// "$ref": "GlobalSetPolicyRequest"
|
||||
// },
|
||||
// "response": {
|
||||
// "$ref": "Policy"
|
||||
|
@ -7524,7 +7572,7 @@ func (c *TypeProvidersGetTypeCall) Do(opts ...googleapi.CallOption) (*TypeInfo,
|
|||
// "type": "string"
|
||||
// },
|
||||
// "type": {
|
||||
// "description": "The name of the type provider for this request.",
|
||||
// "description": "The name of the type provider type for this request.",
|
||||
// "location": "path",
|
||||
// "required": true,
|
||||
// "type": "string"
|
||||
|
|
28
vendor/google.golang.org/api/dfareporting/v2.8/dfareporting-api.json
generated
vendored
28
vendor/google.golang.org/api/dfareporting/v2.8/dfareporting-api.json
generated
vendored
|
@ -20,7 +20,7 @@
|
|||
"description": "Manages your DoubleClick Campaign Manager ad campaigns and reports.",
|
||||
"discoveryVersion": "v1",
|
||||
"documentationLink": "https://developers.google.com/doubleclick-advertisers/",
|
||||
"etag": "\"Zkyw9ACJZUvcYmlFaKGChzhmtnE/SwTzqnmyE9ystvGA83k2PbqQtvs\"",
|
||||
"etag": "\"Zkyw9ACJZUvcYmlFaKGChzhmtnE/5kHvkkccKhBMEn4FJ1Eq4_8I4S4\"",
|
||||
"icons": {
|
||||
"x16": "https://www.google.com/images/icons/product/doubleclick-16.gif",
|
||||
"x32": "https://www.google.com/images/icons/product/doubleclick-32.gif"
|
||||
|
@ -740,6 +740,7 @@
|
|||
"APP_INTERSTITIAL",
|
||||
"DISPLAY",
|
||||
"DISPLAY_INTERSTITIAL",
|
||||
"IN_STREAM_AUDIO",
|
||||
"IN_STREAM_VIDEO"
|
||||
],
|
||||
"enumDescriptions": [
|
||||
|
@ -747,6 +748,7 @@
|
|||
"",
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
""
|
||||
],
|
||||
"location": "query",
|
||||
|
@ -3527,6 +3529,7 @@
|
|||
"FLASH_INPAGE",
|
||||
"HTML5_BANNER",
|
||||
"IMAGE",
|
||||
"INSTREAM_AUDIO",
|
||||
"INSTREAM_VIDEO",
|
||||
"INSTREAM_VIDEO_REDIRECT",
|
||||
"INTERNAL_REDIRECT",
|
||||
|
@ -3567,6 +3570,7 @@
|
|||
"",
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
""
|
||||
],
|
||||
"location": "query",
|
||||
|
@ -6804,6 +6808,7 @@
|
|||
"APP_INTERSTITIAL",
|
||||
"DISPLAY",
|
||||
"DISPLAY_INTERSTITIAL",
|
||||
"IN_STREAM_AUDIO",
|
||||
"IN_STREAM_VIDEO"
|
||||
],
|
||||
"enumDescriptions": [
|
||||
|
@ -6811,6 +6816,7 @@
|
|||
"",
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
""
|
||||
],
|
||||
"location": "query",
|
||||
|
@ -8378,7 +8384,7 @@
|
|||
]
|
||||
},
|
||||
"list": {
|
||||
"description": "Retrieves a list of sizes, possibly filtered.",
|
||||
"description": "Retrieves a list of sizes, possibly filtered. Retrieved sizes are globally unique and may include values not currently in use by your account. Due to this, the list of sizes returned by this method may differ from the list seen in the Trafficking UI.",
|
||||
"httpMethod": "GET",
|
||||
"id": "dfareporting.sizes.list",
|
||||
"parameterOrder": [
|
||||
|
@ -9436,7 +9442,7 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
"revision": "20171109",
|
||||
"revision": "20180514",
|
||||
"rootUrl": "https://www.googleapis.com/",
|
||||
"schemas": {
|
||||
"Account": {
|
||||
|
@ -9785,7 +9791,7 @@
|
|||
"type": "string"
|
||||
},
|
||||
"traffickerType": {
|
||||
"description": "Trafficker type of this user profile.",
|
||||
"description": "Trafficker type of this user profile. This is a read-only field.",
|
||||
"enum": [
|
||||
"EXTERNAL_TRAFFICKER",
|
||||
"INTERNAL_NON_TRAFFICKER",
|
||||
|
@ -9957,6 +9963,7 @@
|
|||
"APP_INTERSTITIAL",
|
||||
"DISPLAY",
|
||||
"DISPLAY_INTERSTITIAL",
|
||||
"IN_STREAM_AUDIO",
|
||||
"IN_STREAM_VIDEO"
|
||||
],
|
||||
"enumDescriptions": [
|
||||
|
@ -9964,6 +9971,7 @@
|
|||
"",
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
""
|
||||
],
|
||||
"type": "string"
|
||||
|
@ -10145,6 +10153,7 @@
|
|||
"APP_INTERSTITIAL",
|
||||
"DISPLAY",
|
||||
"DISPLAY_INTERSTITIAL",
|
||||
"IN_STREAM_AUDIO",
|
||||
"IN_STREAM_VIDEO"
|
||||
],
|
||||
"enumDescriptions": [
|
||||
|
@ -10152,6 +10161,7 @@
|
|||
"",
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
""
|
||||
],
|
||||
"type": "string"
|
||||
|
@ -11582,7 +11592,7 @@
|
|||
"type": "string"
|
||||
},
|
||||
"companionCreatives": {
|
||||
"description": "List of companion creatives assigned to an in-Stream videocreative. Acceptable values include IDs of existing flash and image creatives. Applicable to the following creative types: all VPAID and all INSTREAM_VIDEO with dynamicAssetSelection set to false.",
|
||||
"description": "List of companion creatives assigned to an in-Stream video creative. Acceptable values include IDs of existing flash and image creatives. Applicable to the following creative types: all VPAID and all INSTREAM_VIDEO with dynamicAssetSelection set to false.",
|
||||
"items": {
|
||||
"format": "int64",
|
||||
"type": "string"
|
||||
|
@ -11597,6 +11607,7 @@
|
|||
"APP_INTERSTITIAL",
|
||||
"DISPLAY",
|
||||
"DISPLAY_INTERSTITIAL",
|
||||
"IN_STREAM_AUDIO",
|
||||
"IN_STREAM_VIDEO"
|
||||
],
|
||||
"enumDescriptions": [
|
||||
|
@ -11604,6 +11615,7 @@
|
|||
"",
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
""
|
||||
],
|
||||
"type": "string"
|
||||
|
@ -11805,6 +11817,7 @@
|
|||
"FLASH_INPAGE",
|
||||
"HTML5_BANNER",
|
||||
"IMAGE",
|
||||
"INSTREAM_AUDIO",
|
||||
"INSTREAM_VIDEO",
|
||||
"INSTREAM_VIDEO_REDIRECT",
|
||||
"INTERNAL_REDIRECT",
|
||||
|
@ -11845,6 +11858,7 @@
|
|||
"",
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
""
|
||||
],
|
||||
"type": "string"
|
||||
|
@ -14108,6 +14122,7 @@
|
|||
"DBM_PARTNER",
|
||||
"DCM_ACCOUNT",
|
||||
"DCM_ADVERTISER",
|
||||
"DFP_NETWORK_CODE",
|
||||
"ENCRYPTION_ENTITY_TYPE_UNKNOWN"
|
||||
],
|
||||
"enumDescriptions": [
|
||||
|
@ -14116,6 +14131,7 @@
|
|||
"",
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
""
|
||||
],
|
||||
"type": "string"
|
||||
|
@ -16338,6 +16354,7 @@
|
|||
"APP_INTERSTITIAL",
|
||||
"DISPLAY",
|
||||
"DISPLAY_INTERSTITIAL",
|
||||
"IN_STREAM_AUDIO",
|
||||
"IN_STREAM_VIDEO"
|
||||
],
|
||||
"enumDescriptions": [
|
||||
|
@ -16345,6 +16362,7 @@
|
|||
"",
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
""
|
||||
],
|
||||
"type": "string"
|
||||
|
|
27
vendor/google.golang.org/api/dfareporting/v2.8/dfareporting-gen.go
generated
vendored
27
vendor/google.golang.org/api/dfareporting/v2.8/dfareporting-gen.go
generated
vendored
|
@ -1312,7 +1312,8 @@ type AccountUserProfile struct {
|
|||
// field that can be left blank.
|
||||
SubaccountId int64 `json:"subaccountId,omitempty,string"`
|
||||
|
||||
// TraffickerType: Trafficker type of this user profile.
|
||||
// TraffickerType: Trafficker type of this user profile. This is a
|
||||
// read-only field.
|
||||
//
|
||||
// Possible values:
|
||||
// "EXTERNAL_TRAFFICKER"
|
||||
|
@ -1542,6 +1543,7 @@ type Ad struct {
|
|||
// "APP_INTERSTITIAL"
|
||||
// "DISPLAY"
|
||||
// "DISPLAY_INTERSTITIAL"
|
||||
// "IN_STREAM_AUDIO"
|
||||
// "IN_STREAM_VIDEO"
|
||||
Compatibility string `json:"compatibility,omitempty"`
|
||||
|
||||
|
@ -1767,6 +1769,7 @@ type AdSlot struct {
|
|||
// "APP_INTERSTITIAL"
|
||||
// "DISPLAY"
|
||||
// "DISPLAY_INTERSTITIAL"
|
||||
// "IN_STREAM_AUDIO"
|
||||
// "IN_STREAM_VIDEO"
|
||||
Compatibility string `json:"compatibility,omitempty"`
|
||||
|
||||
|
@ -3785,7 +3788,7 @@ type Creative struct {
|
|||
CommercialId string `json:"commercialId,omitempty"`
|
||||
|
||||
// CompanionCreatives: List of companion creatives assigned to an
|
||||
// in-Stream videocreative. Acceptable values include IDs of existing
|
||||
// in-Stream video creative. Acceptable values include IDs of existing
|
||||
// flash and image creatives. Applicable to the following creative
|
||||
// types: all VPAID and all INSTREAM_VIDEO with dynamicAssetSelection
|
||||
// set to false.
|
||||
|
@ -3813,6 +3816,7 @@ type Creative struct {
|
|||
// "APP_INTERSTITIAL"
|
||||
// "DISPLAY"
|
||||
// "DISPLAY_INTERSTITIAL"
|
||||
// "IN_STREAM_AUDIO"
|
||||
// "IN_STREAM_VIDEO"
|
||||
Compatibility []string `json:"compatibility,omitempty"`
|
||||
|
||||
|
@ -4044,6 +4048,7 @@ type Creative struct {
|
|||
// "FLASH_INPAGE"
|
||||
// "HTML5_BANNER"
|
||||
// "IMAGE"
|
||||
// "INSTREAM_AUDIO"
|
||||
// "INSTREAM_VIDEO"
|
||||
// "INSTREAM_VIDEO_REDIRECT"
|
||||
// "INTERNAL_REDIRECT"
|
||||
|
@ -6731,6 +6736,7 @@ type EncryptionInfo struct {
|
|||
// "DBM_PARTNER"
|
||||
// "DCM_ACCOUNT"
|
||||
// "DCM_ADVERTISER"
|
||||
// "DFP_NETWORK_CODE"
|
||||
// "ENCRYPTION_ENTITY_TYPE_UNKNOWN"
|
||||
EncryptionEntityType string `json:"encryptionEntityType,omitempty"`
|
||||
|
||||
|
@ -9606,6 +9612,7 @@ type Placement struct {
|
|||
// "APP_INTERSTITIAL"
|
||||
// "DISPLAY"
|
||||
// "DISPLAY_INTERSTITIAL"
|
||||
// "IN_STREAM_AUDIO"
|
||||
// "IN_STREAM_VIDEO"
|
||||
Compatibility string `json:"compatibility,omitempty"`
|
||||
|
||||
|
@ -16544,6 +16551,7 @@ func (c *AdsListCall) CampaignIds(campaignIds ...int64) *AdsListCall {
|
|||
// "APP_INTERSTITIAL"
|
||||
// "DISPLAY"
|
||||
// "DISPLAY_INTERSTITIAL"
|
||||
// "IN_STREAM_AUDIO"
|
||||
// "IN_STREAM_VIDEO"
|
||||
func (c *AdsListCall) Compatibility(compatibility string) *AdsListCall {
|
||||
c.urlParams_.Set("compatibility", compatibility)
|
||||
|
@ -16860,6 +16868,7 @@ func (c *AdsListCall) Do(opts ...googleapi.CallOption) (*AdsListResponse, error)
|
|||
// "APP_INTERSTITIAL",
|
||||
// "DISPLAY",
|
||||
// "DISPLAY_INTERSTITIAL",
|
||||
// "IN_STREAM_AUDIO",
|
||||
// "IN_STREAM_VIDEO"
|
||||
// ],
|
||||
// "enumDescriptions": [
|
||||
|
@ -16867,6 +16876,7 @@ func (c *AdsListCall) Do(opts ...googleapi.CallOption) (*AdsListResponse, error)
|
|||
// "",
|
||||
// "",
|
||||
// "",
|
||||
// "",
|
||||
// ""
|
||||
// ],
|
||||
// "location": "query",
|
||||
|
@ -26821,6 +26831,7 @@ func (c *CreativesListCall) StudioCreativeId(studioCreativeId int64) *CreativesL
|
|||
// "FLASH_INPAGE"
|
||||
// "HTML5_BANNER"
|
||||
// "IMAGE"
|
||||
// "INSTREAM_AUDIO"
|
||||
// "INSTREAM_VIDEO"
|
||||
// "INSTREAM_VIDEO_REDIRECT"
|
||||
// "INTERNAL_REDIRECT"
|
||||
|
@ -27071,6 +27082,7 @@ func (c *CreativesListCall) Do(opts ...googleapi.CallOption) (*CreativesListResp
|
|||
// "FLASH_INPAGE",
|
||||
// "HTML5_BANNER",
|
||||
// "IMAGE",
|
||||
// "INSTREAM_AUDIO",
|
||||
// "INSTREAM_VIDEO",
|
||||
// "INSTREAM_VIDEO_REDIRECT",
|
||||
// "INTERNAL_REDIRECT",
|
||||
|
@ -27111,6 +27123,7 @@ func (c *CreativesListCall) Do(opts ...googleapi.CallOption) (*CreativesListResp
|
|||
// "",
|
||||
// "",
|
||||
// "",
|
||||
// "",
|
||||
// ""
|
||||
// ],
|
||||
// "location": "query",
|
||||
|
@ -39354,6 +39367,7 @@ func (c *PlacementsListCall) CampaignIds(campaignIds ...int64) *PlacementsListCa
|
|||
// "APP_INTERSTITIAL"
|
||||
// "DISPLAY"
|
||||
// "DISPLAY_INTERSTITIAL"
|
||||
// "IN_STREAM_AUDIO"
|
||||
// "IN_STREAM_VIDEO"
|
||||
func (c *PlacementsListCall) Compatibilities(compatibilities ...string) *PlacementsListCall {
|
||||
c.urlParams_.SetMulti("compatibilities", append([]string{}, compatibilities...))
|
||||
|
@ -39674,6 +39688,7 @@ func (c *PlacementsListCall) Do(opts ...googleapi.CallOption) (*PlacementsListRe
|
|||
// "APP_INTERSTITIAL",
|
||||
// "DISPLAY",
|
||||
// "DISPLAY_INTERSTITIAL",
|
||||
// "IN_STREAM_AUDIO",
|
||||
// "IN_STREAM_VIDEO"
|
||||
// ],
|
||||
// "enumDescriptions": [
|
||||
|
@ -39681,6 +39696,7 @@ func (c *PlacementsListCall) Do(opts ...googleapi.CallOption) (*PlacementsListRe
|
|||
// "",
|
||||
// "",
|
||||
// "",
|
||||
// "",
|
||||
// ""
|
||||
// ],
|
||||
// "location": "query",
|
||||
|
@ -45493,7 +45509,10 @@ type SizesListCall struct {
|
|||
header_ http.Header
|
||||
}
|
||||
|
||||
// List: Retrieves a list of sizes, possibly filtered.
|
||||
// List: Retrieves a list of sizes, possibly filtered. Retrieved sizes
|
||||
// are globally unique and may include values not currently in use by
|
||||
// your account. Due to this, the list of sizes returned by this method
|
||||
// may differ from the list seen in the Trafficking UI.
|
||||
func (r *SizesService) List(profileId int64) *SizesListCall {
|
||||
c := &SizesListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
|
||||
c.profileId = profileId
|
||||
|
@ -45626,7 +45645,7 @@ func (c *SizesListCall) Do(opts ...googleapi.CallOption) (*SizesListResponse, er
|
|||
}
|
||||
return ret, nil
|
||||
// {
|
||||
// "description": "Retrieves a list of sizes, possibly filtered.",
|
||||
// "description": "Retrieves a list of sizes, possibly filtered. Retrieved sizes are globally unique and may include values not currently in use by your account. Due to this, the list of sizes returned by this method may differ from the list seen in the Trafficking UI.",
|
||||
// "httpMethod": "GET",
|
||||
// "id": "dfareporting.sizes.list",
|
||||
// "parameterOrder": [
|
||||
|
|
28
vendor/google.golang.org/api/dfareporting/v3.0/dfareporting-api.json
generated
vendored
28
vendor/google.golang.org/api/dfareporting/v3.0/dfareporting-api.json
generated
vendored
|
@ -20,7 +20,7 @@
|
|||
"description": "Manages your DoubleClick Campaign Manager ad campaigns and reports.",
|
||||
"discoveryVersion": "v1",
|
||||
"documentationLink": "https://developers.google.com/doubleclick-advertisers/",
|
||||
"etag": "\"Zkyw9ACJZUvcYmlFaKGChzhmtnE/T5ck1Y0rLQnWaaxq6rdZwGe6z4M\"",
|
||||
"etag": "\"Zkyw9ACJZUvcYmlFaKGChzhmtnE/y77xRILjlSdl2_MjDK7JC1BJie8\"",
|
||||
"icons": {
|
||||
"x16": "https://www.google.com/images/icons/product/doubleclick-16.gif",
|
||||
"x32": "https://www.google.com/images/icons/product/doubleclick-32.gif"
|
||||
|
@ -740,6 +740,7 @@
|
|||
"APP_INTERSTITIAL",
|
||||
"DISPLAY",
|
||||
"DISPLAY_INTERSTITIAL",
|
||||
"IN_STREAM_AUDIO",
|
||||
"IN_STREAM_VIDEO"
|
||||
],
|
||||
"enumDescriptions": [
|
||||
|
@ -747,6 +748,7 @@
|
|||
"",
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
""
|
||||
],
|
||||
"location": "query",
|
||||
|
@ -3734,6 +3736,7 @@
|
|||
"FLASH_INPAGE",
|
||||
"HTML5_BANNER",
|
||||
"IMAGE",
|
||||
"INSTREAM_AUDIO",
|
||||
"INSTREAM_VIDEO",
|
||||
"INSTREAM_VIDEO_REDIRECT",
|
||||
"INTERNAL_REDIRECT",
|
||||
|
@ -3774,6 +3777,7 @@
|
|||
"",
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
""
|
||||
],
|
||||
"location": "query",
|
||||
|
@ -6785,6 +6789,7 @@
|
|||
"APP_INTERSTITIAL",
|
||||
"DISPLAY",
|
||||
"DISPLAY_INTERSTITIAL",
|
||||
"IN_STREAM_AUDIO",
|
||||
"IN_STREAM_VIDEO"
|
||||
],
|
||||
"enumDescriptions": [
|
||||
|
@ -6792,6 +6797,7 @@
|
|||
"",
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
""
|
||||
],
|
||||
"location": "query",
|
||||
|
@ -8359,7 +8365,7 @@
|
|||
]
|
||||
},
|
||||
"list": {
|
||||
"description": "Retrieves a list of sizes, possibly filtered.",
|
||||
"description": "Retrieves a list of sizes, possibly filtered. Retrieved sizes are globally unique and may include values not currently in use by your account. Due to this, the list of sizes returned by this method may differ from the list seen in the Trafficking UI.",
|
||||
"httpMethod": "GET",
|
||||
"id": "dfareporting.sizes.list",
|
||||
"parameterOrder": [
|
||||
|
@ -9417,7 +9423,7 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
"revision": "20171109",
|
||||
"revision": "20180514",
|
||||
"rootUrl": "https://www.googleapis.com/",
|
||||
"schemas": {
|
||||
"Account": {
|
||||
|
@ -9766,7 +9772,7 @@
|
|||
"type": "string"
|
||||
},
|
||||
"traffickerType": {
|
||||
"description": "Trafficker type of this user profile.",
|
||||
"description": "Trafficker type of this user profile. This is a read-only field.",
|
||||
"enum": [
|
||||
"EXTERNAL_TRAFFICKER",
|
||||
"INTERNAL_NON_TRAFFICKER",
|
||||
|
@ -9938,6 +9944,7 @@
|
|||
"APP_INTERSTITIAL",
|
||||
"DISPLAY",
|
||||
"DISPLAY_INTERSTITIAL",
|
||||
"IN_STREAM_AUDIO",
|
||||
"IN_STREAM_VIDEO"
|
||||
],
|
||||
"enumDescriptions": [
|
||||
|
@ -9945,6 +9952,7 @@
|
|||
"",
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
""
|
||||
],
|
||||
"type": "string"
|
||||
|
@ -10126,6 +10134,7 @@
|
|||
"APP_INTERSTITIAL",
|
||||
"DISPLAY",
|
||||
"DISPLAY_INTERSTITIAL",
|
||||
"IN_STREAM_AUDIO",
|
||||
"IN_STREAM_VIDEO"
|
||||
],
|
||||
"enumDescriptions": [
|
||||
|
@ -10133,6 +10142,7 @@
|
|||
"",
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
""
|
||||
],
|
||||
"type": "string"
|
||||
|
@ -11591,7 +11601,7 @@
|
|||
"type": "string"
|
||||
},
|
||||
"companionCreatives": {
|
||||
"description": "List of companion creatives assigned to an in-Stream videocreative. Acceptable values include IDs of existing flash and image creatives. Applicable to the following creative types: all VPAID and all INSTREAM_VIDEO with dynamicAssetSelection set to false.",
|
||||
"description": "List of companion creatives assigned to an in-Stream video creative. Acceptable values include IDs of existing flash and image creatives. Applicable to the following creative types: all VPAID and all INSTREAM_VIDEO with dynamicAssetSelection set to false.",
|
||||
"items": {
|
||||
"format": "int64",
|
||||
"type": "string"
|
||||
|
@ -11606,6 +11616,7 @@
|
|||
"APP_INTERSTITIAL",
|
||||
"DISPLAY",
|
||||
"DISPLAY_INTERSTITIAL",
|
||||
"IN_STREAM_AUDIO",
|
||||
"IN_STREAM_VIDEO"
|
||||
],
|
||||
"enumDescriptions": [
|
||||
|
@ -11613,6 +11624,7 @@
|
|||
"",
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
""
|
||||
],
|
||||
"type": "string"
|
||||
|
@ -11819,6 +11831,7 @@
|
|||
"FLASH_INPAGE",
|
||||
"HTML5_BANNER",
|
||||
"IMAGE",
|
||||
"INSTREAM_AUDIO",
|
||||
"INSTREAM_VIDEO",
|
||||
"INSTREAM_VIDEO_REDIRECT",
|
||||
"INTERNAL_REDIRECT",
|
||||
|
@ -11859,6 +11872,7 @@
|
|||
"",
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
""
|
||||
],
|
||||
"type": "string"
|
||||
|
@ -14156,6 +14170,7 @@
|
|||
"DBM_PARTNER",
|
||||
"DCM_ACCOUNT",
|
||||
"DCM_ADVERTISER",
|
||||
"DFP_NETWORK_CODE",
|
||||
"ENCRYPTION_ENTITY_TYPE_UNKNOWN"
|
||||
],
|
||||
"enumDescriptions": [
|
||||
|
@ -14164,6 +14179,7 @@
|
|||
"",
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
""
|
||||
],
|
||||
"type": "string"
|
||||
|
@ -16386,6 +16402,7 @@
|
|||
"APP_INTERSTITIAL",
|
||||
"DISPLAY",
|
||||
"DISPLAY_INTERSTITIAL",
|
||||
"IN_STREAM_AUDIO",
|
||||
"IN_STREAM_VIDEO"
|
||||
],
|
||||
"enumDescriptions": [
|
||||
|
@ -16393,6 +16410,7 @@
|
|||
"",
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
""
|
||||
],
|
||||
"type": "string"
|
||||
|
|
27
vendor/google.golang.org/api/dfareporting/v3.0/dfareporting-gen.go
generated
vendored
27
vendor/google.golang.org/api/dfareporting/v3.0/dfareporting-gen.go
generated
vendored
|
@ -1312,7 +1312,8 @@ type AccountUserProfile struct {
|
|||
// field that can be left blank.
|
||||
SubaccountId int64 `json:"subaccountId,omitempty,string"`
|
||||
|
||||
// TraffickerType: Trafficker type of this user profile.
|
||||
// TraffickerType: Trafficker type of this user profile. This is a
|
||||
// read-only field.
|
||||
//
|
||||
// Possible values:
|
||||
// "EXTERNAL_TRAFFICKER"
|
||||
|
@ -1542,6 +1543,7 @@ type Ad struct {
|
|||
// "APP_INTERSTITIAL"
|
||||
// "DISPLAY"
|
||||
// "DISPLAY_INTERSTITIAL"
|
||||
// "IN_STREAM_AUDIO"
|
||||
// "IN_STREAM_VIDEO"
|
||||
Compatibility string `json:"compatibility,omitempty"`
|
||||
|
||||
|
@ -1767,6 +1769,7 @@ type AdSlot struct {
|
|||
// "APP_INTERSTITIAL"
|
||||
// "DISPLAY"
|
||||
// "DISPLAY_INTERSTITIAL"
|
||||
// "IN_STREAM_AUDIO"
|
||||
// "IN_STREAM_VIDEO"
|
||||
Compatibility string `json:"compatibility,omitempty"`
|
||||
|
||||
|
@ -3828,7 +3831,7 @@ type Creative struct {
|
|||
CommercialId string `json:"commercialId,omitempty"`
|
||||
|
||||
// CompanionCreatives: List of companion creatives assigned to an
|
||||
// in-Stream videocreative. Acceptable values include IDs of existing
|
||||
// in-Stream video creative. Acceptable values include IDs of existing
|
||||
// flash and image creatives. Applicable to the following creative
|
||||
// types: all VPAID and all INSTREAM_VIDEO with dynamicAssetSelection
|
||||
// set to false.
|
||||
|
@ -3856,6 +3859,7 @@ type Creative struct {
|
|||
// "APP_INTERSTITIAL"
|
||||
// "DISPLAY"
|
||||
// "DISPLAY_INTERSTITIAL"
|
||||
// "IN_STREAM_AUDIO"
|
||||
// "IN_STREAM_VIDEO"
|
||||
Compatibility []string `json:"compatibility,omitempty"`
|
||||
|
||||
|
@ -4091,6 +4095,7 @@ type Creative struct {
|
|||
// "FLASH_INPAGE"
|
||||
// "HTML5_BANNER"
|
||||
// "IMAGE"
|
||||
// "INSTREAM_AUDIO"
|
||||
// "INSTREAM_VIDEO"
|
||||
// "INSTREAM_VIDEO_REDIRECT"
|
||||
// "INTERNAL_REDIRECT"
|
||||
|
@ -6829,6 +6834,7 @@ type EncryptionInfo struct {
|
|||
// "DBM_PARTNER"
|
||||
// "DCM_ACCOUNT"
|
||||
// "DCM_ADVERTISER"
|
||||
// "DFP_NETWORK_CODE"
|
||||
// "ENCRYPTION_ENTITY_TYPE_UNKNOWN"
|
||||
EncryptionEntityType string `json:"encryptionEntityType,omitempty"`
|
||||
|
||||
|
@ -9681,6 +9687,7 @@ type Placement struct {
|
|||
// "APP_INTERSTITIAL"
|
||||
// "DISPLAY"
|
||||
// "DISPLAY_INTERSTITIAL"
|
||||
// "IN_STREAM_AUDIO"
|
||||
// "IN_STREAM_VIDEO"
|
||||
Compatibility string `json:"compatibility,omitempty"`
|
||||
|
||||
|
@ -16628,6 +16635,7 @@ func (c *AdsListCall) CampaignIds(campaignIds ...int64) *AdsListCall {
|
|||
// "APP_INTERSTITIAL"
|
||||
// "DISPLAY"
|
||||
// "DISPLAY_INTERSTITIAL"
|
||||
// "IN_STREAM_AUDIO"
|
||||
// "IN_STREAM_VIDEO"
|
||||
func (c *AdsListCall) Compatibility(compatibility string) *AdsListCall {
|
||||
c.urlParams_.Set("compatibility", compatibility)
|
||||
|
@ -16944,6 +16952,7 @@ func (c *AdsListCall) Do(opts ...googleapi.CallOption) (*AdsListResponse, error)
|
|||
// "APP_INTERSTITIAL",
|
||||
// "DISPLAY",
|
||||
// "DISPLAY_INTERSTITIAL",
|
||||
// "IN_STREAM_AUDIO",
|
||||
// "IN_STREAM_VIDEO"
|
||||
// ],
|
||||
// "enumDescriptions": [
|
||||
|
@ -16951,6 +16960,7 @@ func (c *AdsListCall) Do(opts ...googleapi.CallOption) (*AdsListResponse, error)
|
|||
// "",
|
||||
// "",
|
||||
// "",
|
||||
// "",
|
||||
// ""
|
||||
// ],
|
||||
// "location": "query",
|
||||
|
@ -27768,6 +27778,7 @@ func (c *CreativesListCall) StudioCreativeId(studioCreativeId int64) *CreativesL
|
|||
// "FLASH_INPAGE"
|
||||
// "HTML5_BANNER"
|
||||
// "IMAGE"
|
||||
// "INSTREAM_AUDIO"
|
||||
// "INSTREAM_VIDEO"
|
||||
// "INSTREAM_VIDEO_REDIRECT"
|
||||
// "INTERNAL_REDIRECT"
|
||||
|
@ -28018,6 +28029,7 @@ func (c *CreativesListCall) Do(opts ...googleapi.CallOption) (*CreativesListResp
|
|||
// "FLASH_INPAGE",
|
||||
// "HTML5_BANNER",
|
||||
// "IMAGE",
|
||||
// "INSTREAM_AUDIO",
|
||||
// "INSTREAM_VIDEO",
|
||||
// "INSTREAM_VIDEO_REDIRECT",
|
||||
// "INTERNAL_REDIRECT",
|
||||
|
@ -28058,6 +28070,7 @@ func (c *CreativesListCall) Do(opts ...googleapi.CallOption) (*CreativesListResp
|
|||
// "",
|
||||
// "",
|
||||
// "",
|
||||
// "",
|
||||
// ""
|
||||
// ],
|
||||
// "location": "query",
|
||||
|
@ -39429,6 +39442,7 @@ func (c *PlacementsListCall) CampaignIds(campaignIds ...int64) *PlacementsListCa
|
|||
// "APP_INTERSTITIAL"
|
||||
// "DISPLAY"
|
||||
// "DISPLAY_INTERSTITIAL"
|
||||
// "IN_STREAM_AUDIO"
|
||||
// "IN_STREAM_VIDEO"
|
||||
func (c *PlacementsListCall) Compatibilities(compatibilities ...string) *PlacementsListCall {
|
||||
c.urlParams_.SetMulti("compatibilities", append([]string{}, compatibilities...))
|
||||
|
@ -39749,6 +39763,7 @@ func (c *PlacementsListCall) Do(opts ...googleapi.CallOption) (*PlacementsListRe
|
|||
// "APP_INTERSTITIAL",
|
||||
// "DISPLAY",
|
||||
// "DISPLAY_INTERSTITIAL",
|
||||
// "IN_STREAM_AUDIO",
|
||||
// "IN_STREAM_VIDEO"
|
||||
// ],
|
||||
// "enumDescriptions": [
|
||||
|
@ -39756,6 +39771,7 @@ func (c *PlacementsListCall) Do(opts ...googleapi.CallOption) (*PlacementsListRe
|
|||
// "",
|
||||
// "",
|
||||
// "",
|
||||
// "",
|
||||
// ""
|
||||
// ],
|
||||
// "location": "query",
|
||||
|
@ -45568,7 +45584,10 @@ type SizesListCall struct {
|
|||
header_ http.Header
|
||||
}
|
||||
|
||||
// List: Retrieves a list of sizes, possibly filtered.
|
||||
// List: Retrieves a list of sizes, possibly filtered. Retrieved sizes
|
||||
// are globally unique and may include values not currently in use by
|
||||
// your account. Due to this, the list of sizes returned by this method
|
||||
// may differ from the list seen in the Trafficking UI.
|
||||
func (r *SizesService) List(profileId int64) *SizesListCall {
|
||||
c := &SizesListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
|
||||
c.profileId = profileId
|
||||
|
@ -45701,7 +45720,7 @@ func (c *SizesListCall) Do(opts ...googleapi.CallOption) (*SizesListResponse, er
|
|||
}
|
||||
return ret, nil
|
||||
// {
|
||||
// "description": "Retrieves a list of sizes, possibly filtered.",
|
||||
// "description": "Retrieves a list of sizes, possibly filtered. Retrieved sizes are globally unique and may include values not currently in use by your account. Due to this, the list of sizes returned by this method may differ from the list seen in the Trafficking UI.",
|
||||
// "httpMethod": "GET",
|
||||
// "id": "dfareporting.sizes.list",
|
||||
// "parameterOrder": [
|
||||
|
|
20016
vendor/google.golang.org/api/dfareporting/v3.1/dfareporting-api.json
generated
vendored
Normal file
20016
vendor/google.golang.org/api/dfareporting/v3.1/dfareporting-api.json
generated
vendored
Normal file
File diff suppressed because it is too large
Load diff
50553
vendor/google.golang.org/api/dfareporting/v3.1/dfareporting-gen.go
generated
vendored
Normal file
50553
vendor/google.golang.org/api/dfareporting/v3.1/dfareporting-gen.go
generated
vendored
Normal file
File diff suppressed because it is too large
Load diff
23
vendor/google.golang.org/api/dialogflow/v2/dialogflow-api.json
generated
vendored
23
vendor/google.golang.org/api/dialogflow/v2/dialogflow-api.json
generated
vendored
|
@ -60,11 +60,6 @@
|
|||
"location": "query",
|
||||
"type": "string"
|
||||
},
|
||||
"bearer_token": {
|
||||
"description": "OAuth bearer token.",
|
||||
"location": "query",
|
||||
"type": "string"
|
||||
},
|
||||
"callback": {
|
||||
"description": "JSONP",
|
||||
"location": "query",
|
||||
|
@ -85,12 +80,6 @@
|
|||
"location": "query",
|
||||
"type": "string"
|
||||
},
|
||||
"pp": {
|
||||
"default": "true",
|
||||
"description": "Pretty-print response.",
|
||||
"location": "query",
|
||||
"type": "boolean"
|
||||
},
|
||||
"prettyPrint": {
|
||||
"default": "true",
|
||||
"description": "Returns response with indentations and line breaks.",
|
||||
|
@ -1275,7 +1264,7 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
"revision": "20180430",
|
||||
"revision": "20180604",
|
||||
"rootUrl": "https://dialogflow.googleapis.com/",
|
||||
"schemas": {
|
||||
"GoogleCloudDialogflowV2Agent": {
|
||||
|
@ -1685,7 +1674,7 @@
|
|||
"id": "GoogleCloudDialogflowV2ExportAgentRequest",
|
||||
"properties": {
|
||||
"agentUri": {
|
||||
"description": "Optional. The Google Cloud Storage URI to export the agent to.\nNote: The URI must start with\n\"gs://\". If left unspecified, the serialized agent is returned inline.",
|
||||
"description": "Optional. The\n[Google Cloud Storage](https://cloud.google.com/storage/docs/)\nURI to export the agent to.\nThe format of this URI must be `gs://\u003cbucket-name\u003e/\u003cobject-name\u003e`.\nIf left unspecified, the serialized agent is returned inline.",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
|
@ -1771,7 +1760,7 @@
|
|||
"type": "object"
|
||||
},
|
||||
"GoogleCloudDialogflowV2Intent": {
|
||||
"description": "Represents an intent.\nIntents convert a number of user expressions or patterns into an action. An\naction is an extraction of a user command or sentence semantics.",
|
||||
"description": "Represents an intent.\nIntents convert a number of user expressions or patterns into an action. An\naction is an extraction of a user command or sentence semantics.\nNext available field number: 22.",
|
||||
"id": "GoogleCloudDialogflowV2Intent",
|
||||
"properties": {
|
||||
"action": {
|
||||
|
@ -2974,7 +2963,7 @@
|
|||
"type": "object"
|
||||
},
|
||||
"GoogleCloudDialogflowV2beta1Intent": {
|
||||
"description": "Represents an intent.\nIntents convert a number of user expressions or patterns into an action. An\naction is an extraction of a user command or sentence semantics.",
|
||||
"description": "Represents an intent.\nIntents convert a number of user expressions or patterns into an action. An\naction is an extraction of a user command or sentence semantics.\nNext available field number: 22.",
|
||||
"id": "GoogleCloudDialogflowV2beta1Intent",
|
||||
"properties": {
|
||||
"action": {
|
||||
|
@ -3051,7 +3040,7 @@
|
|||
"type": "boolean"
|
||||
},
|
||||
"mlEnabled": {
|
||||
"description": "Optional. Indicates whether Machine Learning is enabled for the intent.\nNote: If `ml_enabled` setting is set to false, then this intent is not\ntaken into account during inference in `ML ONLY` match mode. Also,\nauto-markup in the UI is turned off.\nDEPRECATED! Please use `ml_disabled` field instead.\nNOTE: If neither `ml_enabled` nor `ml_disabled` field is set, then the\ndefault value is determined as follows:\n- Before April 15th, 2018 the default is:\n ml_enabled = false / ml_disabled = true.\n- After April 15th, 2018 the default is:\n ml_enabled = true / ml_disabled = false.",
|
||||
"description": "Optional. Indicates whether Machine Learning is enabled for the intent.\nNote: If `ml_enabled` setting is set to false, then this intent is not\ntaken into account during inference in `ML ONLY` match mode. Also,\nauto-markup in the UI is turned off.\nDEPRECATED! Please use `ml_disabled` field instead.\nNOTE: If both `ml_enabled` and `ml_disabled` are either not set or false,\nthen the default value is determined as follows:\n- Before April 15th, 2018 the default is:\n ml_enabled = false / ml_disabled = true.\n- After April 15th, 2018 the default is:\n ml_enabled = true / ml_disabled = false.",
|
||||
"type": "boolean"
|
||||
},
|
||||
"name": {
|
||||
|
@ -3348,7 +3337,7 @@
|
|||
"id": "GoogleCloudDialogflowV2beta1IntentMessageImage",
|
||||
"properties": {
|
||||
"accessibilityText": {
|
||||
"description": "Optional. A text description of the image to be used for accessibility,\ne.g., screen readers.",
|
||||
"description": "A text description of the image to be used for accessibility,\ne.g., screen readers. Required if image_uri is set for CarouselSelect.",
|
||||
"type": "string"
|
||||
},
|
||||
"imageUri": {
|
||||
|
|
25
vendor/google.golang.org/api/dialogflow/v2/dialogflow-gen.go
generated
vendored
25
vendor/google.golang.org/api/dialogflow/v2/dialogflow-gen.go
generated
vendored
|
@ -996,11 +996,11 @@ func (s *GoogleCloudDialogflowV2EventInput) MarshalJSON() ([]byte, error) {
|
|||
// GoogleCloudDialogflowV2ExportAgentRequest: The request message for
|
||||
// Agents.ExportAgent.
|
||||
type GoogleCloudDialogflowV2ExportAgentRequest struct {
|
||||
// AgentUri: Optional. The Google Cloud Storage URI to export the agent
|
||||
// to.
|
||||
// Note: The URI must start with
|
||||
// "gs://". If left unspecified, the serialized agent is returned
|
||||
// inline.
|
||||
// AgentUri: Optional. The
|
||||
// [Google Cloud Storage](https://cloud.google.com/storage/docs/)
|
||||
// URI to export the agent to.
|
||||
// The format of this URI must be `gs://<bucket-name>/<object-name>`.
|
||||
// If left unspecified, the serialized agent is returned inline.
|
||||
AgentUri string `json:"agentUri,omitempty"`
|
||||
|
||||
// ForceSendFields is a list of field names (e.g. "AgentUri") to
|
||||
|
@ -1241,6 +1241,7 @@ func (s *GoogleCloudDialogflowV2InputAudioConfig) MarshalJSON() ([]byte, error)
|
|||
// Intents convert a number of user expressions or patterns into an
|
||||
// action. An
|
||||
// action is an extraction of a user command or sentence semantics.
|
||||
// Next available field number: 22.
|
||||
type GoogleCloudDialogflowV2Intent struct {
|
||||
// Action: Optional. The name of the action associated with the intent.
|
||||
Action string `json:"action,omitempty"`
|
||||
|
@ -3568,6 +3569,7 @@ func (s *GoogleCloudDialogflowV2beta1ExportAgentResponse) MarshalJSON() ([]byte,
|
|||
// Intents convert a number of user expressions or patterns into an
|
||||
// action. An
|
||||
// action is an extraction of a user command or sentence semantics.
|
||||
// Next available field number: 22.
|
||||
type GoogleCloudDialogflowV2beta1Intent struct {
|
||||
// Action: Optional. The name of the action associated with the intent.
|
||||
Action string `json:"action,omitempty"`
|
||||
|
@ -3703,9 +3705,9 @@ type GoogleCloudDialogflowV2beta1Intent struct {
|
|||
// Also,
|
||||
// auto-markup in the UI is turned off.
|
||||
// DEPRECATED! Please use `ml_disabled` field instead.
|
||||
// NOTE: If neither `ml_enabled` nor `ml_disabled` field is set, then
|
||||
// the
|
||||
// default value is determined as follows:
|
||||
// NOTE: If both `ml_enabled` and `ml_disabled` are either not set or
|
||||
// false,
|
||||
// then the default value is determined as follows:
|
||||
// - Before April 15th, 2018 the default is:
|
||||
// ml_enabled = false / ml_disabled = true.
|
||||
// - After April 15th, 2018 the default is:
|
||||
|
@ -4229,9 +4231,10 @@ func (s *GoogleCloudDialogflowV2beta1IntentMessageCarouselSelectItem) MarshalJSO
|
|||
// GoogleCloudDialogflowV2beta1IntentMessageImage: The image response
|
||||
// message.
|
||||
type GoogleCloudDialogflowV2beta1IntentMessageImage struct {
|
||||
// AccessibilityText: Optional. A text description of the image to be
|
||||
// used for accessibility,
|
||||
// e.g., screen readers.
|
||||
// AccessibilityText: A text description of the image to be used for
|
||||
// accessibility,
|
||||
// e.g., screen readers. Required if image_uri is set for
|
||||
// CarouselSelect.
|
||||
AccessibilityText string `json:"accessibilityText,omitempty"`
|
||||
|
||||
// ImageUri: Optional. The public URI to an image file.
|
||||
|
|
27
vendor/google.golang.org/api/dialogflow/v2beta1/dialogflow-api.json
generated
vendored
27
vendor/google.golang.org/api/dialogflow/v2beta1/dialogflow-api.json
generated
vendored
|
@ -60,11 +60,6 @@
|
|||
"location": "query",
|
||||
"type": "string"
|
||||
},
|
||||
"bearer_token": {
|
||||
"description": "OAuth bearer token.",
|
||||
"location": "query",
|
||||
"type": "string"
|
||||
},
|
||||
"callback": {
|
||||
"description": "JSONP",
|
||||
"location": "query",
|
||||
|
@ -85,12 +80,6 @@
|
|||
"location": "query",
|
||||
"type": "string"
|
||||
},
|
||||
"pp": {
|
||||
"default": "true",
|
||||
"description": "Pretty-print response.",
|
||||
"location": "query",
|
||||
"type": "boolean"
|
||||
},
|
||||
"prettyPrint": {
|
||||
"default": "true",
|
||||
"description": "Returns response with indentations and line breaks.",
|
||||
|
@ -655,7 +644,7 @@
|
|||
],
|
||||
"parameters": {
|
||||
"session": {
|
||||
"description": "Required. The name of the session this query is sent to. Format:\n`projects/\u003cProject ID\u003e/agent/sessions/\u003cSession ID\u003e`, or\n`projects/\u003cProject ID\u003e/agent/environments/\u003cEnvironment ID\u003e/users/\u003cUser\nID\u003e/sessions/\u003cSession ID\u003e`. Note: Environments and users are under\nconstruction and will be available soon. If \u003cEnvironment ID\u003e is not\nspecified, we assume default 'draft' environment. If \u003cUser ID\u003e is not\nspecified, we are using \"-\". It’s up to the API caller to choose an\nappropriate \u003cSession ID\u003e. and \u003cUser Id\u003e. They can be a random numbers or\nsome type of user and session identifiers (preferably hashed). The length\nof the \u003cSession ID\u003e and \u003cUser ID\u003e must not exceed 36 characters.",
|
||||
"description": "Required. The name of the session this query is sent to. Format:\n`projects/\u003cProject ID\u003e/agent/sessions/\u003cSession ID\u003e`, or\n`projects/\u003cProject ID\u003e/agent/environments/\u003cEnvironment ID\u003e/users/\u003cUser\nID\u003e/sessions/\u003cSession ID\u003e`. Note: Environments and users are under\nconstruction and will be available soon. If \u003cEnvironment ID\u003e is not\nspecified, we assume default 'draft' environment. If \u003cUser ID\u003e is not\nspecified, we are using \"-\". It’s up to the API caller to choose an\nappropriate \u003cSession ID\u003e and \u003cUser Id\u003e. They can be a random numbers or\nsome type of user and session identifiers (preferably hashed). The length\nof the \u003cSession ID\u003e and \u003cUser ID\u003e must not exceed 36 characters.",
|
||||
"location": "path",
|
||||
"pattern": "^projects/[^/]+/agent/environments/[^/]+/users/[^/]+/sessions/[^/]+$",
|
||||
"required": true,
|
||||
|
@ -1286,7 +1275,7 @@
|
|||
],
|
||||
"parameters": {
|
||||
"session": {
|
||||
"description": "Required. The name of the session this query is sent to. Format:\n`projects/\u003cProject ID\u003e/agent/sessions/\u003cSession ID\u003e`, or\n`projects/\u003cProject ID\u003e/agent/environments/\u003cEnvironment ID\u003e/users/\u003cUser\nID\u003e/sessions/\u003cSession ID\u003e`. Note: Environments and users are under\nconstruction and will be available soon. If \u003cEnvironment ID\u003e is not\nspecified, we assume default 'draft' environment. If \u003cUser ID\u003e is not\nspecified, we are using \"-\". It’s up to the API caller to choose an\nappropriate \u003cSession ID\u003e. and \u003cUser Id\u003e. They can be a random numbers or\nsome type of user and session identifiers (preferably hashed). The length\nof the \u003cSession ID\u003e and \u003cUser ID\u003e must not exceed 36 characters.",
|
||||
"description": "Required. The name of the session this query is sent to. Format:\n`projects/\u003cProject ID\u003e/agent/sessions/\u003cSession ID\u003e`, or\n`projects/\u003cProject ID\u003e/agent/environments/\u003cEnvironment ID\u003e/users/\u003cUser\nID\u003e/sessions/\u003cSession ID\u003e`. Note: Environments and users are under\nconstruction and will be available soon. If \u003cEnvironment ID\u003e is not\nspecified, we assume default 'draft' environment. If \u003cUser ID\u003e is not\nspecified, we are using \"-\". It’s up to the API caller to choose an\nappropriate \u003cSession ID\u003e and \u003cUser Id\u003e. They can be a random numbers or\nsome type of user and session identifiers (preferably hashed). The length\nof the \u003cSession ID\u003e and \u003cUser ID\u003e must not exceed 36 characters.",
|
||||
"location": "path",
|
||||
"pattern": "^projects/[^/]+/agent/sessions/[^/]+$",
|
||||
"required": true,
|
||||
|
@ -1646,7 +1635,7 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
"revision": "20180430",
|
||||
"revision": "20180604",
|
||||
"rootUrl": "https://dialogflow.googleapis.com/",
|
||||
"schemas": {
|
||||
"GoogleCloudDialogflowV2BatchUpdateEntityTypesResponse": {
|
||||
|
@ -1807,7 +1796,7 @@
|
|||
"type": "object"
|
||||
},
|
||||
"GoogleCloudDialogflowV2Intent": {
|
||||
"description": "Represents an intent.\nIntents convert a number of user expressions or patterns into an action. An\naction is an extraction of a user command or sentence semantics.",
|
||||
"description": "Represents an intent.\nIntents convert a number of user expressions or patterns into an action. An\naction is an extraction of a user command or sentence semantics.\nNext available field number: 22.",
|
||||
"id": "GoogleCloudDialogflowV2Intent",
|
||||
"properties": {
|
||||
"action": {
|
||||
|
@ -3026,7 +3015,7 @@
|
|||
"id": "GoogleCloudDialogflowV2beta1ExportAgentRequest",
|
||||
"properties": {
|
||||
"agentUri": {
|
||||
"description": "Optional. The Google Cloud Storage URI to export the agent to.\nNote: The URI must start with\n\"gs://\". If left unspecified, the serialized agent is returned inline.",
|
||||
"description": "Optional. The\n[Google Cloud Storage](https://cloud.google.com/storage/docs/)\nURI to export the agent to.\nThe format of this URI must be `gs://\u003cbucket-name\u003e/\u003cobject-name\u003e`.\nIf left unspecified, the serialized agent is returned inline.",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
|
@ -3112,7 +3101,7 @@
|
|||
"type": "object"
|
||||
},
|
||||
"GoogleCloudDialogflowV2beta1Intent": {
|
||||
"description": "Represents an intent.\nIntents convert a number of user expressions or patterns into an action. An\naction is an extraction of a user command or sentence semantics.",
|
||||
"description": "Represents an intent.\nIntents convert a number of user expressions or patterns into an action. An\naction is an extraction of a user command or sentence semantics.\nNext available field number: 22.",
|
||||
"id": "GoogleCloudDialogflowV2beta1Intent",
|
||||
"properties": {
|
||||
"action": {
|
||||
|
@ -3189,7 +3178,7 @@
|
|||
"type": "boolean"
|
||||
},
|
||||
"mlEnabled": {
|
||||
"description": "Optional. Indicates whether Machine Learning is enabled for the intent.\nNote: If `ml_enabled` setting is set to false, then this intent is not\ntaken into account during inference in `ML ONLY` match mode. Also,\nauto-markup in the UI is turned off.\nDEPRECATED! Please use `ml_disabled` field instead.\nNOTE: If neither `ml_enabled` nor `ml_disabled` field is set, then the\ndefault value is determined as follows:\n- Before April 15th, 2018 the default is:\n ml_enabled = false / ml_disabled = true.\n- After April 15th, 2018 the default is:\n ml_enabled = true / ml_disabled = false.",
|
||||
"description": "Optional. Indicates whether Machine Learning is enabled for the intent.\nNote: If `ml_enabled` setting is set to false, then this intent is not\ntaken into account during inference in `ML ONLY` match mode. Also,\nauto-markup in the UI is turned off.\nDEPRECATED! Please use `ml_disabled` field instead.\nNOTE: If both `ml_enabled` and `ml_disabled` are either not set or false,\nthen the default value is determined as follows:\n- Before April 15th, 2018 the default is:\n ml_enabled = false / ml_disabled = true.\n- After April 15th, 2018 the default is:\n ml_enabled = true / ml_disabled = false.",
|
||||
"type": "boolean"
|
||||
},
|
||||
"name": {
|
||||
|
@ -3500,7 +3489,7 @@
|
|||
"id": "GoogleCloudDialogflowV2beta1IntentMessageImage",
|
||||
"properties": {
|
||||
"accessibilityText": {
|
||||
"description": "Optional. A text description of the image to be used for accessibility,\ne.g., screen readers.",
|
||||
"description": "A text description of the image to be used for accessibility,\ne.g., screen readers. Required if image_uri is set for CarouselSelect.",
|
||||
"type": "string"
|
||||
},
|
||||
"imageUri": {
|
||||
|
|
29
vendor/google.golang.org/api/dialogflow/v2beta1/dialogflow-gen.go
generated
vendored
29
vendor/google.golang.org/api/dialogflow/v2beta1/dialogflow-gen.go
generated
vendored
|
@ -559,6 +559,7 @@ func (s *GoogleCloudDialogflowV2ExportAgentResponse) MarshalJSON() ([]byte, erro
|
|||
// Intents convert a number of user expressions or patterns into an
|
||||
// action. An
|
||||
// action is an extraction of a user command or sentence semantics.
|
||||
// Next available field number: 22.
|
||||
type GoogleCloudDialogflowV2Intent struct {
|
||||
// Action: Optional. The name of the action associated with the intent.
|
||||
Action string `json:"action,omitempty"`
|
||||
|
@ -2879,11 +2880,11 @@ func (s *GoogleCloudDialogflowV2beta1EventInput) MarshalJSON() ([]byte, error) {
|
|||
// GoogleCloudDialogflowV2beta1ExportAgentRequest: The request message
|
||||
// for Agents.ExportAgent.
|
||||
type GoogleCloudDialogflowV2beta1ExportAgentRequest struct {
|
||||
// AgentUri: Optional. The Google Cloud Storage URI to export the agent
|
||||
// to.
|
||||
// Note: The URI must start with
|
||||
// "gs://". If left unspecified, the serialized agent is returned
|
||||
// inline.
|
||||
// AgentUri: Optional. The
|
||||
// [Google Cloud Storage](https://cloud.google.com/storage/docs/)
|
||||
// URI to export the agent to.
|
||||
// The format of this URI must be `gs://<bucket-name>/<object-name>`.
|
||||
// If left unspecified, the serialized agent is returned inline.
|
||||
AgentUri string `json:"agentUri,omitempty"`
|
||||
|
||||
// ForceSendFields is a list of field names (e.g. "AgentUri") to
|
||||
|
@ -3124,6 +3125,7 @@ func (s *GoogleCloudDialogflowV2beta1InputAudioConfig) MarshalJSON() ([]byte, er
|
|||
// Intents convert a number of user expressions or patterns into an
|
||||
// action. An
|
||||
// action is an extraction of a user command or sentence semantics.
|
||||
// Next available field number: 22.
|
||||
type GoogleCloudDialogflowV2beta1Intent struct {
|
||||
// Action: Optional. The name of the action associated with the intent.
|
||||
Action string `json:"action,omitempty"`
|
||||
|
@ -3259,9 +3261,9 @@ type GoogleCloudDialogflowV2beta1Intent struct {
|
|||
// Also,
|
||||
// auto-markup in the UI is turned off.
|
||||
// DEPRECATED! Please use `ml_disabled` field instead.
|
||||
// NOTE: If neither `ml_enabled` nor `ml_disabled` field is set, then
|
||||
// the
|
||||
// default value is determined as follows:
|
||||
// NOTE: If both `ml_enabled` and `ml_disabled` are either not set or
|
||||
// false,
|
||||
// then the default value is determined as follows:
|
||||
// - Before April 15th, 2018 the default is:
|
||||
// ml_enabled = false / ml_disabled = true.
|
||||
// - After April 15th, 2018 the default is:
|
||||
|
@ -3818,9 +3820,10 @@ func (s *GoogleCloudDialogflowV2beta1IntentMessageCarouselSelectItem) MarshalJSO
|
|||
// GoogleCloudDialogflowV2beta1IntentMessageImage: The image response
|
||||
// message.
|
||||
type GoogleCloudDialogflowV2beta1IntentMessageImage struct {
|
||||
// AccessibilityText: Optional. A text description of the image to be
|
||||
// used for accessibility,
|
||||
// e.g., screen readers.
|
||||
// AccessibilityText: A text description of the image to be used for
|
||||
// accessibility,
|
||||
// e.g., screen readers. Required if image_uri is set for
|
||||
// CarouselSelect.
|
||||
AccessibilityText string `json:"accessibilityText,omitempty"`
|
||||
|
||||
// ImageUri: Optional. The public URI to an image file.
|
||||
|
@ -8115,7 +8118,7 @@ func (c *ProjectsAgentEnvironmentsUsersSessionsDetectIntentCall) Do(opts ...goog
|
|||
// ],
|
||||
// "parameters": {
|
||||
// "session": {
|
||||
// "description": "Required. The name of the session this query is sent to. Format:\n`projects/\u003cProject ID\u003e/agent/sessions/\u003cSession ID\u003e`, or\n`projects/\u003cProject ID\u003e/agent/environments/\u003cEnvironment ID\u003e/users/\u003cUser\nID\u003e/sessions/\u003cSession ID\u003e`. Note: Environments and users are under\nconstruction and will be available soon. If \u003cEnvironment ID\u003e is not\nspecified, we assume default 'draft' environment. If \u003cUser ID\u003e is not\nspecified, we are using \"-\". It’s up to the API caller to choose an\nappropriate \u003cSession ID\u003e. and \u003cUser Id\u003e. They can be a random numbers or\nsome type of user and session identifiers (preferably hashed). The length\nof the \u003cSession ID\u003e and \u003cUser ID\u003e must not exceed 36 characters.",
|
||||
// "description": "Required. The name of the session this query is sent to. Format:\n`projects/\u003cProject ID\u003e/agent/sessions/\u003cSession ID\u003e`, or\n`projects/\u003cProject ID\u003e/agent/environments/\u003cEnvironment ID\u003e/users/\u003cUser\nID\u003e/sessions/\u003cSession ID\u003e`. Note: Environments and users are under\nconstruction and will be available soon. If \u003cEnvironment ID\u003e is not\nspecified, we assume default 'draft' environment. If \u003cUser ID\u003e is not\nspecified, we are using \"-\". It’s up to the API caller to choose an\nappropriate \u003cSession ID\u003e and \u003cUser Id\u003e. They can be a random numbers or\nsome type of user and session identifiers (preferably hashed). The length\nof the \u003cSession ID\u003e and \u003cUser ID\u003e must not exceed 36 characters.",
|
||||
// "location": "path",
|
||||
// "pattern": "^projects/[^/]+/agent/environments/[^/]+/users/[^/]+/sessions/[^/]+$",
|
||||
// "required": true,
|
||||
|
@ -11036,7 +11039,7 @@ func (c *ProjectsAgentSessionsDetectIntentCall) Do(opts ...googleapi.CallOption)
|
|||
// ],
|
||||
// "parameters": {
|
||||
// "session": {
|
||||
// "description": "Required. The name of the session this query is sent to. Format:\n`projects/\u003cProject ID\u003e/agent/sessions/\u003cSession ID\u003e`, or\n`projects/\u003cProject ID\u003e/agent/environments/\u003cEnvironment ID\u003e/users/\u003cUser\nID\u003e/sessions/\u003cSession ID\u003e`. Note: Environments and users are under\nconstruction and will be available soon. If \u003cEnvironment ID\u003e is not\nspecified, we assume default 'draft' environment. If \u003cUser ID\u003e is not\nspecified, we are using \"-\". It’s up to the API caller to choose an\nappropriate \u003cSession ID\u003e. and \u003cUser Id\u003e. They can be a random numbers or\nsome type of user and session identifiers (preferably hashed). The length\nof the \u003cSession ID\u003e and \u003cUser ID\u003e must not exceed 36 characters.",
|
||||
// "description": "Required. The name of the session this query is sent to. Format:\n`projects/\u003cProject ID\u003e/agent/sessions/\u003cSession ID\u003e`, or\n`projects/\u003cProject ID\u003e/agent/environments/\u003cEnvironment ID\u003e/users/\u003cUser\nID\u003e/sessions/\u003cSession ID\u003e`. Note: Environments and users are under\nconstruction and will be available soon. If \u003cEnvironment ID\u003e is not\nspecified, we assume default 'draft' environment. If \u003cUser ID\u003e is not\nspecified, we are using \"-\". It’s up to the API caller to choose an\nappropriate \u003cSession ID\u003e and \u003cUser Id\u003e. They can be a random numbers or\nsome type of user and session identifiers (preferably hashed). The length\nof the \u003cSession ID\u003e and \u003cUser ID\u003e must not exceed 36 characters.",
|
||||
// "location": "path",
|
||||
// "pattern": "^projects/[^/]+/agent/sessions/[^/]+$",
|
||||
// "required": true,
|
||||
|
|
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