vendor: update google.golang.org/api

This commit is contained in:
Martin Atkins 2018-10-15 10:01:09 -07:00
parent 66f96cf842
commit d5d8596bb1
4 changed files with 52 additions and 193 deletions

2
go.mod
View File

@ -131,7 +131,7 @@ require (
golang.org/x/oauth2 v0.0.0-20181003184128-c57b0facaced golang.org/x/oauth2 v0.0.0-20181003184128-c57b0facaced
golang.org/x/sys v0.0.0-20180925112736-b09afc3d579e // indirect golang.org/x/sys v0.0.0-20180925112736-b09afc3d579e // indirect
golang.org/x/time v0.0.0-20180412165947-fbb02b2291d2 // indirect golang.org/x/time v0.0.0-20180412165947-fbb02b2291d2 // indirect
google.golang.org/api v0.0.0-20181016191922-cc9bd73d51b4 google.golang.org/api v0.0.0-20181015145326-625cd1887957
google.golang.org/appengine v1.2.0 // indirect google.golang.org/appengine v1.2.0 // indirect
google.golang.org/grpc v1.14.0 google.golang.org/grpc v1.14.0
gopkg.in/vmihailenco/msgpack.v2 v2.9.1 // indirect gopkg.in/vmihailenco/msgpack.v2 v2.9.1 // indirect

4
go.sum
View File

@ -318,8 +318,8 @@ golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
golang.org/x/time v0.0.0-20180412165947-fbb02b2291d2 h1:+DCIGbF/swA92ohVg0//6X2IVY3KZs6p9mix0ziNYJM= golang.org/x/time v0.0.0-20180412165947-fbb02b2291d2 h1:+DCIGbF/swA92ohVg0//6X2IVY3KZs6p9mix0ziNYJM=
golang.org/x/time v0.0.0-20180412165947-fbb02b2291d2/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= golang.org/x/time v0.0.0-20180412165947-fbb02b2291d2/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ=
google.golang.org/api v0.0.0-20180910000450-7ca32eb868bf/go.mod h1:4mhQ8q/RsB7i+udVvVy5NUi08OU8ZlA0gRVgrF7VFY0= google.golang.org/api v0.0.0-20180910000450-7ca32eb868bf/go.mod h1:4mhQ8q/RsB7i+udVvVy5NUi08OU8ZlA0gRVgrF7VFY0=
google.golang.org/api v0.0.0-20181016191922-cc9bd73d51b4 h1:UG/pYY/NIJQts35nrjCyhIaqDFnVbUNykqHXNnCOYBs= google.golang.org/api v0.0.0-20181015145326-625cd1887957 h1:jwCmWUTrTFfjsobRuGurnCQeW4NZKijaIf6yAXwLR0E=
google.golang.org/api v0.0.0-20181016191922-cc9bd73d51b4/go.mod h1:4mhQ8q/RsB7i+udVvVy5NUi08OU8ZlA0gRVgrF7VFY0= google.golang.org/api v0.0.0-20181015145326-625cd1887957/go.mod h1:4mhQ8q/RsB7i+udVvVy5NUi08OU8ZlA0gRVgrF7VFY0=
google.golang.org/appengine v1.1.0 h1:igQkv0AAhEIvTEpD5LIpAfav2eeVO9HBTjvKHVJPRSs= google.golang.org/appengine v1.1.0 h1:igQkv0AAhEIvTEpD5LIpAfav2eeVO9HBTjvKHVJPRSs=
google.golang.org/appengine v1.1.0/go.mod h1:EbEs0AVv82hx2wNQdGPgUI5lhzA/G0D9YwlJXL52JkM= google.golang.org/appengine v1.1.0/go.mod h1:EbEs0AVv82hx2wNQdGPgUI5lhzA/G0D9YwlJXL52JkM=
google.golang.org/appengine v1.2.0 h1:S0iUepdCWODXRvtE+gcRDd15L+k+k1AiHlMiMjefH24= google.golang.org/appengine v1.2.0 h1:S0iUepdCWODXRvtE+gcRDd15L+k+k1AiHlMiMjefH24=

View File

@ -2003,10 +2003,7 @@ func (c *BucketAccessControlsDeleteCall) doRequest(alt string) (*http.Response,
c.urlParams_.Set("prettyPrint", "false") c.urlParams_.Set("prettyPrint", "false")
urls := googleapi.ResolveRelative(c.s.BasePath, "b/{bucket}/acl/{entity}") urls := googleapi.ResolveRelative(c.s.BasePath, "b/{bucket}/acl/{entity}")
urls += "?" + c.urlParams_.Encode() urls += "?" + c.urlParams_.Encode()
req, err := http.NewRequest("DELETE", urls, body) req, _ := http.NewRequest("DELETE", urls, body)
if err != nil {
return nil, err
}
req.Header = reqHeaders req.Header = reqHeaders
googleapi.Expand(req.URL, map[string]string{ googleapi.Expand(req.URL, map[string]string{
"bucket": c.bucket, "bucket": c.bucket,
@ -2140,10 +2137,7 @@ func (c *BucketAccessControlsGetCall) doRequest(alt string) (*http.Response, err
c.urlParams_.Set("prettyPrint", "false") c.urlParams_.Set("prettyPrint", "false")
urls := googleapi.ResolveRelative(c.s.BasePath, "b/{bucket}/acl/{entity}") urls := googleapi.ResolveRelative(c.s.BasePath, "b/{bucket}/acl/{entity}")
urls += "?" + c.urlParams_.Encode() urls += "?" + c.urlParams_.Encode()
req, err := http.NewRequest("GET", urls, body) req, _ := http.NewRequest("GET", urls, body)
if err != nil {
return nil, err
}
req.Header = reqHeaders req.Header = reqHeaders
googleapi.Expand(req.URL, map[string]string{ googleapi.Expand(req.URL, map[string]string{
"bucket": c.bucket, "bucket": c.bucket,
@ -2295,10 +2289,7 @@ func (c *BucketAccessControlsInsertCall) doRequest(alt string) (*http.Response,
c.urlParams_.Set("prettyPrint", "false") c.urlParams_.Set("prettyPrint", "false")
urls := googleapi.ResolveRelative(c.s.BasePath, "b/{bucket}/acl") urls := googleapi.ResolveRelative(c.s.BasePath, "b/{bucket}/acl")
urls += "?" + c.urlParams_.Encode() urls += "?" + c.urlParams_.Encode()
req, err := http.NewRequest("POST", urls, body) req, _ := http.NewRequest("POST", urls, body)
if err != nil {
return nil, err
}
req.Header = reqHeaders req.Header = reqHeaders
googleapi.Expand(req.URL, map[string]string{ googleapi.Expand(req.URL, map[string]string{
"bucket": c.bucket, "bucket": c.bucket,
@ -2452,10 +2443,7 @@ func (c *BucketAccessControlsListCall) doRequest(alt string) (*http.Response, er
c.urlParams_.Set("prettyPrint", "false") c.urlParams_.Set("prettyPrint", "false")
urls := googleapi.ResolveRelative(c.s.BasePath, "b/{bucket}/acl") urls := googleapi.ResolveRelative(c.s.BasePath, "b/{bucket}/acl")
urls += "?" + c.urlParams_.Encode() urls += "?" + c.urlParams_.Encode()
req, err := http.NewRequest("GET", urls, body) req, _ := http.NewRequest("GET", urls, body)
if err != nil {
return nil, err
}
req.Header = reqHeaders req.Header = reqHeaders
googleapi.Expand(req.URL, map[string]string{ googleapi.Expand(req.URL, map[string]string{
"bucket": c.bucket, "bucket": c.bucket,
@ -2601,10 +2589,7 @@ func (c *BucketAccessControlsPatchCall) doRequest(alt string) (*http.Response, e
c.urlParams_.Set("prettyPrint", "false") c.urlParams_.Set("prettyPrint", "false")
urls := googleapi.ResolveRelative(c.s.BasePath, "b/{bucket}/acl/{entity}") urls := googleapi.ResolveRelative(c.s.BasePath, "b/{bucket}/acl/{entity}")
urls += "?" + c.urlParams_.Encode() urls += "?" + c.urlParams_.Encode()
req, err := http.NewRequest("PATCH", urls, body) req, _ := http.NewRequest("PATCH", urls, body)
if err != nil {
return nil, err
}
req.Header = reqHeaders req.Header = reqHeaders
googleapi.Expand(req.URL, map[string]string{ googleapi.Expand(req.URL, map[string]string{
"bucket": c.bucket, "bucket": c.bucket,
@ -2761,10 +2746,7 @@ func (c *BucketAccessControlsUpdateCall) doRequest(alt string) (*http.Response,
c.urlParams_.Set("prettyPrint", "false") c.urlParams_.Set("prettyPrint", "false")
urls := googleapi.ResolveRelative(c.s.BasePath, "b/{bucket}/acl/{entity}") urls := googleapi.ResolveRelative(c.s.BasePath, "b/{bucket}/acl/{entity}")
urls += "?" + c.urlParams_.Encode() urls += "?" + c.urlParams_.Encode()
req, err := http.NewRequest("PUT", urls, body) req, _ := http.NewRequest("PUT", urls, body)
if err != nil {
return nil, err
}
req.Header = reqHeaders req.Header = reqHeaders
googleapi.Expand(req.URL, map[string]string{ googleapi.Expand(req.URL, map[string]string{
"bucket": c.bucket, "bucket": c.bucket,
@ -2928,10 +2910,7 @@ func (c *BucketsDeleteCall) doRequest(alt string) (*http.Response, error) {
c.urlParams_.Set("prettyPrint", "false") c.urlParams_.Set("prettyPrint", "false")
urls := googleapi.ResolveRelative(c.s.BasePath, "b/{bucket}") urls := googleapi.ResolveRelative(c.s.BasePath, "b/{bucket}")
urls += "?" + c.urlParams_.Encode() urls += "?" + c.urlParams_.Encode()
req, err := http.NewRequest("DELETE", urls, body) req, _ := http.NewRequest("DELETE", urls, body)
if err != nil {
return nil, err
}
req.Header = reqHeaders req.Header = reqHeaders
googleapi.Expand(req.URL, map[string]string{ googleapi.Expand(req.URL, map[string]string{
"bucket": c.bucket, "bucket": c.bucket,
@ -3096,10 +3075,7 @@ func (c *BucketsGetCall) doRequest(alt string) (*http.Response, error) {
c.urlParams_.Set("prettyPrint", "false") c.urlParams_.Set("prettyPrint", "false")
urls := googleapi.ResolveRelative(c.s.BasePath, "b/{bucket}") urls := googleapi.ResolveRelative(c.s.BasePath, "b/{bucket}")
urls += "?" + c.urlParams_.Encode() urls += "?" + c.urlParams_.Encode()
req, err := http.NewRequest("GET", urls, body) req, _ := http.NewRequest("GET", urls, body)
if err != nil {
return nil, err
}
req.Header = reqHeaders req.Header = reqHeaders
googleapi.Expand(req.URL, map[string]string{ googleapi.Expand(req.URL, map[string]string{
"bucket": c.bucket, "bucket": c.bucket,
@ -3278,10 +3254,7 @@ func (c *BucketsGetIamPolicyCall) doRequest(alt string) (*http.Response, error)
c.urlParams_.Set("prettyPrint", "false") c.urlParams_.Set("prettyPrint", "false")
urls := googleapi.ResolveRelative(c.s.BasePath, "b/{bucket}/iam") urls := googleapi.ResolveRelative(c.s.BasePath, "b/{bucket}/iam")
urls += "?" + c.urlParams_.Encode() urls += "?" + c.urlParams_.Encode()
req, err := http.NewRequest("GET", urls, body) req, _ := http.NewRequest("GET", urls, body)
if err != nil {
return nil, err
}
req.Header = reqHeaders req.Header = reqHeaders
googleapi.Expand(req.URL, map[string]string{ googleapi.Expand(req.URL, map[string]string{
"bucket": c.bucket, "bucket": c.bucket,
@ -3479,10 +3452,7 @@ func (c *BucketsInsertCall) doRequest(alt string) (*http.Response, error) {
c.urlParams_.Set("prettyPrint", "false") c.urlParams_.Set("prettyPrint", "false")
urls := googleapi.ResolveRelative(c.s.BasePath, "b") urls := googleapi.ResolveRelative(c.s.BasePath, "b")
urls += "?" + c.urlParams_.Encode() urls += "?" + c.urlParams_.Encode()
req, err := http.NewRequest("POST", urls, body) req, _ := http.NewRequest("POST", urls, body)
if err != nil {
return nil, err
}
req.Header = reqHeaders req.Header = reqHeaders
return gensupport.SendRequest(c.ctx_, c.s.client, req) return gensupport.SendRequest(c.ctx_, c.s.client, req)
} }
@ -3720,10 +3690,7 @@ func (c *BucketsListCall) doRequest(alt string) (*http.Response, error) {
c.urlParams_.Set("prettyPrint", "false") c.urlParams_.Set("prettyPrint", "false")
urls := googleapi.ResolveRelative(c.s.BasePath, "b") urls := googleapi.ResolveRelative(c.s.BasePath, "b")
urls += "?" + c.urlParams_.Encode() urls += "?" + c.urlParams_.Encode()
req, err := http.NewRequest("GET", urls, body) req, _ := http.NewRequest("GET", urls, body)
if err != nil {
return nil, err
}
req.Header = reqHeaders req.Header = reqHeaders
return gensupport.SendRequest(c.ctx_, c.s.client, req) return gensupport.SendRequest(c.ctx_, c.s.client, req)
} }
@ -3913,10 +3880,7 @@ func (c *BucketsLockRetentionPolicyCall) doRequest(alt string) (*http.Response,
c.urlParams_.Set("prettyPrint", "false") c.urlParams_.Set("prettyPrint", "false")
urls := googleapi.ResolveRelative(c.s.BasePath, "b/{bucket}/lockRetentionPolicy") urls := googleapi.ResolveRelative(c.s.BasePath, "b/{bucket}/lockRetentionPolicy")
urls += "?" + c.urlParams_.Encode() urls += "?" + c.urlParams_.Encode()
req, err := http.NewRequest("POST", urls, body) req, _ := http.NewRequest("POST", urls, body)
if err != nil {
return nil, err
}
req.Header = reqHeaders req.Header = reqHeaders
googleapi.Expand(req.URL, map[string]string{ googleapi.Expand(req.URL, map[string]string{
"bucket": c.bucket, "bucket": c.bucket,
@ -4139,10 +4103,7 @@ func (c *BucketsPatchCall) doRequest(alt string) (*http.Response, error) {
c.urlParams_.Set("prettyPrint", "false") c.urlParams_.Set("prettyPrint", "false")
urls := googleapi.ResolveRelative(c.s.BasePath, "b/{bucket}") urls := googleapi.ResolveRelative(c.s.BasePath, "b/{bucket}")
urls += "?" + c.urlParams_.Encode() urls += "?" + c.urlParams_.Encode()
req, err := http.NewRequest("PATCH", urls, body) req, _ := http.NewRequest("PATCH", urls, body)
if err != nil {
return nil, err
}
req.Header = reqHeaders req.Header = reqHeaders
googleapi.Expand(req.URL, map[string]string{ googleapi.Expand(req.URL, map[string]string{
"bucket": c.bucket, "bucket": c.bucket,
@ -4354,10 +4315,7 @@ func (c *BucketsSetIamPolicyCall) doRequest(alt string) (*http.Response, error)
c.urlParams_.Set("prettyPrint", "false") c.urlParams_.Set("prettyPrint", "false")
urls := googleapi.ResolveRelative(c.s.BasePath, "b/{bucket}/iam") urls := googleapi.ResolveRelative(c.s.BasePath, "b/{bucket}/iam")
urls += "?" + c.urlParams_.Encode() urls += "?" + c.urlParams_.Encode()
req, err := http.NewRequest("PUT", urls, body) req, _ := http.NewRequest("PUT", urls, body)
if err != nil {
return nil, err
}
req.Header = reqHeaders req.Header = reqHeaders
googleapi.Expand(req.URL, map[string]string{ googleapi.Expand(req.URL, map[string]string{
"bucket": c.bucket, "bucket": c.bucket,
@ -4514,10 +4472,7 @@ func (c *BucketsTestIamPermissionsCall) doRequest(alt string) (*http.Response, e
c.urlParams_.Set("prettyPrint", "false") c.urlParams_.Set("prettyPrint", "false")
urls := googleapi.ResolveRelative(c.s.BasePath, "b/{bucket}/iam/testPermissions") urls := googleapi.ResolveRelative(c.s.BasePath, "b/{bucket}/iam/testPermissions")
urls += "?" + c.urlParams_.Encode() urls += "?" + c.urlParams_.Encode()
req, err := http.NewRequest("GET", urls, body) req, _ := http.NewRequest("GET", urls, body)
if err != nil {
return nil, err
}
req.Header = reqHeaders req.Header = reqHeaders
googleapi.Expand(req.URL, map[string]string{ googleapi.Expand(req.URL, map[string]string{
"bucket": c.bucket, "bucket": c.bucket,
@ -4742,10 +4697,7 @@ func (c *BucketsUpdateCall) doRequest(alt string) (*http.Response, error) {
c.urlParams_.Set("prettyPrint", "false") c.urlParams_.Set("prettyPrint", "false")
urls := googleapi.ResolveRelative(c.s.BasePath, "b/{bucket}") urls := googleapi.ResolveRelative(c.s.BasePath, "b/{bucket}")
urls += "?" + c.urlParams_.Encode() urls += "?" + c.urlParams_.Encode()
req, err := http.NewRequest("PUT", urls, body) req, _ := http.NewRequest("PUT", urls, body)
if err != nil {
return nil, err
}
req.Header = reqHeaders req.Header = reqHeaders
googleapi.Expand(req.URL, map[string]string{ googleapi.Expand(req.URL, map[string]string{
"bucket": c.bucket, "bucket": c.bucket,
@ -4948,10 +4900,7 @@ func (c *ChannelsStopCall) doRequest(alt string) (*http.Response, error) {
c.urlParams_.Set("prettyPrint", "false") c.urlParams_.Set("prettyPrint", "false")
urls := googleapi.ResolveRelative(c.s.BasePath, "channels/stop") urls := googleapi.ResolveRelative(c.s.BasePath, "channels/stop")
urls += "?" + c.urlParams_.Encode() urls += "?" + c.urlParams_.Encode()
req, err := http.NewRequest("POST", urls, body) req, _ := http.NewRequest("POST", urls, body)
if err != nil {
return nil, err
}
req.Header = reqHeaders req.Header = reqHeaders
return gensupport.SendRequest(c.ctx_, c.s.client, req) return gensupport.SendRequest(c.ctx_, c.s.client, req)
} }
@ -5051,10 +5000,7 @@ func (c *DefaultObjectAccessControlsDeleteCall) doRequest(alt string) (*http.Res
c.urlParams_.Set("prettyPrint", "false") c.urlParams_.Set("prettyPrint", "false")
urls := googleapi.ResolveRelative(c.s.BasePath, "b/{bucket}/defaultObjectAcl/{entity}") urls := googleapi.ResolveRelative(c.s.BasePath, "b/{bucket}/defaultObjectAcl/{entity}")
urls += "?" + c.urlParams_.Encode() urls += "?" + c.urlParams_.Encode()
req, err := http.NewRequest("DELETE", urls, body) req, _ := http.NewRequest("DELETE", urls, body)
if err != nil {
return nil, err
}
req.Header = reqHeaders req.Header = reqHeaders
googleapi.Expand(req.URL, map[string]string{ googleapi.Expand(req.URL, map[string]string{
"bucket": c.bucket, "bucket": c.bucket,
@ -5188,10 +5134,7 @@ func (c *DefaultObjectAccessControlsGetCall) doRequest(alt string) (*http.Respon
c.urlParams_.Set("prettyPrint", "false") c.urlParams_.Set("prettyPrint", "false")
urls := googleapi.ResolveRelative(c.s.BasePath, "b/{bucket}/defaultObjectAcl/{entity}") urls := googleapi.ResolveRelative(c.s.BasePath, "b/{bucket}/defaultObjectAcl/{entity}")
urls += "?" + c.urlParams_.Encode() urls += "?" + c.urlParams_.Encode()
req, err := http.NewRequest("GET", urls, body) req, _ := http.NewRequest("GET", urls, body)
if err != nil {
return nil, err
}
req.Header = reqHeaders req.Header = reqHeaders
googleapi.Expand(req.URL, map[string]string{ googleapi.Expand(req.URL, map[string]string{
"bucket": c.bucket, "bucket": c.bucket,
@ -5344,10 +5287,7 @@ func (c *DefaultObjectAccessControlsInsertCall) doRequest(alt string) (*http.Res
c.urlParams_.Set("prettyPrint", "false") c.urlParams_.Set("prettyPrint", "false")
urls := googleapi.ResolveRelative(c.s.BasePath, "b/{bucket}/defaultObjectAcl") urls := googleapi.ResolveRelative(c.s.BasePath, "b/{bucket}/defaultObjectAcl")
urls += "?" + c.urlParams_.Encode() urls += "?" + c.urlParams_.Encode()
req, err := http.NewRequest("POST", urls, body) req, _ := http.NewRequest("POST", urls, body)
if err != nil {
return nil, err
}
req.Header = reqHeaders req.Header = reqHeaders
googleapi.Expand(req.URL, map[string]string{ googleapi.Expand(req.URL, map[string]string{
"bucket": c.bucket, "bucket": c.bucket,
@ -5518,10 +5458,7 @@ func (c *DefaultObjectAccessControlsListCall) doRequest(alt string) (*http.Respo
c.urlParams_.Set("prettyPrint", "false") c.urlParams_.Set("prettyPrint", "false")
urls := googleapi.ResolveRelative(c.s.BasePath, "b/{bucket}/defaultObjectAcl") urls := googleapi.ResolveRelative(c.s.BasePath, "b/{bucket}/defaultObjectAcl")
urls += "?" + c.urlParams_.Encode() urls += "?" + c.urlParams_.Encode()
req, err := http.NewRequest("GET", urls, body) req, _ := http.NewRequest("GET", urls, body)
if err != nil {
return nil, err
}
req.Header = reqHeaders req.Header = reqHeaders
googleapi.Expand(req.URL, map[string]string{ googleapi.Expand(req.URL, map[string]string{
"bucket": c.bucket, "bucket": c.bucket,
@ -5679,10 +5616,7 @@ func (c *DefaultObjectAccessControlsPatchCall) doRequest(alt string) (*http.Resp
c.urlParams_.Set("prettyPrint", "false") c.urlParams_.Set("prettyPrint", "false")
urls := googleapi.ResolveRelative(c.s.BasePath, "b/{bucket}/defaultObjectAcl/{entity}") urls := googleapi.ResolveRelative(c.s.BasePath, "b/{bucket}/defaultObjectAcl/{entity}")
urls += "?" + c.urlParams_.Encode() urls += "?" + c.urlParams_.Encode()
req, err := http.NewRequest("PATCH", urls, body) req, _ := http.NewRequest("PATCH", urls, body)
if err != nil {
return nil, err
}
req.Header = reqHeaders req.Header = reqHeaders
googleapi.Expand(req.URL, map[string]string{ googleapi.Expand(req.URL, map[string]string{
"bucket": c.bucket, "bucket": c.bucket,
@ -5839,10 +5773,7 @@ func (c *DefaultObjectAccessControlsUpdateCall) doRequest(alt string) (*http.Res
c.urlParams_.Set("prettyPrint", "false") c.urlParams_.Set("prettyPrint", "false")
urls := googleapi.ResolveRelative(c.s.BasePath, "b/{bucket}/defaultObjectAcl/{entity}") urls := googleapi.ResolveRelative(c.s.BasePath, "b/{bucket}/defaultObjectAcl/{entity}")
urls += "?" + c.urlParams_.Encode() urls += "?" + c.urlParams_.Encode()
req, err := http.NewRequest("PUT", urls, body) req, _ := http.NewRequest("PUT", urls, body)
if err != nil {
return nil, err
}
req.Header = reqHeaders req.Header = reqHeaders
googleapi.Expand(req.URL, map[string]string{ googleapi.Expand(req.URL, map[string]string{
"bucket": c.bucket, "bucket": c.bucket,
@ -5992,10 +5923,7 @@ func (c *NotificationsDeleteCall) doRequest(alt string) (*http.Response, error)
c.urlParams_.Set("prettyPrint", "false") c.urlParams_.Set("prettyPrint", "false")
urls := googleapi.ResolveRelative(c.s.BasePath, "b/{bucket}/notificationConfigs/{notification}") urls := googleapi.ResolveRelative(c.s.BasePath, "b/{bucket}/notificationConfigs/{notification}")
urls += "?" + c.urlParams_.Encode() urls += "?" + c.urlParams_.Encode()
req, err := http.NewRequest("DELETE", urls, body) req, _ := http.NewRequest("DELETE", urls, body)
if err != nil {
return nil, err
}
req.Header = reqHeaders req.Header = reqHeaders
googleapi.Expand(req.URL, map[string]string{ googleapi.Expand(req.URL, map[string]string{
"bucket": c.bucket, "bucket": c.bucket,
@ -6129,10 +6057,7 @@ func (c *NotificationsGetCall) doRequest(alt string) (*http.Response, error) {
c.urlParams_.Set("prettyPrint", "false") c.urlParams_.Set("prettyPrint", "false")
urls := googleapi.ResolveRelative(c.s.BasePath, "b/{bucket}/notificationConfigs/{notification}") urls := googleapi.ResolveRelative(c.s.BasePath, "b/{bucket}/notificationConfigs/{notification}")
urls += "?" + c.urlParams_.Encode() urls += "?" + c.urlParams_.Encode()
req, err := http.NewRequest("GET", urls, body) req, _ := http.NewRequest("GET", urls, body)
if err != nil {
return nil, err
}
req.Header = reqHeaders req.Header = reqHeaders
googleapi.Expand(req.URL, map[string]string{ googleapi.Expand(req.URL, map[string]string{
"bucket": c.bucket, "bucket": c.bucket,
@ -6287,10 +6212,7 @@ func (c *NotificationsInsertCall) doRequest(alt string) (*http.Response, error)
c.urlParams_.Set("prettyPrint", "false") c.urlParams_.Set("prettyPrint", "false")
urls := googleapi.ResolveRelative(c.s.BasePath, "b/{bucket}/notificationConfigs") urls := googleapi.ResolveRelative(c.s.BasePath, "b/{bucket}/notificationConfigs")
urls += "?" + c.urlParams_.Encode() urls += "?" + c.urlParams_.Encode()
req, err := http.NewRequest("POST", urls, body) req, _ := http.NewRequest("POST", urls, body)
if err != nil {
return nil, err
}
req.Header = reqHeaders req.Header = reqHeaders
googleapi.Expand(req.URL, map[string]string{ googleapi.Expand(req.URL, map[string]string{
"bucket": c.bucket, "bucket": c.bucket,
@ -6446,10 +6368,7 @@ func (c *NotificationsListCall) doRequest(alt string) (*http.Response, error) {
c.urlParams_.Set("prettyPrint", "false") c.urlParams_.Set("prettyPrint", "false")
urls := googleapi.ResolveRelative(c.s.BasePath, "b/{bucket}/notificationConfigs") urls := googleapi.ResolveRelative(c.s.BasePath, "b/{bucket}/notificationConfigs")
urls += "?" + c.urlParams_.Encode() urls += "?" + c.urlParams_.Encode()
req, err := http.NewRequest("GET", urls, body) req, _ := http.NewRequest("GET", urls, body)
if err != nil {
return nil, err
}
req.Header = reqHeaders req.Header = reqHeaders
googleapi.Expand(req.URL, map[string]string{ googleapi.Expand(req.URL, map[string]string{
"bucket": c.bucket, "bucket": c.bucket,
@ -6602,10 +6521,7 @@ func (c *ObjectAccessControlsDeleteCall) doRequest(alt string) (*http.Response,
c.urlParams_.Set("prettyPrint", "false") c.urlParams_.Set("prettyPrint", "false")
urls := googleapi.ResolveRelative(c.s.BasePath, "b/{bucket}/o/{object}/acl/{entity}") urls := googleapi.ResolveRelative(c.s.BasePath, "b/{bucket}/o/{object}/acl/{entity}")
urls += "?" + c.urlParams_.Encode() urls += "?" + c.urlParams_.Encode()
req, err := http.NewRequest("DELETE", urls, body) req, _ := http.NewRequest("DELETE", urls, body)
if err != nil {
return nil, err
}
req.Header = reqHeaders req.Header = reqHeaders
googleapi.Expand(req.URL, map[string]string{ googleapi.Expand(req.URL, map[string]string{
"bucket": c.bucket, "bucket": c.bucket,
@ -6763,10 +6679,7 @@ func (c *ObjectAccessControlsGetCall) doRequest(alt string) (*http.Response, err
c.urlParams_.Set("prettyPrint", "false") c.urlParams_.Set("prettyPrint", "false")
urls := googleapi.ResolveRelative(c.s.BasePath, "b/{bucket}/o/{object}/acl/{entity}") urls := googleapi.ResolveRelative(c.s.BasePath, "b/{bucket}/o/{object}/acl/{entity}")
urls += "?" + c.urlParams_.Encode() urls += "?" + c.urlParams_.Encode()
req, err := http.NewRequest("GET", urls, body) req, _ := http.NewRequest("GET", urls, body)
if err != nil {
return nil, err
}
req.Header = reqHeaders req.Header = reqHeaders
googleapi.Expand(req.URL, map[string]string{ googleapi.Expand(req.URL, map[string]string{
"bucket": c.bucket, "bucket": c.bucket,
@ -6942,10 +6855,7 @@ func (c *ObjectAccessControlsInsertCall) doRequest(alt string) (*http.Response,
c.urlParams_.Set("prettyPrint", "false") c.urlParams_.Set("prettyPrint", "false")
urls := googleapi.ResolveRelative(c.s.BasePath, "b/{bucket}/o/{object}/acl") urls := googleapi.ResolveRelative(c.s.BasePath, "b/{bucket}/o/{object}/acl")
urls += "?" + c.urlParams_.Encode() urls += "?" + c.urlParams_.Encode()
req, err := http.NewRequest("POST", urls, body) req, _ := http.NewRequest("POST", urls, body)
if err != nil {
return nil, err
}
req.Header = reqHeaders req.Header = reqHeaders
googleapi.Expand(req.URL, map[string]string{ googleapi.Expand(req.URL, map[string]string{
"bucket": c.bucket, "bucket": c.bucket,
@ -7123,10 +7033,7 @@ func (c *ObjectAccessControlsListCall) doRequest(alt string) (*http.Response, er
c.urlParams_.Set("prettyPrint", "false") c.urlParams_.Set("prettyPrint", "false")
urls := googleapi.ResolveRelative(c.s.BasePath, "b/{bucket}/o/{object}/acl") urls := googleapi.ResolveRelative(c.s.BasePath, "b/{bucket}/o/{object}/acl")
urls += "?" + c.urlParams_.Encode() urls += "?" + c.urlParams_.Encode()
req, err := http.NewRequest("GET", urls, body) req, _ := http.NewRequest("GET", urls, body)
if err != nil {
return nil, err
}
req.Header = reqHeaders req.Header = reqHeaders
googleapi.Expand(req.URL, map[string]string{ googleapi.Expand(req.URL, map[string]string{
"bucket": c.bucket, "bucket": c.bucket,
@ -7296,10 +7203,7 @@ func (c *ObjectAccessControlsPatchCall) doRequest(alt string) (*http.Response, e
c.urlParams_.Set("prettyPrint", "false") c.urlParams_.Set("prettyPrint", "false")
urls := googleapi.ResolveRelative(c.s.BasePath, "b/{bucket}/o/{object}/acl/{entity}") urls := googleapi.ResolveRelative(c.s.BasePath, "b/{bucket}/o/{object}/acl/{entity}")
urls += "?" + c.urlParams_.Encode() urls += "?" + c.urlParams_.Encode()
req, err := http.NewRequest("PATCH", urls, body) req, _ := http.NewRequest("PATCH", urls, body)
if err != nil {
return nil, err
}
req.Header = reqHeaders req.Header = reqHeaders
googleapi.Expand(req.URL, map[string]string{ googleapi.Expand(req.URL, map[string]string{
"bucket": c.bucket, "bucket": c.bucket,
@ -7480,10 +7384,7 @@ func (c *ObjectAccessControlsUpdateCall) doRequest(alt string) (*http.Response,
c.urlParams_.Set("prettyPrint", "false") c.urlParams_.Set("prettyPrint", "false")
urls := googleapi.ResolveRelative(c.s.BasePath, "b/{bucket}/o/{object}/acl/{entity}") urls := googleapi.ResolveRelative(c.s.BasePath, "b/{bucket}/o/{object}/acl/{entity}")
urls += "?" + c.urlParams_.Encode() urls += "?" + c.urlParams_.Encode()
req, err := http.NewRequest("PUT", urls, body) req, _ := http.NewRequest("PUT", urls, body)
if err != nil {
return nil, err
}
req.Header = reqHeaders req.Header = reqHeaders
googleapi.Expand(req.URL, map[string]string{ googleapi.Expand(req.URL, map[string]string{
"bucket": c.bucket, "bucket": c.bucket,
@ -7703,10 +7604,7 @@ func (c *ObjectsComposeCall) doRequest(alt string) (*http.Response, error) {
c.urlParams_.Set("prettyPrint", "false") c.urlParams_.Set("prettyPrint", "false")
urls := googleapi.ResolveRelative(c.s.BasePath, "b/{destinationBucket}/o/{destinationObject}/compose") urls := googleapi.ResolveRelative(c.s.BasePath, "b/{destinationBucket}/o/{destinationObject}/compose")
urls += "?" + c.urlParams_.Encode() urls += "?" + c.urlParams_.Encode()
req, err := http.NewRequest("POST", urls, body) req, _ := http.NewRequest("POST", urls, body)
if err != nil {
return nil, err
}
req.Header = reqHeaders req.Header = reqHeaders
googleapi.Expand(req.URL, map[string]string{ googleapi.Expand(req.URL, map[string]string{
"destinationBucket": c.destinationBucket, "destinationBucket": c.destinationBucket,
@ -8021,10 +7919,7 @@ func (c *ObjectsCopyCall) doRequest(alt string) (*http.Response, error) {
c.urlParams_.Set("prettyPrint", "false") c.urlParams_.Set("prettyPrint", "false")
urls := googleapi.ResolveRelative(c.s.BasePath, "b/{sourceBucket}/o/{sourceObject}/copyTo/b/{destinationBucket}/o/{destinationObject}") urls := googleapi.ResolveRelative(c.s.BasePath, "b/{sourceBucket}/o/{sourceObject}/copyTo/b/{destinationBucket}/o/{destinationObject}")
urls += "?" + c.urlParams_.Encode() urls += "?" + c.urlParams_.Encode()
req, err := http.NewRequest("POST", urls, body) req, _ := http.NewRequest("POST", urls, body)
if err != nil {
return nil, err
}
req.Header = reqHeaders req.Header = reqHeaders
googleapi.Expand(req.URL, map[string]string{ googleapi.Expand(req.URL, map[string]string{
"sourceBucket": c.sourceBucket, "sourceBucket": c.sourceBucket,
@ -8325,10 +8220,7 @@ func (c *ObjectsDeleteCall) doRequest(alt string) (*http.Response, error) {
c.urlParams_.Set("prettyPrint", "false") c.urlParams_.Set("prettyPrint", "false")
urls := googleapi.ResolveRelative(c.s.BasePath, "b/{bucket}/o/{object}") urls := googleapi.ResolveRelative(c.s.BasePath, "b/{bucket}/o/{object}")
urls += "?" + c.urlParams_.Encode() urls += "?" + c.urlParams_.Encode()
req, err := http.NewRequest("DELETE", urls, body) req, _ := http.NewRequest("DELETE", urls, body)
if err != nil {
return nil, err
}
req.Header = reqHeaders req.Header = reqHeaders
googleapi.Expand(req.URL, map[string]string{ googleapi.Expand(req.URL, map[string]string{
"bucket": c.bucket, "bucket": c.bucket,
@ -8547,10 +8439,7 @@ func (c *ObjectsGetCall) doRequest(alt string) (*http.Response, error) {
c.urlParams_.Set("prettyPrint", "false") c.urlParams_.Set("prettyPrint", "false")
urls := googleapi.ResolveRelative(c.s.BasePath, "b/{bucket}/o/{object}") urls := googleapi.ResolveRelative(c.s.BasePath, "b/{bucket}/o/{object}")
urls += "?" + c.urlParams_.Encode() urls += "?" + c.urlParams_.Encode()
req, err := http.NewRequest("GET", urls, body) req, _ := http.NewRequest("GET", urls, body)
if err != nil {
return nil, err
}
req.Header = reqHeaders req.Header = reqHeaders
googleapi.Expand(req.URL, map[string]string{ googleapi.Expand(req.URL, map[string]string{
"bucket": c.bucket, "bucket": c.bucket,
@ -8783,10 +8672,7 @@ func (c *ObjectsGetIamPolicyCall) doRequest(alt string) (*http.Response, error)
c.urlParams_.Set("prettyPrint", "false") c.urlParams_.Set("prettyPrint", "false")
urls := googleapi.ResolveRelative(c.s.BasePath, "b/{bucket}/o/{object}/iam") urls := googleapi.ResolveRelative(c.s.BasePath, "b/{bucket}/o/{object}/iam")
urls += "?" + c.urlParams_.Encode() urls += "?" + c.urlParams_.Encode()
req, err := http.NewRequest("GET", urls, body) req, _ := http.NewRequest("GET", urls, body)
if err != nil {
return nil, err
}
req.Header = reqHeaders req.Header = reqHeaders
googleapi.Expand(req.URL, map[string]string{ googleapi.Expand(req.URL, map[string]string{
"bucket": c.bucket, "bucket": c.bucket,
@ -9098,10 +8984,7 @@ func (c *ObjectsInsertCall) doRequest(alt string) (*http.Response, error) {
body, getBody, cleanup := c.mediaInfo_.UploadRequest(reqHeaders, body) body, getBody, cleanup := c.mediaInfo_.UploadRequest(reqHeaders, body)
defer cleanup() defer cleanup()
urls += "?" + c.urlParams_.Encode() urls += "?" + c.urlParams_.Encode()
req, err := http.NewRequest("POST", urls, body) req, _ := http.NewRequest("POST", urls, body)
if err != nil {
return nil, err
}
req.Header = reqHeaders req.Header = reqHeaders
gensupport.SetGetBody(req, getBody) gensupport.SetGetBody(req, getBody)
googleapi.Expand(req.URL, map[string]string{ googleapi.Expand(req.URL, map[string]string{
@ -9427,10 +9310,7 @@ func (c *ObjectsListCall) doRequest(alt string) (*http.Response, error) {
c.urlParams_.Set("prettyPrint", "false") c.urlParams_.Set("prettyPrint", "false")
urls := googleapi.ResolveRelative(c.s.BasePath, "b/{bucket}/o") urls := googleapi.ResolveRelative(c.s.BasePath, "b/{bucket}/o")
urls += "?" + c.urlParams_.Encode() urls += "?" + c.urlParams_.Encode()
req, err := http.NewRequest("GET", urls, body) req, _ := http.NewRequest("GET", urls, body)
if err != nil {
return nil, err
}
req.Header = reqHeaders req.Header = reqHeaders
googleapi.Expand(req.URL, map[string]string{ googleapi.Expand(req.URL, map[string]string{
"bucket": c.bucket, "bucket": c.bucket,
@ -9722,10 +9602,7 @@ func (c *ObjectsPatchCall) doRequest(alt string) (*http.Response, error) {
c.urlParams_.Set("prettyPrint", "false") c.urlParams_.Set("prettyPrint", "false")
urls := googleapi.ResolveRelative(c.s.BasePath, "b/{bucket}/o/{object}") urls := googleapi.ResolveRelative(c.s.BasePath, "b/{bucket}/o/{object}")
urls += "?" + c.urlParams_.Encode() urls += "?" + c.urlParams_.Encode()
req, err := http.NewRequest("PATCH", urls, body) req, _ := http.NewRequest("PATCH", urls, body)
if err != nil {
return nil, err
}
req.Header = reqHeaders req.Header = reqHeaders
googleapi.Expand(req.URL, map[string]string{ googleapi.Expand(req.URL, map[string]string{
"bucket": c.bucket, "bucket": c.bucket,
@ -10100,10 +9977,7 @@ func (c *ObjectsRewriteCall) doRequest(alt string) (*http.Response, error) {
c.urlParams_.Set("prettyPrint", "false") c.urlParams_.Set("prettyPrint", "false")
urls := googleapi.ResolveRelative(c.s.BasePath, "b/{sourceBucket}/o/{sourceObject}/rewriteTo/b/{destinationBucket}/o/{destinationObject}") urls := googleapi.ResolveRelative(c.s.BasePath, "b/{sourceBucket}/o/{sourceObject}/rewriteTo/b/{destinationBucket}/o/{destinationObject}")
urls += "?" + c.urlParams_.Encode() urls += "?" + c.urlParams_.Encode()
req, err := http.NewRequest("POST", urls, body) req, _ := http.NewRequest("POST", urls, body)
if err != nil {
return nil, err
}
req.Header = reqHeaders req.Header = reqHeaders
googleapi.Expand(req.URL, map[string]string{ googleapi.Expand(req.URL, map[string]string{
"sourceBucket": c.sourceBucket, "sourceBucket": c.sourceBucket,
@ -10389,10 +10263,7 @@ func (c *ObjectsSetIamPolicyCall) doRequest(alt string) (*http.Response, error)
c.urlParams_.Set("prettyPrint", "false") c.urlParams_.Set("prettyPrint", "false")
urls := googleapi.ResolveRelative(c.s.BasePath, "b/{bucket}/o/{object}/iam") urls := googleapi.ResolveRelative(c.s.BasePath, "b/{bucket}/o/{object}/iam")
urls += "?" + c.urlParams_.Encode() urls += "?" + c.urlParams_.Encode()
req, err := http.NewRequest("PUT", urls, body) req, _ := http.NewRequest("PUT", urls, body)
if err != nil {
return nil, err
}
req.Header = reqHeaders req.Header = reqHeaders
googleapi.Expand(req.URL, map[string]string{ googleapi.Expand(req.URL, map[string]string{
"bucket": c.bucket, "bucket": c.bucket,
@ -10573,10 +10444,7 @@ func (c *ObjectsTestIamPermissionsCall) doRequest(alt string) (*http.Response, e
c.urlParams_.Set("prettyPrint", "false") c.urlParams_.Set("prettyPrint", "false")
urls := googleapi.ResolveRelative(c.s.BasePath, "b/{bucket}/o/{object}/iam/testPermissions") urls := googleapi.ResolveRelative(c.s.BasePath, "b/{bucket}/o/{object}/iam/testPermissions")
urls += "?" + c.urlParams_.Encode() urls += "?" + c.urlParams_.Encode()
req, err := http.NewRequest("GET", urls, body) req, _ := http.NewRequest("GET", urls, body)
if err != nil {
return nil, err
}
req.Header = reqHeaders req.Header = reqHeaders
googleapi.Expand(req.URL, map[string]string{ googleapi.Expand(req.URL, map[string]string{
"bucket": c.bucket, "bucket": c.bucket,
@ -10822,10 +10690,7 @@ func (c *ObjectsUpdateCall) doRequest(alt string) (*http.Response, error) {
c.urlParams_.Set("prettyPrint", "false") c.urlParams_.Set("prettyPrint", "false")
urls := googleapi.ResolveRelative(c.s.BasePath, "b/{bucket}/o/{object}") urls := googleapi.ResolveRelative(c.s.BasePath, "b/{bucket}/o/{object}")
urls += "?" + c.urlParams_.Encode() urls += "?" + c.urlParams_.Encode()
req, err := http.NewRequest("PUT", urls, body) req, _ := http.NewRequest("PUT", urls, body)
if err != nil {
return nil, err
}
req.Header = reqHeaders req.Header = reqHeaders
googleapi.Expand(req.URL, map[string]string{ googleapi.Expand(req.URL, map[string]string{
"bucket": c.bucket, "bucket": c.bucket,
@ -11108,10 +10973,7 @@ func (c *ObjectsWatchAllCall) doRequest(alt string) (*http.Response, error) {
c.urlParams_.Set("prettyPrint", "false") c.urlParams_.Set("prettyPrint", "false")
urls := googleapi.ResolveRelative(c.s.BasePath, "b/{bucket}/o/watch") urls := googleapi.ResolveRelative(c.s.BasePath, "b/{bucket}/o/watch")
urls += "?" + c.urlParams_.Encode() urls += "?" + c.urlParams_.Encode()
req, err := http.NewRequest("POST", urls, body) req, _ := http.NewRequest("POST", urls, body)
if err != nil {
return nil, err
}
req.Header = reqHeaders req.Header = reqHeaders
googleapi.Expand(req.URL, map[string]string{ googleapi.Expand(req.URL, map[string]string{
"bucket": c.bucket, "bucket": c.bucket,
@ -11317,10 +11179,7 @@ func (c *ProjectsServiceAccountGetCall) doRequest(alt string) (*http.Response, e
c.urlParams_.Set("prettyPrint", "false") c.urlParams_.Set("prettyPrint", "false")
urls := googleapi.ResolveRelative(c.s.BasePath, "projects/{projectId}/serviceAccount") urls := googleapi.ResolveRelative(c.s.BasePath, "projects/{projectId}/serviceAccount")
urls += "?" + c.urlParams_.Encode() urls += "?" + c.urlParams_.Encode()
req, err := http.NewRequest("GET", urls, body) req, _ := http.NewRequest("GET", urls, body)
if err != nil {
return nil, err
}
req.Header = reqHeaders req.Header = reqHeaders
googleapi.Expand(req.URL, map[string]string{ googleapi.Expand(req.URL, map[string]string{
"projectId": c.projectId, "projectId": c.projectId,

4
vendor/modules.txt vendored
View File

@ -324,13 +324,13 @@ github.com/hashicorp/hcl/json/token
github.com/hashicorp/hcl2/hcl github.com/hashicorp/hcl2/hcl
github.com/hashicorp/hcl2/hcl/hclsyntax github.com/hashicorp/hcl2/hcl/hclsyntax
github.com/hashicorp/hcl2/hcldec github.com/hashicorp/hcl2/hcldec
github.com/hashicorp/hcl2/hcl/json
github.com/hashicorp/hcl2/hclwrite github.com/hashicorp/hcl2/hclwrite
github.com/hashicorp/hcl2/hcled github.com/hashicorp/hcl2/hcled
github.com/hashicorp/hcl2/hclparse github.com/hashicorp/hcl2/hclparse
github.com/hashicorp/hcl2/gohcl github.com/hashicorp/hcl2/gohcl
github.com/hashicorp/hcl2/ext/typeexpr github.com/hashicorp/hcl2/ext/typeexpr
github.com/hashicorp/hcl2/ext/dynblock github.com/hashicorp/hcl2/ext/dynblock
github.com/hashicorp/hcl2/hcl/json
github.com/hashicorp/hcl2/hcltest github.com/hashicorp/hcl2/hcltest
# github.com/hashicorp/hil v0.0.0-20170627220502-fa9f258a9250 # github.com/hashicorp/hil v0.0.0-20170627220502-fa9f258a9250
github.com/hashicorp/hil github.com/hashicorp/hil
@ -529,7 +529,7 @@ golang.org/x/text/encoding/unicode
golang.org/x/text/internal/tag golang.org/x/text/internal/tag
golang.org/x/text/internal/utf8internal golang.org/x/text/internal/utf8internal
golang.org/x/text/runes golang.org/x/text/runes
# google.golang.org/api v0.0.0-20181016191922-cc9bd73d51b4 # google.golang.org/api v0.0.0-20181015145326-625cd1887957
google.golang.org/api/iterator google.golang.org/api/iterator
google.golang.org/api/option google.golang.org/api/option
google.golang.org/api/googleapi google.golang.org/api/googleapi