vendor: update all dependencies to latest versions

This commit is contained in:
Nick Craig-Wood
2018-01-16 13:20:59 +00:00
parent 8e83fb6fb9
commit 7d3a17725d
4878 changed files with 1974213 additions and 201199 deletions
@@ -176,8 +176,8 @@ type AuditConfig struct {
}
func (s *AuditConfig) MarshalJSON() ([]byte, error) {
type noMethod AuditConfig
raw := noMethod(*s)
type NoMethod AuditConfig
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
@@ -237,8 +237,8 @@ type AuditLogConfig struct {
}
func (s *AuditLogConfig) MarshalJSON() ([]byte, error) {
type noMethod AuditLogConfig
raw := noMethod(*s)
type NoMethod AuditLogConfig
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
@@ -303,8 +303,8 @@ type Binding struct {
}
func (s *Binding) MarshalJSON() ([]byte, error) {
type noMethod Binding
raw := noMethod(*s)
type NoMethod Binding
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
@@ -333,7 +333,8 @@ type Folder struct {
// LifecycleState: Output only. The lifecycle state of the
// folder.
// Updates to the lifecycle_state must be performed via
// [DeleteFolder] and [UndeleteFolder].
// DeleteFolder and
// UndeleteFolder.
//
// Possible values:
// "LIFECYCLE_STATE_UNSPECIFIED" - Unspecified state.
@@ -347,7 +348,8 @@ type Folder struct {
Name string `json:"name,omitempty"`
// Parent: The Folder’s parent's resource name.
// Updates to the folder's parent must be performed via [MoveFolders].
// Updates to the folder's parent must be performed via
// MoveFolder.
Parent string `json:"parent,omitempty"`
// ServerResponse contains the HTTP response code and headers from the
@@ -372,8 +374,8 @@ type Folder struct {
}
func (s *Folder) MarshalJSON() ([]byte, error) {
type noMethod Folder
raw := noMethod(*s)
type NoMethod Folder
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
@@ -418,8 +420,8 @@ type FolderOperation struct {
}
func (s *FolderOperation) MarshalJSON() ([]byte, error) {
type noMethod FolderOperation
raw := noMethod(*s)
type NoMethod FolderOperation
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
@@ -471,8 +473,8 @@ type FolderOperationError struct {
}
func (s *FolderOperationError) MarshalJSON() ([]byte, error) {
type noMethod FolderOperationError
raw := noMethod(*s)
type NoMethod FolderOperationError
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
@@ -515,8 +517,8 @@ type ListFoldersResponse struct {
}
func (s *ListFoldersResponse) MarshalJSON() ([]byte, error) {
type noMethod ListFoldersResponse
raw := noMethod(*s)
type NoMethod ListFoldersResponse
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
@@ -548,8 +550,8 @@ type MoveFolderRequest struct {
}
func (s *MoveFolderRequest) MarshalJSON() ([]byte, error) {
type noMethod MoveFolderRequest
raw := noMethod(*s)
type NoMethod MoveFolderRequest
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
@@ -623,8 +625,8 @@ type Operation struct {
}
func (s *Operation) MarshalJSON() ([]byte, error) {
type noMethod Operation
raw := noMethod(*s)
type NoMethod Operation
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
@@ -663,7 +665,7 @@ func (s *Operation) MarshalJSON() ([]byte, error) {
// }
//
// For a description of IAM and its features, see the
// [IAM developer's guide](https://cloud.google.com/iam).
// [IAM developer's guide](https://cloud.google.com/iam/docs).
type Policy struct {
// AuditConfigs: Specifies cloud audit logging configuration for this
// policy.
@@ -693,7 +695,7 @@ type Policy struct {
// policy is overwritten blindly.
Etag string `json:"etag,omitempty"`
// Version: Version of the `Policy`. The default version is 0.
// Version: Deprecated.
Version int64 `json:"version,omitempty"`
// ServerResponse contains the HTTP response code and headers from the
@@ -718,8 +720,8 @@ type Policy struct {
}
func (s *Policy) MarshalJSON() ([]byte, error) {
type noMethod Policy
raw := noMethod(*s)
type NoMethod Policy
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
@@ -760,8 +762,8 @@ type ProjectCreationStatus struct {
}
func (s *ProjectCreationStatus) MarshalJSON() ([]byte, error) {
type noMethod ProjectCreationStatus
raw := noMethod(*s)
type NoMethod ProjectCreationStatus
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
@@ -789,19 +791,17 @@ type SearchFoldersRequest struct {
// `OR`
// can be used along with the suffix wildcard symbol `*`.
//
// Some example queries
// are:
// |Query|Description|
// |------|-----------|
// |displayName=Test*|Folde
// rs whose display name starts with
// Some example queries are:
//
// |Query | Description|
// |----- | -----------|
// |displayName=Test*|Folders whose display name starts with
// "Test".|
// |lifecycleState=ACTIVE|Folders whose lifecycleState is
// ACTIVE.|
// |parent=folders/123|Folders whose parent is
// "folders/123".|
// |parent=folders/123 AND lifecycleState=ACTIVE|Active folders
// whose
// |parent=folders/123 AND lifecycleState=ACTIVE|Active folders whose
// parent is "folders/123".|
Query string `json:"query,omitempty"`
@@ -823,8 +823,8 @@ type SearchFoldersRequest struct {
}
func (s *SearchFoldersRequest) MarshalJSON() ([]byte, error) {
type noMethod SearchFoldersRequest
raw := noMethod(*s)
type NoMethod SearchFoldersRequest
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
@@ -862,8 +862,8 @@ type SearchFoldersResponse struct {
}
func (s *SearchFoldersResponse) MarshalJSON() ([]byte, error) {
type noMethod SearchFoldersResponse
raw := noMethod(*s)
type NoMethod SearchFoldersResponse
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
@@ -904,8 +904,8 @@ type SetIamPolicyRequest struct {
}
func (s *SetIamPolicyRequest) MarshalJSON() ([]byte, error) {
type noMethod SetIamPolicyRequest
raw := noMethod(*s)
type NoMethod SetIamPolicyRequest
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
@@ -1023,8 +1023,8 @@ type Status struct {
}
func (s *Status) MarshalJSON() ([]byte, error) {
type noMethod Status
raw := noMethod(*s)
type NoMethod Status
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
@@ -1058,8 +1058,8 @@ type TestIamPermissionsRequest struct {
}
func (s *TestIamPermissionsRequest) MarshalJSON() ([]byte, error) {
type noMethod TestIamPermissionsRequest
raw := noMethod(*s)
type NoMethod TestIamPermissionsRequest
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
@@ -1093,8 +1093,8 @@ type TestIamPermissionsResponse struct {
}
func (s *TestIamPermissionsResponse) MarshalJSON() ([]byte, error) {
type noMethod TestIamPermissionsResponse
raw := noMethod(*s)
type NoMethod TestIamPermissionsResponse
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
@@ -1123,6 +1123,7 @@ type FoldersCreateCall struct {
// In order to succeed, the addition of this new Folder must not
// violate
// the Folder naming, height or fanout constraints.
//
// + The Folder's display_name must be distinct from all other Folder's
// that
// share its parent.
@@ -1241,12 +1242,12 @@ func (c *FoldersCreateCall) Do(opts ...googleapi.CallOption) (*Operation, 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
// {
// "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+ 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,\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.",
// "flatPath": "v2beta1/folders",
// "httpMethod": "POST",
// "id": "cloudresourcemanager.folders.create",
@@ -1284,13 +1285,13 @@ type FoldersDeleteCall struct {
// Delete: Requests deletion of a Folder. The Folder is moved into
// the
// [DELETE_REQUESTED] state immediately, and is deleted approximately 30
// days
// later. This method may only be called on an empty Folder in the
// [ACTIVE]
// state, where a Folder is empty if it doesn't contain any Folders
// or
// Projects in the [ACTIVE] state.
// DELETE_REQUESTED state
// immediately, and is deleted approximately 30 days later. This method
// may
// only be called on an empty Folder in the
// ACTIVE state, where a Folder is empty if
// it doesn't contain any Folders or Projects in the
// ACTIVE state.
// The caller must have `resourcemanager.folders.delete` permission on
// the
// identified folder.
@@ -1376,12 +1377,12 @@ func (c *FoldersDeleteCall) Do(opts ...googleapi.CallOption) (*Folder, 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
// {
// "description": "Requests deletion of a Folder. The Folder is moved into the\n[DELETE_REQUESTED] state immediately, and is deleted approximately 30 days\nlater. This method may only be called on an empty Folder in the [ACTIVE]\nstate, where a Folder is empty if it doesn't contain any Folders or\nProjects in the [ACTIVE] state.\nThe caller must have `resourcemanager.folders.delete` permission on the\nidentified folder.",
// "description": "Requests deletion of a Folder. The Folder is moved into the\nDELETE_REQUESTED state\nimmediately, and is deleted approximately 30 days later. This method may\nonly be called on an empty Folder in the\nACTIVE state, where a Folder is empty if\nit doesn't contain any Folders or Projects in the\nACTIVE state.\nThe caller must have `resourcemanager.folders.delete` permission on the\nidentified folder.",
// "flatPath": "v2beta1/folders/{foldersId}",
// "httpMethod": "DELETE",
// "id": "cloudresourcemanager.folders.delete",
@@ -1522,7 +1523,7 @@ func (c *FoldersGetCall) Do(opts ...googleapi.CallOption) (*Folder, 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
@@ -1662,7 +1663,7 @@ func (c *FoldersGetIamPolicyCall) Do(opts ...googleapi.CallOption) (*Policy, 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
@@ -1755,8 +1756,9 @@ func (c *FoldersListCall) Parent(parent string) *FoldersListCall {
}
// ShowDeleted sets the optional parameter "showDeleted": Controls
// whether Folders in the [DELETE_REQUESTED} state should
// be returned.
// whether Folders in the
// DELETE_REQUESTED
// state should be returned. Defaults to false. This field is optional.
func (c *FoldersListCall) ShowDeleted(showDeleted bool) *FoldersListCall {
c.urlParams_.Set("showDeleted", fmt.Sprint(showDeleted))
return c
@@ -1848,7 +1850,7 @@ func (c *FoldersListCall) Do(opts ...googleapi.CallOption) (*ListFoldersResponse
},
}
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
@@ -1876,7 +1878,7 @@ func (c *FoldersListCall) Do(opts ...googleapi.CallOption) (*ListFoldersResponse
// "type": "string"
// },
// "showDeleted": {
// "description": "Controls whether Folders in the [DELETE_REQUESTED} state should\nbe returned.",
// "description": "Controls whether Folders in the\nDELETE_REQUESTED\nstate should be returned. Defaults to false. This field is optional.",
// "location": "query",
// "type": "boolean"
// }
@@ -1946,8 +1948,8 @@ type FoldersMoveCall struct {
// FolderOperation message as an aid to stateless clients.
// Folder moves will be rejected if they violate either the naming,
// height
// or fanout constraints described in the [CreateFolder]
// documentation.
// or fanout constraints described in the
// CreateFolder documentation.
// The caller must have `resourcemanager.folders.move` permission on
// the
// folder's current and proposed new parent.
@@ -2039,12 +2041,12 @@ func (c *FoldersMoveCall) Do(opts ...googleapi.CallOption) (*Operation, 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
// {
// "description": "Moves a Folder under a new resource parent.\nReturns an Operation which can be used to track the progress of the\nfolder move workflow.\nUpon success the Operation.response field will be populated with the\nmoved Folder.\nUpon failure, a FolderOperationError categorizing the failure cause will\nbe returned - if the failure occurs synchronously then the\nFolderOperationError will be returned via the Status.details field\nand if it occurs asynchronously then the FolderOperation will be returned\nvia the the Operation.error field.\nIn addition, the Operation.metadata field will be populated with a\nFolderOperation message as an aid to stateless clients.\nFolder moves will be rejected if they violate either the naming, height\nor fanout constraints described in the [CreateFolder] documentation.\nThe caller must have `resourcemanager.folders.move` permission on the\nfolder's current and proposed new parent.",
// "description": "Moves a Folder under a new resource parent.\nReturns an Operation which can be used to track the progress of the\nfolder move workflow.\nUpon success the Operation.response field will be populated with the\nmoved Folder.\nUpon failure, a FolderOperationError categorizing the failure cause will\nbe returned - if the failure occurs synchronously then the\nFolderOperationError will be returned via the Status.details field\nand if it occurs asynchronously then the FolderOperation will be returned\nvia the the Operation.error field.\nIn addition, the Operation.metadata field will be populated with a\nFolderOperation message as an aid to stateless clients.\nFolder moves will be rejected if they violate either the naming, height\nor fanout constraints described in the\nCreateFolder documentation.\nThe caller must have `resourcemanager.folders.move` permission on the\nfolder's current and proposed new parent.",
// "flatPath": "v2beta1/folders/{foldersId}:move",
// "httpMethod": "POST",
// "id": "cloudresourcemanager.folders.move",
@@ -2088,10 +2090,11 @@ type FoldersPatchCall struct {
// Patch: Updates a Folder, changing its display_name.
// Changes to the folder display_name will be rejected if they violate
// either
// the display_name formatting rules or naming constraints described
// in
// the [CreateFolder] documentation.
// + The Folder's display name must start and end with a letter or
// the display_name formatting rules or naming constraints described in
// the
// CreateFolder documentation.
//
// The Folder's display name must start and end with a letter or
// digit,
// may contain letters, digits, spaces, hyphens and underscores and can
// be
@@ -2202,12 +2205,12 @@ func (c *FoldersPatchCall) Do(opts ...googleapi.CallOption) (*Folder, 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
// {
// "description": "Updates a Folder, changing its display_name.\nChanges to the folder display_name will be rejected if they violate either\nthe display_name formatting rules or naming constraints described in\nthe [CreateFolder] documentation.\n+ The Folder's display name must start and end with a letter or digit,\nmay contain letters, digits, spaces, hyphens and underscores and can be\nno longer than 30 characters. This is captured by the regular expression:\n[\\p{L}\\p{N}]({\\p{L}\\p{N}_- ]{0,28}[\\p{L}\\p{N}])?.\nThe caller must have `resourcemanager.folders.update` permission on the\nidentified folder.\n\nIf the update fails due to the unique name constraint then a\nPreconditionFailure explaining this violation will be returned\nin the Status.details field.",
// "description": "Updates a Folder, changing its display_name.\nChanges to the folder display_name will be rejected if they violate either\nthe display_name formatting rules or naming constraints described in the\nCreateFolder documentation.\n\nThe Folder's display name must start and end with a letter or digit,\nmay contain letters, digits, spaces, hyphens and underscores and can be\nno longer than 30 characters. This is captured by the regular expression:\n[\\p{L}\\p{N}]({\\p{L}\\p{N}_- ]{0,28}[\\p{L}\\p{N}])?.\nThe caller must have `resourcemanager.folders.update` permission on the\nidentified folder.\n\nIf the update fails due to the unique name constraint then a\nPreconditionFailure explaining this violation will be returned\nin the Status.details field.",
// "flatPath": "v2beta1/folders/{foldersId}",
// "httpMethod": "PATCH",
// "id": "cloudresourcemanager.folders.patch",
@@ -2345,7 +2348,7 @@ func (c *FoldersSearchCall) Do(opts ...googleapi.CallOption) (*SearchFoldersResp
},
}
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
@@ -2499,7 +2502,7 @@ func (c *FoldersSetIamPolicyCall) Do(opts ...googleapi.CallOption) (*Policy, 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
@@ -2639,7 +2642,7 @@ func (c *FoldersTestIamPermissionsCall) Do(opts ...googleapi.CallOption) (*TestI
},
}
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
@@ -2687,14 +2690,15 @@ type FoldersUndeleteCall struct {
// Undelete: Cancels the deletion request for a Folder. This method may
// only be
// called on a Folder in the [DELETE_REQUESTED] state.
// In order to succeed, the Folder's parent must be in the [ACTIVE]
// state.
// called on a Folder in the
// DELETE_REQUESTED state.
// In order to succeed, the Folder's parent must be in the
// ACTIVE state.
// In addition, reintroducing the folder into the tree must not
// violate
// folder naming, height and fanout constraints described in
// the
// [CreateFolder] documentation.
// CreateFolder documentation.
// The caller must have `resourcemanager.folders.undelete` permission on
// the
// identified folder.
@@ -2786,12 +2790,12 @@ func (c *FoldersUndeleteCall) Do(opts ...googleapi.CallOption) (*Folder, 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
// {
// "description": "Cancels the deletion request for a Folder. This method may only be\ncalled on a Folder in the [DELETE_REQUESTED] state.\nIn order to succeed, the Folder's parent must be in the [ACTIVE] state.\nIn addition, reintroducing the folder into the tree must not violate\nfolder naming, height and fanout constraints described in the\n[CreateFolder] documentation.\nThe caller must have `resourcemanager.folders.undelete` permission on the\nidentified folder.",
// "description": "Cancels the deletion request for a Folder. This method may only be\ncalled on a Folder in the\nDELETE_REQUESTED state.\nIn order to succeed, the Folder's parent must be in the\nACTIVE state.\nIn addition, reintroducing the folder into the tree must not violate\nfolder naming, height and fanout constraints described in the\nCreateFolder documentation.\nThe caller must have `resourcemanager.folders.undelete` permission on the\nidentified folder.",
// "flatPath": "v2beta1/folders/{foldersId}:undelete",
// "httpMethod": "POST",
// "id": "cloudresourcemanager.folders.undelete",