Update dependenciess

Exclude minio-go for now (pin to 3.x.y).
This commit is contained in:
Alexander Neumann 2017-12-03 21:01:25 +01:00
parent 9d0f13c4c0
commit 946c8399e2
2985 changed files with 1008107 additions and 118934 deletions

View file

@ -188,20 +188,20 @@ type Bucket struct {
}
func (s *Bucket) MarshalJSON() ([]byte, error) {
type noMethod Bucket
raw := noMethod(*s)
type NoMethod Bucket
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
func (s *Bucket) UnmarshalJSON(data []byte) error {
type noMethod Bucket
type NoMethod Bucket
var s1 struct {
Max gensupport.JSONFloat64 `json:"max"`
Min gensupport.JSONFloat64 `json:"min"`
Opacity gensupport.JSONFloat64 `json:"opacity"`
*noMethod
*NoMethod
}
s1.noMethod = (*noMethod)(s)
s1.NoMethod = (*NoMethod)(s)
if err := json.Unmarshal(data, &s1); err != nil {
return err
}
@ -304,8 +304,8 @@ type Column struct {
}
func (s *Column) MarshalJSON() ([]byte, error) {
type noMethod Column
raw := noMethod(*s)
type NoMethod Column
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
@ -338,8 +338,8 @@ type ColumnBaseColumn struct {
}
func (s *ColumnBaseColumn) MarshalJSON() ([]byte, error) {
type noMethod ColumnBaseColumn
raw := noMethod(*s)
type NoMethod ColumnBaseColumn
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
@ -381,8 +381,8 @@ type ColumnList struct {
}
func (s *ColumnList) MarshalJSON() ([]byte, error) {
type noMethod ColumnList
raw := noMethod(*s)
type NoMethod ColumnList
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
@ -414,8 +414,8 @@ type Geometry struct {
}
func (s *Geometry) MarshalJSON() ([]byte, error) {
type noMethod Geometry
raw := noMethod(*s)
type NoMethod Geometry
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
@ -450,8 +450,8 @@ type Import struct {
}
func (s *Import) MarshalJSON() ([]byte, error) {
type noMethod Import
raw := noMethod(*s)
type NoMethod Import
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
@ -481,8 +481,8 @@ type Line struct {
}
func (s *Line) MarshalJSON() ([]byte, error) {
type noMethod Line
raw := noMethod(*s)
type NoMethod Line
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
@ -524,18 +524,18 @@ type LineStyle struct {
}
func (s *LineStyle) MarshalJSON() ([]byte, error) {
type noMethod LineStyle
raw := noMethod(*s)
type NoMethod LineStyle
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
func (s *LineStyle) UnmarshalJSON(data []byte) error {
type noMethod LineStyle
type NoMethod LineStyle
var s1 struct {
StrokeOpacity gensupport.JSONFloat64 `json:"strokeOpacity"`
*noMethod
*NoMethod
}
s1.noMethod = (*noMethod)(s)
s1.NoMethod = (*NoMethod)(s)
if err := json.Unmarshal(data, &s1); err != nil {
return err
}
@ -569,8 +569,8 @@ type Point struct {
}
func (s *Point) MarshalJSON() ([]byte, error) {
type noMethod Point
raw := noMethod(*s)
type NoMethod Point
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
@ -602,8 +602,8 @@ type PointStyle struct {
}
func (s *PointStyle) MarshalJSON() ([]byte, error) {
type noMethod PointStyle
raw := noMethod(*s)
type NoMethod PointStyle
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
@ -633,8 +633,8 @@ type Polygon struct {
}
func (s *Polygon) MarshalJSON() ([]byte, error) {
type noMethod Polygon
raw := noMethod(*s)
type NoMethod Polygon
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
@ -687,19 +687,19 @@ type PolygonStyle struct {
}
func (s *PolygonStyle) MarshalJSON() ([]byte, error) {
type noMethod PolygonStyle
raw := noMethod(*s)
type NoMethod PolygonStyle
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
func (s *PolygonStyle) UnmarshalJSON(data []byte) error {
type noMethod PolygonStyle
type NoMethod PolygonStyle
var s1 struct {
FillOpacity gensupport.JSONFloat64 `json:"fillOpacity"`
StrokeOpacity gensupport.JSONFloat64 `json:"strokeOpacity"`
*noMethod
*NoMethod
}
s1.noMethod = (*noMethod)(s)
s1.NoMethod = (*NoMethod)(s)
if err := json.Unmarshal(data, &s1); err != nil {
return err
}
@ -744,8 +744,8 @@ type Sqlresponse struct {
}
func (s *Sqlresponse) MarshalJSON() ([]byte, error) {
type noMethod Sqlresponse
raw := noMethod(*s)
type NoMethod Sqlresponse
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
@ -789,8 +789,8 @@ type StyleFunction struct {
}
func (s *StyleFunction) MarshalJSON() ([]byte, error) {
type noMethod StyleFunction
raw := noMethod(*s)
type NoMethod StyleFunction
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
@ -826,19 +826,19 @@ type StyleFunctionGradient struct {
}
func (s *StyleFunctionGradient) MarshalJSON() ([]byte, error) {
type noMethod StyleFunctionGradient
raw := noMethod(*s)
type NoMethod StyleFunctionGradient
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
func (s *StyleFunctionGradient) UnmarshalJSON(data []byte) error {
type noMethod StyleFunctionGradient
type NoMethod StyleFunctionGradient
var s1 struct {
Max gensupport.JSONFloat64 `json:"max"`
Min gensupport.JSONFloat64 `json:"min"`
*noMethod
*NoMethod
}
s1.noMethod = (*noMethod)(s)
s1.NoMethod = (*NoMethod)(s)
if err := json.Unmarshal(data, &s1); err != nil {
return err
}
@ -872,18 +872,18 @@ type StyleFunctionGradientColors struct {
}
func (s *StyleFunctionGradientColors) MarshalJSON() ([]byte, error) {
type noMethod StyleFunctionGradientColors
raw := noMethod(*s)
type NoMethod StyleFunctionGradientColors
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
func (s *StyleFunctionGradientColors) UnmarshalJSON(data []byte) error {
type noMethod StyleFunctionGradientColors
type NoMethod StyleFunctionGradientColors
var s1 struct {
Opacity gensupport.JSONFloat64 `json:"opacity"`
*noMethod
*NoMethod
}
s1.noMethod = (*noMethod)(s)
s1.NoMethod = (*NoMethod)(s)
if err := json.Unmarshal(data, &s1); err != nil {
return err
}
@ -941,8 +941,8 @@ type StyleSetting struct {
}
func (s *StyleSetting) MarshalJSON() ([]byte, error) {
type noMethod StyleSetting
raw := noMethod(*s)
type NoMethod StyleSetting
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
@ -984,8 +984,8 @@ type StyleSettingList struct {
}
func (s *StyleSettingList) MarshalJSON() ([]byte, error) {
type noMethod StyleSettingList
raw := noMethod(*s)
type NoMethod StyleSettingList
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
@ -1056,8 +1056,8 @@ type Table struct {
}
func (s *Table) MarshalJSON() ([]byte, error) {
type noMethod Table
raw := noMethod(*s)
type NoMethod Table
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
@ -1096,8 +1096,8 @@ type TableList struct {
}
func (s *TableList) MarshalJSON() ([]byte, error) {
type noMethod TableList
raw := noMethod(*s)
type NoMethod TableList
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
@ -1143,8 +1143,8 @@ type Task struct {
}
func (s *Task) MarshalJSON() ([]byte, error) {
type noMethod Task
raw := noMethod(*s)
type NoMethod Task
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
@ -1185,8 +1185,8 @@ type TaskList struct {
}
func (s *TaskList) MarshalJSON() ([]byte, error) {
type noMethod TaskList
raw := noMethod(*s)
type NoMethod TaskList
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
@ -1241,8 +1241,8 @@ type Template struct {
}
func (s *Template) MarshalJSON() ([]byte, error) {
type noMethod Template
raw := noMethod(*s)
type NoMethod Template
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
@ -1284,8 +1284,8 @@ type TemplateList struct {
}
func (s *TemplateList) MarshalJSON() ([]byte, error) {
type noMethod TemplateList
raw := noMethod(*s)
type NoMethod TemplateList
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
@ -1504,7 +1504,7 @@ func (c *ColumnGetCall) Do(opts ...googleapi.CallOption) (*Column, error) {
},
}
target := &ret
if err := json.NewDecoder(res.Body).Decode(target); err != nil {
if err := gensupport.DecodeResponse(target, res); err != nil {
return nil, err
}
return ret, nil
@ -1642,7 +1642,7 @@ func (c *ColumnInsertCall) Do(opts ...googleapi.CallOption) (*Column, error) {
},
}
target := &ret
if err := json.NewDecoder(res.Body).Decode(target); err != nil {
if err := gensupport.DecodeResponse(target, res); err != nil {
return nil, err
}
return ret, nil
@ -1796,7 +1796,7 @@ func (c *ColumnListCall) Do(opts ...googleapi.CallOption) (*ColumnList, error) {
},
}
target := &ret
if err := json.NewDecoder(res.Body).Decode(target); err != nil {
if err := gensupport.DecodeResponse(target, res); err != nil {
return nil, err
}
return ret, nil
@ -1964,7 +1964,7 @@ func (c *ColumnPatchCall) Do(opts ...googleapi.CallOption) (*Column, error) {
},
}
target := &ret
if err := json.NewDecoder(res.Body).Decode(target); err != nil {
if err := gensupport.DecodeResponse(target, res); err != nil {
return nil, err
}
return ret, nil
@ -2107,7 +2107,7 @@ func (c *ColumnUpdateCall) Do(opts ...googleapi.CallOption) (*Column, error) {
},
}
target := &ret
if err := json.NewDecoder(res.Body).Decode(target); err != nil {
if err := gensupport.DecodeResponse(target, res); err != nil {
return nil, err
}
return ret, nil
@ -2274,7 +2274,7 @@ func (c *QuerySqlCall) Do(opts ...googleapi.CallOption) (*Sqlresponse, error) {
},
}
target := &ret
if err := json.NewDecoder(res.Body).Decode(target); err != nil {
if err := gensupport.DecodeResponse(target, res); err != nil {
return nil, err
}
return ret, nil
@ -2454,7 +2454,7 @@ func (c *QuerySqlGetCall) Do(opts ...googleapi.CallOption) (*Sqlresponse, error)
},
}
target := &ret
if err := json.NewDecoder(res.Body).Decode(target); err != nil {
if err := gensupport.DecodeResponse(target, res); err != nil {
return nil, err
}
return ret, nil
@ -2713,7 +2713,7 @@ func (c *StyleGetCall) Do(opts ...googleapi.CallOption) (*StyleSetting, error) {
},
}
target := &ret
if err := json.NewDecoder(res.Body).Decode(target); err != nil {
if err := gensupport.DecodeResponse(target, res); err != nil {
return nil, err
}
return ret, nil
@ -2852,7 +2852,7 @@ func (c *StyleInsertCall) Do(opts ...googleapi.CallOption) (*StyleSetting, error
},
}
target := &ret
if err := json.NewDecoder(res.Body).Decode(target); err != nil {
if err := gensupport.DecodeResponse(target, res); err != nil {
return nil, err
}
return ret, nil
@ -3006,7 +3006,7 @@ func (c *StyleListCall) Do(opts ...googleapi.CallOption) (*StyleSettingList, err
},
}
target := &ret
if err := json.NewDecoder(res.Body).Decode(target); err != nil {
if err := gensupport.DecodeResponse(target, res); err != nil {
return nil, err
}
return ret, nil
@ -3174,7 +3174,7 @@ func (c *StylePatchCall) Do(opts ...googleapi.CallOption) (*StyleSetting, error)
},
}
target := &ret
if err := json.NewDecoder(res.Body).Decode(target); err != nil {
if err := gensupport.DecodeResponse(target, res); err != nil {
return nil, err
}
return ret, nil
@ -3318,7 +3318,7 @@ func (c *StyleUpdateCall) Do(opts ...googleapi.CallOption) (*StyleSetting, error
},
}
target := &ret
if err := json.NewDecoder(res.Body).Decode(target); err != nil {
if err := gensupport.DecodeResponse(target, res); err != nil {
return nil, err
}
return ret, nil
@ -3459,7 +3459,7 @@ func (c *TableCopyCall) Do(opts ...googleapi.CallOption) (*Table, error) {
},
}
target := &ret
if err := json.NewDecoder(res.Body).Decode(target); err != nil {
if err := gensupport.DecodeResponse(target, res); err != nil {
return nil, err
}
return ret, nil
@ -3697,7 +3697,7 @@ func (c *TableGetCall) Do(opts ...googleapi.CallOption) (*Table, error) {
},
}
target := &ret
if err := json.NewDecoder(res.Body).Decode(target); err != nil {
if err := gensupport.DecodeResponse(target, res); err != nil {
return nil, err
}
return ret, nil
@ -3928,7 +3928,7 @@ func (c *TableImportRowsCall) Do(opts ...googleapi.CallOption) (*Import, error)
},
}
target := &ret
if err := json.NewDecoder(res.Body).Decode(target); err != nil {
if err := gensupport.DecodeResponse(target, res); err != nil {
return nil, err
}
return ret, nil
@ -4174,7 +4174,7 @@ func (c *TableImportTableCall) Do(opts ...googleapi.CallOption) (*Table, error)
},
}
target := &ret
if err := json.NewDecoder(res.Body).Decode(target); err != nil {
if err := gensupport.DecodeResponse(target, res); err != nil {
return nil, err
}
return ret, nil
@ -4326,7 +4326,7 @@ func (c *TableInsertCall) Do(opts ...googleapi.CallOption) (*Table, error) {
},
}
target := &ret
if err := json.NewDecoder(res.Body).Decode(target); err != nil {
if err := gensupport.DecodeResponse(target, res); err != nil {
return nil, err
}
return ret, nil
@ -4464,7 +4464,7 @@ func (c *TableListCall) Do(opts ...googleapi.CallOption) (*TableList, error) {
},
}
target := &ret
if err := json.NewDecoder(res.Body).Decode(target); err != nil {
if err := gensupport.DecodeResponse(target, res); err != nil {
return nil, err
}
return ret, nil
@ -4630,7 +4630,7 @@ func (c *TablePatchCall) Do(opts ...googleapi.CallOption) (*Table, error) {
},
}
target := &ret
if err := json.NewDecoder(res.Body).Decode(target); err != nil {
if err := gensupport.DecodeResponse(target, res); err != nil {
return nil, err
}
return ret, nil
@ -4668,6 +4668,131 @@ func (c *TablePatchCall) Do(opts ...googleapi.CallOption) (*Table, error) {
}
// method id "fusiontables.table.refetchSheet":
type TableRefetchSheetCall struct {
s *Service
tableId string
urlParams_ gensupport.URLParams
ctx_ context.Context
header_ http.Header
}
// RefetchSheet: Replaces rows of the table with the rows of the
// spreadsheet that is first imported from. Current rows remain visible
// until all replacement rows are ready.
func (r *TableService) RefetchSheet(tableId string) *TableRefetchSheetCall {
c := &TableRefetchSheetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.tableId = tableId
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 *TableRefetchSheetCall) Fields(s ...googleapi.Field) *TableRefetchSheetCall {
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 *TableRefetchSheetCall) Context(ctx context.Context) *TableRefetchSheetCall {
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 *TableRefetchSheetCall) Header() http.Header {
if c.header_ == nil {
c.header_ = make(http.Header)
}
return c.header_
}
func (c *TableRefetchSheetCall) 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, "tables/{tableId}/refetch")
urls += "?" + c.urlParams_.Encode()
req, _ := http.NewRequest("POST", urls, body)
req.Header = reqHeaders
googleapi.Expand(req.URL, map[string]string{
"tableId": c.tableId,
})
return gensupport.SendRequest(c.ctx_, c.s.client, req)
}
// Do executes the "fusiontables.table.refetchSheet" call.
// Exactly one of *Task or error will be non-nil. Any non-2xx status
// code is an error. Response headers are in either
// *Task.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 *TableRefetchSheetCall) Do(opts ...googleapi.CallOption) (*Task, 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 := &Task{
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": "Replaces rows of the table with the rows of the spreadsheet that is first imported from. Current rows remain visible until all replacement rows are ready.",
// "httpMethod": "POST",
// "id": "fusiontables.table.refetchSheet",
// "parameterOrder": [
// "tableId"
// ],
// "parameters": {
// "tableId": {
// "description": "Table whose rows will be replaced from the spreadsheet.",
// "location": "path",
// "required": true,
// "type": "string"
// }
// },
// "path": "tables/{tableId}/refetch",
// "response": {
// "$ref": "Task"
// },
// "scopes": [
// "https://www.googleapis.com/auth/fusiontables"
// ]
// }
}
// method id "fusiontables.table.replaceRows":
type TableReplaceRowsCall struct {
@ -4871,7 +4996,7 @@ func (c *TableReplaceRowsCall) Do(opts ...googleapi.CallOption) (*Task, error) {
},
}
target := &ret
if err := json.NewDecoder(res.Body).Decode(target); err != nil {
if err := gensupport.DecodeResponse(target, res); err != nil {
return nil, err
}
return ret, nil
@ -5055,7 +5180,7 @@ func (c *TableUpdateCall) Do(opts ...googleapi.CallOption) (*Table, error) {
},
}
target := &ret
if err := json.NewDecoder(res.Body).Decode(target); err != nil {
if err := gensupport.DecodeResponse(target, res); err != nil {
return nil, err
}
return ret, nil
@ -5309,7 +5434,7 @@ func (c *TaskGetCall) Do(opts ...googleapi.CallOption) (*Task, error) {
},
}
target := &ret
if err := json.NewDecoder(res.Body).Decode(target); err != nil {
if err := gensupport.DecodeResponse(target, res); err != nil {
return nil, err
}
return ret, nil
@ -5475,7 +5600,7 @@ func (c *TaskListCall) Do(opts ...googleapi.CallOption) (*TaskList, error) {
},
}
target := &ret
if err := json.NewDecoder(res.Body).Decode(target); err != nil {
if err := gensupport.DecodeResponse(target, res); err != nil {
return nil, err
}
return ret, nil
@ -5761,7 +5886,7 @@ func (c *TemplateGetCall) Do(opts ...googleapi.CallOption) (*Template, error) {
},
}
target := &ret
if err := json.NewDecoder(res.Body).Decode(target); err != nil {
if err := gensupport.DecodeResponse(target, res); err != nil {
return nil, err
}
return ret, nil
@ -5900,7 +6025,7 @@ func (c *TemplateInsertCall) Do(opts ...googleapi.CallOption) (*Template, error)
},
}
target := &ret
if err := json.NewDecoder(res.Body).Decode(target); err != nil {
if err := gensupport.DecodeResponse(target, res); err != nil {
return nil, err
}
return ret, nil
@ -6054,7 +6179,7 @@ func (c *TemplateListCall) Do(opts ...googleapi.CallOption) (*TemplateList, erro
},
}
target := &ret
if err := json.NewDecoder(res.Body).Decode(target); err != nil {
if err := gensupport.DecodeResponse(target, res); err != nil {
return nil, err
}
return ret, nil
@ -6222,7 +6347,7 @@ func (c *TemplatePatchCall) Do(opts ...googleapi.CallOption) (*Template, error)
},
}
target := &ret
if err := json.NewDecoder(res.Body).Decode(target); err != nil {
if err := gensupport.DecodeResponse(target, res); err != nil {
return nil, err
}
return ret, nil
@ -6366,7 +6491,7 @@ func (c *TemplateUpdateCall) Do(opts ...googleapi.CallOption) (*Template, error)
},
}
target := &ret
if err := json.NewDecoder(res.Body).Decode(target); err != nil {
if err := gensupport.DecodeResponse(target, res); err != nil {
return nil, err
}
return ret, nil