mirror of
https://github.com/restic/restic.git
synced 2025-12-14 14:41:49 +00:00
Update dependencies
Among others, this updates minio-go, so that the new "eu-west-3" zone for AWS is supported.
This commit is contained in:
24
vendor/google.golang.org/api/drive/v2/drive-api.json
generated
vendored
24
vendor/google.golang.org/api/drive/v2/drive-api.json
generated
vendored
@@ -1,11 +1,11 @@
|
||||
{
|
||||
"kind": "discovery#restDescription",
|
||||
"etag": "\"YWOzh2SDasdU84ArJnpYek-OMdg/F_mfOUQDIw554XoZ_OkZ0oFLQA8\"",
|
||||
"etag": "\"YWOzh2SDasdU84ArJnpYek-OMdg/minc5niM2cggYvQjv8BHfkvoMV8\"",
|
||||
"discoveryVersion": "v1",
|
||||
"id": "drive:v2",
|
||||
"name": "drive",
|
||||
"version": "v2",
|
||||
"revision": "20171020",
|
||||
"revision": "20180105",
|
||||
"title": "Drive API",
|
||||
"description": "Manages files in Drive including uploading, downloading, searching, detecting changes, and updating sharing permissions.",
|
||||
"ownerDomain": "google.com",
|
||||
@@ -1327,7 +1327,7 @@
|
||||
},
|
||||
"parents": {
|
||||
"type": "array",
|
||||
"description": "Collection of parent folders which contain this file.\nSetting this field will put the file in all of the provided folders. On insert, if no folders are provided, the file will be placed in the default root folder.",
|
||||
"description": "Collection of parent folders which contain this file.\nIf not specified as part of an insert request, the file will be placed directly in the user's My Drive folder. If not specified as part of a copy request, the file will inherit any discoverable parents of the source file. Update requests can also use the addParents and removeParents parameters to modify the parents list.",
|
||||
"items": {
|
||||
"$ref": "ParentReference"
|
||||
}
|
||||
@@ -2146,7 +2146,7 @@
|
||||
"parameters": {
|
||||
"includeSubscribed": {
|
||||
"type": "boolean",
|
||||
"description": "When calculating the number of remaining change IDs, whether to include public files the user has opened and shared files. When set to false, this counts only change IDs for owned files and any shared or public files that the user has explicitly added to a folder they own.",
|
||||
"description": "Whether to count changes outside the My Drive hierarchy. When set to false, changes to files such as those in the Application Data folder or shared files which have not been added to My Drive will be omitted from the maxChangeIdCount.",
|
||||
"default": "true",
|
||||
"location": "query"
|
||||
},
|
||||
@@ -2249,7 +2249,7 @@
|
||||
"id": "drive.changes.get",
|
||||
"path": "changes/{changeId}",
|
||||
"httpMethod": "GET",
|
||||
"description": "Gets a specific change.",
|
||||
"description": "Deprecated - Use changes.getStartPageToken and changes.list to retrieve recent changes.",
|
||||
"parameters": {
|
||||
"changeId": {
|
||||
"type": "string",
|
||||
@@ -2338,7 +2338,7 @@
|
||||
},
|
||||
"includeSubscribed": {
|
||||
"type": "boolean",
|
||||
"description": "Whether to include public files the user has opened and shared files. When set to false, the list only includes owned files plus any shared or public files the user has explicitly added to a folder they own.",
|
||||
"description": "Whether to include changes outside the My Drive hierarchy in the result. When set to false, changes to files such as those in the Application Data folder or shared files which have not been added to My Drive will be omitted from the result.",
|
||||
"default": "true",
|
||||
"location": "query"
|
||||
},
|
||||
@@ -2368,7 +2368,7 @@
|
||||
},
|
||||
"startChangeId": {
|
||||
"type": "string",
|
||||
"description": "Change ID to start listing changes from.",
|
||||
"description": "Deprecated - use pageToken instead.",
|
||||
"format": "int64",
|
||||
"location": "query"
|
||||
},
|
||||
@@ -2419,7 +2419,7 @@
|
||||
},
|
||||
"includeSubscribed": {
|
||||
"type": "boolean",
|
||||
"description": "Whether to include public files the user has opened and shared files. When set to false, the list only includes owned files plus any shared or public files the user has explicitly added to a folder they own.",
|
||||
"description": "Whether to include changes outside the My Drive hierarchy in the result. When set to false, changes to files such as those in the Application Data folder or shared files which have not been added to My Drive will be omitted from the result.",
|
||||
"default": "true",
|
||||
"location": "query"
|
||||
},
|
||||
@@ -2449,7 +2449,7 @@
|
||||
},
|
||||
"startChangeId": {
|
||||
"type": "string",
|
||||
"description": "Change ID to start listing changes from.",
|
||||
"description": "Deprecated - use pageToken instead.",
|
||||
"format": "int64",
|
||||
"location": "query"
|
||||
},
|
||||
@@ -3398,7 +3398,7 @@
|
||||
},
|
||||
"setModifiedDate": {
|
||||
"type": "boolean",
|
||||
"description": "Whether to set the modified date with the supplied modified date.",
|
||||
"description": "Whether to set the modified date using the value supplied in the request body. Setting this field to true is equivalent to modifiedDateBehavior=fromBodyOrNow, and false is equivalent to modifiedDateBehavior=now. To prevent any changes to the modified date set modifiedDateBehavior=noChange.",
|
||||
"default": "false",
|
||||
"location": "query"
|
||||
},
|
||||
@@ -3620,7 +3620,7 @@
|
||||
},
|
||||
"setModifiedDate": {
|
||||
"type": "boolean",
|
||||
"description": "Whether to set the modified date with the supplied modified date.",
|
||||
"description": "Whether to set the modified date using the value supplied in the request body. Setting this field to true is equivalent to modifiedDateBehavior=fromBodyOrNow, and false is equivalent to modifiedDateBehavior=now. To prevent any changes to the modified date set modifiedDateBehavior=noChange.",
|
||||
"default": "false",
|
||||
"location": "query"
|
||||
},
|
||||
@@ -4020,7 +4020,7 @@
|
||||
"parameters": {
|
||||
"emailMessage": {
|
||||
"type": "string",
|
||||
"description": "A custom message to include in notification emails.",
|
||||
"description": "A plain text custom message to include in notification emails.",
|
||||
"location": "query"
|
||||
},
|
||||
"fileId": {
|
||||
|
||||
79
vendor/google.golang.org/api/drive/v2/drive-gen.go
generated
vendored
79
vendor/google.golang.org/api/drive/v2/drive-gen.go
generated
vendored
@@ -1583,11 +1583,12 @@ type File struct {
|
||||
// files.
|
||||
Owners []*User `json:"owners,omitempty"`
|
||||
|
||||
// Parents: Collection of parent folders which contain this
|
||||
// file.
|
||||
// Setting this field will put the file in all of the provided folders.
|
||||
// On insert, if no folders are provided, the file will be placed in the
|
||||
// default root folder.
|
||||
// Parents: Collection of parent folders which contain this file.
|
||||
// If not specified as part of an insert request, the file will be
|
||||
// placed directly in the user's My Drive folder. If not specified as
|
||||
// part of a copy request, the file will inherit any discoverable
|
||||
// parents of the source file. Update requests can also use the
|
||||
// addParents and removeParents parameters to modify the parents list.
|
||||
Parents []*ParentReference `json:"parents,omitempty"`
|
||||
|
||||
// PermissionIds: List of permission IDs for users with access to this
|
||||
@@ -3183,11 +3184,10 @@ func (r *AboutService) Get() *AboutGetCall {
|
||||
}
|
||||
|
||||
// IncludeSubscribed sets the optional parameter "includeSubscribed":
|
||||
// When calculating the number of remaining change IDs, whether to
|
||||
// include public files the user has opened and shared files. When set
|
||||
// to false, this counts only change IDs for owned files and any shared
|
||||
// or public files that the user has explicitly added to a folder they
|
||||
// own.
|
||||
// Whether to count changes outside the My Drive hierarchy. When set to
|
||||
// false, changes to files such as those in the Application Data folder
|
||||
// or shared files which have not been added to My Drive will be omitted
|
||||
// from the maxChangeIdCount.
|
||||
func (c *AboutGetCall) IncludeSubscribed(includeSubscribed bool) *AboutGetCall {
|
||||
c.urlParams_.Set("includeSubscribed", fmt.Sprint(includeSubscribed))
|
||||
return c
|
||||
@@ -3305,7 +3305,7 @@ func (c *AboutGetCall) Do(opts ...googleapi.CallOption) (*About, error) {
|
||||
// "parameters": {
|
||||
// "includeSubscribed": {
|
||||
// "default": "true",
|
||||
// "description": "When calculating the number of remaining change IDs, whether to include public files the user has opened and shared files. When set to false, this counts only change IDs for owned files and any shared or public files that the user has explicitly added to a folder they own.",
|
||||
// "description": "Whether to count changes outside the My Drive hierarchy. When set to false, changes to files such as those in the Application Data folder or shared files which have not been added to My Drive will be omitted from the maxChangeIdCount.",
|
||||
// "location": "query",
|
||||
// "type": "boolean"
|
||||
// },
|
||||
@@ -3664,7 +3664,8 @@ type ChangesGetCall struct {
|
||||
header_ http.Header
|
||||
}
|
||||
|
||||
// Get: Gets a specific change.
|
||||
// Get: Deprecated - Use changes.getStartPageToken and changes.list to
|
||||
// retrieve recent changes.
|
||||
func (r *ChangesService) Get(changeId string) *ChangesGetCall {
|
||||
c := &ChangesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
|
||||
c.changeId = changeId
|
||||
@@ -3779,7 +3780,7 @@ func (c *ChangesGetCall) Do(opts ...googleapi.CallOption) (*Change, error) {
|
||||
}
|
||||
return ret, nil
|
||||
// {
|
||||
// "description": "Gets a specific change.",
|
||||
// "description": "Deprecated - Use changes.getStartPageToken and changes.list to retrieve recent changes.",
|
||||
// "httpMethod": "GET",
|
||||
// "id": "drive.changes.get",
|
||||
// "parameterOrder": [
|
||||
@@ -4014,9 +4015,10 @@ func (c *ChangesListCall) IncludeDeleted(includeDeleted bool) *ChangesListCall {
|
||||
}
|
||||
|
||||
// IncludeSubscribed sets the optional parameter "includeSubscribed":
|
||||
// Whether to include public files the user has opened and shared files.
|
||||
// When set to false, the list only includes owned files plus any shared
|
||||
// or public files the user has explicitly added to a folder they own.
|
||||
// Whether to include changes outside the My Drive hierarchy in the
|
||||
// result. When set to false, changes to files such as those in the
|
||||
// Application Data folder or shared files which have not been added to
|
||||
// My Drive will be omitted from the result.
|
||||
func (c *ChangesListCall) IncludeSubscribed(includeSubscribed bool) *ChangesListCall {
|
||||
c.urlParams_.Set("includeSubscribed", fmt.Sprint(includeSubscribed))
|
||||
return c
|
||||
@@ -4054,8 +4056,8 @@ func (c *ChangesListCall) Spaces(spaces string) *ChangesListCall {
|
||||
return c
|
||||
}
|
||||
|
||||
// StartChangeId sets the optional parameter "startChangeId": Change ID
|
||||
// to start listing changes from.
|
||||
// StartChangeId sets the optional parameter "startChangeId": Deprecated
|
||||
// - use pageToken instead.
|
||||
func (c *ChangesListCall) StartChangeId(startChangeId int64) *ChangesListCall {
|
||||
c.urlParams_.Set("startChangeId", fmt.Sprint(startChangeId))
|
||||
return c
|
||||
@@ -4186,7 +4188,7 @@ func (c *ChangesListCall) Do(opts ...googleapi.CallOption) (*ChangeList, error)
|
||||
// },
|
||||
// "includeSubscribed": {
|
||||
// "default": "true",
|
||||
// "description": "Whether to include public files the user has opened and shared files. When set to false, the list only includes owned files plus any shared or public files the user has explicitly added to a folder they own.",
|
||||
// "description": "Whether to include changes outside the My Drive hierarchy in the result. When set to false, changes to files such as those in the Application Data folder or shared files which have not been added to My Drive will be omitted from the result.",
|
||||
// "location": "query",
|
||||
// "type": "boolean"
|
||||
// },
|
||||
@@ -4215,7 +4217,7 @@ func (c *ChangesListCall) Do(opts ...googleapi.CallOption) (*ChangeList, error)
|
||||
// "type": "string"
|
||||
// },
|
||||
// "startChangeId": {
|
||||
// "description": "Change ID to start listing changes from.",
|
||||
// "description": "Deprecated - use pageToken instead.",
|
||||
// "format": "int64",
|
||||
// "location": "query",
|
||||
// "type": "string"
|
||||
@@ -4308,9 +4310,10 @@ func (c *ChangesWatchCall) IncludeDeleted(includeDeleted bool) *ChangesWatchCall
|
||||
}
|
||||
|
||||
// IncludeSubscribed sets the optional parameter "includeSubscribed":
|
||||
// Whether to include public files the user has opened and shared files.
|
||||
// When set to false, the list only includes owned files plus any shared
|
||||
// or public files the user has explicitly added to a folder they own.
|
||||
// Whether to include changes outside the My Drive hierarchy in the
|
||||
// result. When set to false, changes to files such as those in the
|
||||
// Application Data folder or shared files which have not been added to
|
||||
// My Drive will be omitted from the result.
|
||||
func (c *ChangesWatchCall) IncludeSubscribed(includeSubscribed bool) *ChangesWatchCall {
|
||||
c.urlParams_.Set("includeSubscribed", fmt.Sprint(includeSubscribed))
|
||||
return c
|
||||
@@ -4348,8 +4351,8 @@ func (c *ChangesWatchCall) Spaces(spaces string) *ChangesWatchCall {
|
||||
return c
|
||||
}
|
||||
|
||||
// StartChangeId sets the optional parameter "startChangeId": Change ID
|
||||
// to start listing changes from.
|
||||
// StartChangeId sets the optional parameter "startChangeId": Deprecated
|
||||
// - use pageToken instead.
|
||||
func (c *ChangesWatchCall) StartChangeId(startChangeId int64) *ChangesWatchCall {
|
||||
c.urlParams_.Set("startChangeId", fmt.Sprint(startChangeId))
|
||||
return c
|
||||
@@ -4472,7 +4475,7 @@ func (c *ChangesWatchCall) Do(opts ...googleapi.CallOption) (*Channel, error) {
|
||||
// },
|
||||
// "includeSubscribed": {
|
||||
// "default": "true",
|
||||
// "description": "Whether to include public files the user has opened and shared files. When set to false, the list only includes owned files plus any shared or public files the user has explicitly added to a folder they own.",
|
||||
// "description": "Whether to include changes outside the My Drive hierarchy in the result. When set to false, changes to files such as those in the Application Data folder or shared files which have not been added to My Drive will be omitted from the result.",
|
||||
// "location": "query",
|
||||
// "type": "boolean"
|
||||
// },
|
||||
@@ -4501,7 +4504,7 @@ func (c *ChangesWatchCall) Do(opts ...googleapi.CallOption) (*Channel, error) {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "startChangeId": {
|
||||
// "description": "Change ID to start listing changes from.",
|
||||
// "description": "Deprecated - use pageToken instead.",
|
||||
// "format": "int64",
|
||||
// "location": "query",
|
||||
// "type": "string"
|
||||
@@ -7912,7 +7915,11 @@ func (c *FilesPatchCall) RemoveParents(removeParents string) *FilesPatchCall {
|
||||
}
|
||||
|
||||
// SetModifiedDate sets the optional parameter "setModifiedDate":
|
||||
// Whether to set the modified date with the supplied modified date.
|
||||
// Whether to set the modified date using the value supplied in the
|
||||
// request body. Setting this field to true is equivalent to
|
||||
// modifiedDateBehavior=fromBodyOrNow, and false is equivalent to
|
||||
// modifiedDateBehavior=now. To prevent any changes to the modified date
|
||||
// set modifiedDateBehavior=noChange.
|
||||
func (c *FilesPatchCall) SetModifiedDate(setModifiedDate bool) *FilesPatchCall {
|
||||
c.urlParams_.Set("setModifiedDate", fmt.Sprint(setModifiedDate))
|
||||
return c
|
||||
@@ -8115,7 +8122,7 @@ func (c *FilesPatchCall) Do(opts ...googleapi.CallOption) (*File, error) {
|
||||
// },
|
||||
// "setModifiedDate": {
|
||||
// "default": "false",
|
||||
// "description": "Whether to set the modified date with the supplied modified date.",
|
||||
// "description": "Whether to set the modified date using the value supplied in the request body. Setting this field to true is equivalent to modifiedDateBehavior=fromBodyOrNow, and false is equivalent to modifiedDateBehavior=now. To prevent any changes to the modified date set modifiedDateBehavior=noChange.",
|
||||
// "location": "query",
|
||||
// "type": "boolean"
|
||||
// },
|
||||
@@ -8683,7 +8690,11 @@ func (c *FilesUpdateCall) RemoveParents(removeParents string) *FilesUpdateCall {
|
||||
}
|
||||
|
||||
// SetModifiedDate sets the optional parameter "setModifiedDate":
|
||||
// Whether to set the modified date with the supplied modified date.
|
||||
// Whether to set the modified date using the value supplied in the
|
||||
// request body. Setting this field to true is equivalent to
|
||||
// modifiedDateBehavior=fromBodyOrNow, and false is equivalent to
|
||||
// modifiedDateBehavior=now. To prevent any changes to the modified date
|
||||
// set modifiedDateBehavior=noChange.
|
||||
func (c *FilesUpdateCall) SetModifiedDate(setModifiedDate bool) *FilesUpdateCall {
|
||||
c.urlParams_.Set("setModifiedDate", fmt.Sprint(setModifiedDate))
|
||||
return c
|
||||
@@ -8968,7 +8979,7 @@ func (c *FilesUpdateCall) Do(opts ...googleapi.CallOption) (*File, error) {
|
||||
// },
|
||||
// "setModifiedDate": {
|
||||
// "default": "false",
|
||||
// "description": "Whether to set the modified date with the supplied modified date.",
|
||||
// "description": "Whether to set the modified date using the value supplied in the request body. Setting this field to true is equivalent to modifiedDateBehavior=fromBodyOrNow, and false is equivalent to modifiedDateBehavior=now. To prevent any changes to the modified date set modifiedDateBehavior=noChange.",
|
||||
// "location": "query",
|
||||
// "type": "boolean"
|
||||
// },
|
||||
@@ -10287,8 +10298,8 @@ func (r *PermissionsService) Insert(fileId string, permission *Permission) *Perm
|
||||
return c
|
||||
}
|
||||
|
||||
// EmailMessage sets the optional parameter "emailMessage": A custom
|
||||
// message to include in notification emails.
|
||||
// EmailMessage sets the optional parameter "emailMessage": A plain text
|
||||
// custom message to include in notification emails.
|
||||
func (c *PermissionsInsertCall) EmailMessage(emailMessage string) *PermissionsInsertCall {
|
||||
c.urlParams_.Set("emailMessage", emailMessage)
|
||||
return c
|
||||
@@ -10414,7 +10425,7 @@ func (c *PermissionsInsertCall) Do(opts ...googleapi.CallOption) (*Permission, e
|
||||
// ],
|
||||
// "parameters": {
|
||||
// "emailMessage": {
|
||||
// "description": "A custom message to include in notification emails.",
|
||||
// "description": "A plain text custom message to include in notification emails.",
|
||||
// "location": "query",
|
||||
// "type": "string"
|
||||
// },
|
||||
|
||||
Reference in New Issue
Block a user