vendor: update all dependencies

This commit is contained in:
Nick Craig-Wood
2017-07-23 08:51:42 +01:00
parent 0b6fba34a3
commit eb87cf6f12
2008 changed files with 352617 additions and 1004734 deletions
@@ -346,6 +346,7 @@ type Binding struct {
// group.
// For example, `admins@example.com`.
//
//
// * `domain:{domain}`: A Google Apps domain name that represents all
// the
// users of that domain. For example, `google.com` or
@@ -673,22 +674,23 @@ type FolderOperationError struct {
// Possible values:
// "ERROR_TYPE_UNSPECIFIED" - The error type was unrecognized or
// unspecified.
// "FOLDER_HEIGHT_VIOLATION" - The attempted action would violate the
// max folder depth constraint.
// "ACTIVE_FOLDER_HEIGHT_VIOLATION" - The attempted action would
// violate the max folder depth constraint.
// "MAX_CHILD_FOLDERS_VIOLATION" - The attempted action would violate
// the max child folders constraint.
// "FOLDER_NAME_UNIQUENESS_VIOLATION" - The attempted action would
// violate the locally-unique folder
// display_name constraint.
// "RESOURCE_DELETED" - The resource being moved has been deleted.
// "PARENT_DELETED" - The resource a folder was being added to has
// been deleted.
// "CYCLE_INTRODUCED_ERROR" - The attempted action would introduce
// "RESOURCE_DELETED_VIOLATION" - The resource being moved has been
// deleted.
// "PARENT_DELETED_VIOLATION" - The resource a folder was being added
// to has been deleted.
// "CYCLE_INTRODUCED_VIOLATION" - The attempted action would introduce
// cycle in resource path.
// "FOLDER_BEING_MOVED" - The attempted action would move a folder
// that is already being moved.
// "FOLDER_TO_DELETE_NON_EMPTY" - The folder the caller is trying to
// delete contains active resources.
// "FOLDER_BEING_MOVED_VIOLATION" - The attempted action would move a
// folder that is already being moved.
// "FOLDER_TO_DELETE_NON_EMPTY_VIOLATION" - The folder the caller is
// trying to delete contains active resources.
// "DELETED_FOLDER_HEIGHT_VIOLATION" - The attempted action would
// violate the max deleted folder depth
// constraint.
@@ -1158,9 +1160,9 @@ type ListPolicy struct {
// "DENY" - A policy with this set denies all values.
AllValues string `json:"allValues,omitempty"`
// AllowedValues: List of values allowed at this resource. an only be
// set if no values are
// set for `denied_values` and `all_values` is set
// AllowedValues: List of values allowed at this resource. Can only be
// set if no values
// are set for `denied_values` and `all_values` is set
// to
// `ALL_VALUES_UNSPECIFIED`.
AllowedValues []string `json:"allowedValues,omitempty"`
@@ -1678,8 +1680,6 @@ type Policy struct {
AuditConfigs []*AuditConfig `json:"auditConfigs,omitempty"`
// Bindings: Associates a list of `members` to a `role`.
// Multiple `bindings` must not be specified for the same
// `role`.
// `bindings` with no members will result in an error.
Bindings []*Binding `json:"bindings,omitempty"`
@@ -2162,7 +2162,7 @@ func (s *SetOrgPolicyRequest) MarshalJSON() ([]byte, error) {
// arbitrary
// information about the error. There is a predefined set of error
// detail types
// in the package `google.rpc` which can be used for common error
// in the package `google.rpc` that can be used for common error
// conditions.
//
// # Language mapping
@@ -2195,7 +2195,7 @@ func (s *SetOrgPolicyRequest) MarshalJSON() ([]byte, error) {
//
// - Workflow errors. A typical workflow has multiple steps. Each step
// may
// have a `Status` message for error reporting purpose.
// have a `Status` message for error reporting.
//
// - Batch operations. If a client uses batch request and batch
// response, the
@@ -4239,7 +4239,13 @@ type OrganizationsGetIamPolicyCall struct {
// resource. May be empty
// if no such policy or resource exists. The `resource` field should be
// the
// organization's resource name, e.g. "organizations/123".
// organization's resource name, e.g.
// "organizations/123".
//
// Authorization requires the Google IAM
// permission
// `resourcemanager.organizations.getIamPolicy` on the specified
// organization
func (r *OrganizationsService) GetIamPolicy(resource string, getiampolicyrequest *GetIamPolicyRequest) *OrganizationsGetIamPolicyCall {
c := &OrganizationsGetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -4333,7 +4339,7 @@ func (c *OrganizationsGetIamPolicyCall) Do(opts ...googleapi.CallOption) (*Polic
}
return ret, nil
// {
// "description": "Gets the access control policy for an Organization resource. May be empty\nif no such policy or resource exists. The `resource` field should be the\norganization's resource name, e.g. \"organizations/123\".",
// "description": "Gets the access control policy for an Organization resource. May be empty\nif no such policy or resource exists. The `resource` field should be the\norganization's resource name, e.g. \"organizations/123\".\n\nAuthorization requires the Google IAM permission\n`resourcemanager.organizations.getIamPolicy` on the specified organization",
// "flatPath": "v1/organizations/{organizationsId}:getIamPolicy",
// "httpMethod": "POST",
// "id": "cloudresourcemanager.organizations.getIamPolicy",
@@ -4843,6 +4849,10 @@ type OrganizationsSearchCall struct {
// order. New Organizations do not necessarily appear at the end of
// the
// results.
//
// Search will only return organizations on which the user has the
// permission
// `resourcemanager.organizations.get`
func (r *OrganizationsService) Search(searchorganizationsrequest *SearchOrganizationsRequest) *OrganizationsSearchCall {
c := &OrganizationsSearchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.searchorganizationsrequest = searchorganizationsrequest
@@ -4932,7 +4942,7 @@ func (c *OrganizationsSearchCall) Do(opts ...googleapi.CallOption) (*SearchOrgan
}
return ret, nil
// {
// "description": "Searches Organization resources that are visible to the user and satisfy\nthe specified filter. This method returns Organizations in an unspecified\norder. New Organizations do not necessarily appear at the end of the\nresults.",
// "description": "Searches Organization resources that are visible to the user and satisfy\nthe specified filter. This method returns Organizations in an unspecified\norder. New Organizations do not necessarily appear at the end of the\nresults.\n\nSearch will only return organizations on which the user has the permission\n`resourcemanager.organizations.get`",
// "flatPath": "v1/organizations:search",
// "httpMethod": "POST",
// "id": "cloudresourcemanager.organizations.search",
@@ -4990,6 +5000,11 @@ type OrganizationsSetIamPolicyCall struct {
// existing policy. The `resource` field should be the organization's
// resource
// name, e.g. "organizations/123".
//
// Authorization requires the Google IAM
// permission
// `resourcemanager.organizations.setIamPolicy` on the specified
// organization
func (r *OrganizationsService) SetIamPolicy(resource string, setiampolicyrequest *SetIamPolicyRequest) *OrganizationsSetIamPolicyCall {
c := &OrganizationsSetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -5083,7 +5098,7 @@ func (c *OrganizationsSetIamPolicyCall) Do(opts ...googleapi.CallOption) (*Polic
}
return ret, nil
// {
// "description": "Sets the access control policy on an Organization resource. Replaces any\nexisting policy. The `resource` field should be the organization's resource\nname, e.g. \"organizations/123\".",
// "description": "Sets the access control policy on an Organization resource. Replaces any\nexisting policy. The `resource` field should be the organization's resource\nname, e.g. \"organizations/123\".\n\nAuthorization requires the Google IAM permission\n`resourcemanager.organizations.setIamPolicy` on the specified organization",
// "flatPath": "v1/organizations/{organizationsId}:setIamPolicy",
// "httpMethod": "POST",
// "id": "cloudresourcemanager.organizations.setIamPolicy",
@@ -5269,6 +5284,8 @@ type OrganizationsTestIamPermissionsCall struct {
// specified Organization.
// The `resource` field should be the organization's resource name,
// e.g. "organizations/123".
//
// There are no permissions required for making this API call.
func (r *OrganizationsService) TestIamPermissions(resource string, testiampermissionsrequest *TestIamPermissionsRequest) *OrganizationsTestIamPermissionsCall {
c := &OrganizationsTestIamPermissionsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -5362,7 +5379,7 @@ func (c *OrganizationsTestIamPermissionsCall) Do(opts ...googleapi.CallOption) (
}
return ret, nil
// {
// "description": "Returns permissions that a caller has on the specified Organization.\nThe `resource` field should be the organization's resource name,\ne.g. \"organizations/123\".",
// "description": "Returns permissions that a caller has on the specified Organization.\nThe `resource` field should be the organization's resource name,\ne.g. \"organizations/123\".\n\nThere are no permissions required for making this API call.",
// "flatPath": "v1/organizations/{organizationsId}:testIamPermissions",
// "httpMethod": "POST",
// "id": "cloudresourcemanager.organizations.testIamPermissions",
@@ -5551,6 +5568,12 @@ type ProjectsCreateCall struct {
// latency. 95th percentile latency is around 11 seconds. We
// recommend
// polling at the 5th second with an exponential backoff.
//
// Authorization requires the Google IAM
// permission
// `resourcemanager.projects.create` on the specified parent for the
// new
// project.
func (r *ProjectsService) Create(project *Project) *ProjectsCreateCall {
c := &ProjectsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.project = project
@@ -5640,7 +5663,7 @@ func (c *ProjectsCreateCall) Do(opts ...googleapi.CallOption) (*Operation, error
}
return ret, nil
// {
// "description": "Request that a new Project be created. The result is an Operation which\ncan be used to track the creation process. It is automatically deleted\nafter a few hours, so there is no need to call DeleteOperation.\n\nOur SLO permits Project creation to take up to 30 seconds at the 90th\npercentile. As of 2016-08-29, we are observing 6 seconds 50th percentile\nlatency. 95th percentile latency is around 11 seconds. We recommend\npolling at the 5th second with an exponential backoff.",
// "description": "Request that a new Project be created. The result is an Operation which\ncan be used to track the creation process. It is automatically deleted\nafter a few hours, so there is no need to call DeleteOperation.\n\nOur SLO permits Project creation to take up to 30 seconds at the 90th\npercentile. As of 2016-08-29, we are observing 6 seconds 50th percentile\nlatency. 95th percentile latency is around 11 seconds. We recommend\npolling at the 5th second with an exponential backoff.\n\nAuthorization requires the Google IAM permission\n`resourcemanager.projects.create` on the specified parent for the new\nproject.",
// "flatPath": "v1/projects",
// "httpMethod": "POST",
// "id": "cloudresourcemanager.projects.create",
@@ -6245,7 +6268,12 @@ type ProjectsGetIamPolicyCall struct {
// GetIamPolicy: Returns the IAM access control policy for the specified
// Project.
// Permission is denied if the policy or the resource does not exist.
// Permission is denied if the policy or the resource does not
// exist.
//
// Authorization requires the Google IAM
// permission
// `resourcemanager.projects.getIamPolicy` on the project
func (r *ProjectsService) GetIamPolicy(resource string, getiampolicyrequest *GetIamPolicyRequest) *ProjectsGetIamPolicyCall {
c := &ProjectsGetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -6339,7 +6367,7 @@ func (c *ProjectsGetIamPolicyCall) Do(opts ...googleapi.CallOption) (*Policy, er
}
return ret, nil
// {
// "description": "Returns the IAM access control policy for the specified Project.\nPermission is denied if the policy or the resource does not exist.",
// "description": "Returns the IAM access control policy for the specified Project.\nPermission is denied if the policy or the resource does not exist.\n\nAuthorization requires the Google IAM permission\n`resourcemanager.projects.getIamPolicy` on the project",
// "flatPath": "v1/projects/{resource}:getIamPolicy",
// "httpMethod": "POST",
// "id": "cloudresourcemanager.projects.getIamPolicy",
@@ -6557,8 +6585,24 @@ func (r *ProjectsService) List() *ProjectsListCall {
// |labels.color:red|The project's label `color` has the value
// `red`.|
// |labels.color:red labels.size:big|The project's label `color`
// has the
// value `red` and its label `size` has the value `big`.
// has the value `red` and its label `size` has the value `big`.
//
// If you specify a filter that has both `parent.type` and `parent.id`,
// then
// the `resourcemanager.projects.list` permission is checked on the
// parent.
// If the user has this permission, all projects under the parent will
// be
// returned after remaining filters have been applied. If the user lacks
// this
// permission, then all projects for which the user has
// the
// `resourcemanager.projects.get` permission will be returned after
// remaining
// filters have been applied. If no filter is specified, the call will
// return
// projects for which the user has `resourcemanager.projects.get`
// permissions.
func (c *ProjectsListCall) Filter(filter string) *ProjectsListCall {
c.urlParams_.Set("filter", filter)
return c
@@ -6679,7 +6723,7 @@ func (c *ProjectsListCall) Do(opts ...googleapi.CallOption) (*ListProjectsRespon
// "parameterOrder": [],
// "parameters": {
// "filter": {
// "description": "An expression for filtering the results of the request. Filter rules are\ncase insensitive. The fields eligible for filtering are:\n\n+ `name`\n+ `id`\n+ \u003ccode\u003elabels.\u003cem\u003ekey\u003c/em\u003e\u003c/code\u003e where *key* is the name of a label\n\nSome examples of using labels as filters:\n\n|Filter|Description|\n|------|-----------|\n|name:how*|The project's name starts with \"how\".|\n|name:Howl|The project's name is `Howl` or `howl`.|\n|name:HOWL|Equivalent to above.|\n|NAME:howl|Equivalent to above.|\n|labels.color:*|The project has the label `color`.|\n|labels.color:red|The project's label `color` has the value `red`.|\n|labels.color:red\u0026nbsp;labels.size:big|The project's label `color` has the\nvalue `red` and its label `size` has the value `big`.\n\nOptional.",
// "description": "An expression for filtering the results of the request. Filter rules are\ncase insensitive. The fields eligible for filtering are:\n\n+ `name`\n+ `id`\n+ \u003ccode\u003elabels.\u003cem\u003ekey\u003c/em\u003e\u003c/code\u003e where *key* is the name of a label\n\nSome examples of using labels as filters:\n\n|Filter|Description|\n|------|-----------|\n|name:how*|The project's name starts with \"how\".|\n|name:Howl|The project's name is `Howl` or `howl`.|\n|name:HOWL|Equivalent to above.|\n|NAME:howl|Equivalent to above.|\n|labels.color:*|The project has the label `color`.|\n|labels.color:red|The project's label `color` has the value `red`.|\n|labels.color:red\u0026nbsp;labels.size:big|The project's label `color` has the value `red` and its label `size` has the value `big`.\n\nIf you specify a filter that has both `parent.type` and `parent.id`, then\nthe `resourcemanager.projects.list` permission is checked on the parent.\nIf the user has this permission, all projects under the parent will be\nreturned after remaining filters have been applied. If the user lacks this\npermission, then all projects for which the user has the\n`resourcemanager.projects.get` permission will be returned after remaining\nfilters have been applied. If no filter is specified, the call will return\nprojects for which the user has `resourcemanager.projects.get` permissions.\n\nOptional.",
// "location": "query",
// "type": "string"
// },
@@ -7090,17 +7134,19 @@ type ProjectsSetIamPolicyCall struct {
// have
// accepted the Terms of Service (ToS) will be rejected.
//
// + There must be at least one owner who has accepted the Terms
// of
// Service (ToS) agreement in the policy. Calling `setIamPolicy()`
// + If the project is not part of an organization, there must be at
// least
// one owner who has accepted the Terms of Service (ToS) agreement in
// the
// policy. Calling `setIamPolicy()` to remove the last ToS-accepted
// owner
// from the policy will fail. This restriction also applies to
// legacy
// projects that no longer have owners who have accepted the ToS. Edits
// to
// remove the last ToS-accepted owner from the policy will fail.
// This
// restriction also applies to legacy projects that no longer have
// owners
// who have accepted the ToS. Edits to IAM policies will be rejected
// until
// the lack of a ToS-accepting owner is rectified.
// IAM policies will be rejected until the lack of a ToS-accepting owner
// is
// rectified.
//
// + Calling this method requires enabling the App Engine Admin
// API.
@@ -7112,6 +7158,10 @@ type ProjectsSetIamPolicyCall struct {
// how the service account is being used before removing or updating
// its
// roles.
//
// Authorization requires the Google IAM
// permission
// `resourcemanager.projects.setIamPolicy` on the project
func (r *ProjectsService) SetIamPolicy(resource string, setiampolicyrequest *SetIamPolicyRequest) *ProjectsSetIamPolicyCall {
c := &ProjectsSetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -7205,7 +7255,7 @@ func (c *ProjectsSetIamPolicyCall) Do(opts ...googleapi.CallOption) (*Policy, er
}
return ret, nil
// {
// "description": "Sets the IAM access control policy for the specified Project. Replaces\nany existing policy.\n\nThe following constraints apply when using `setIamPolicy()`:\n\n+ Project does not support `allUsers` and `allAuthenticatedUsers` as\n`members` in a `Binding` of a `Policy`.\n\n+ The owner role can be granted only to `user` and `serviceAccount`.\n\n+ Service accounts can be made owners of a project directly\nwithout any restrictions. However, to be added as an owner, a user must be\ninvited via Cloud Platform console and must accept the invitation.\n\n+ A user cannot be granted the owner role using `setIamPolicy()`. The user\nmust be granted the owner role using the Cloud Platform Console and must\nexplicitly accept the invitation.\n\n+ Invitations to grant the owner role cannot be sent using\n`setIamPolicy()`;\nthey must be sent only using the Cloud Platform Console.\n\n+ Membership changes that leave the project without any owners that have\naccepted the Terms of Service (ToS) will be rejected.\n\n+ There must be at least one owner who has accepted the Terms of\nService (ToS) agreement in the policy. Calling `setIamPolicy()` to\nremove the last ToS-accepted owner from the policy will fail. This\nrestriction also applies to legacy projects that no longer have owners\nwho have accepted the ToS. Edits to IAM policies will be rejected until\nthe lack of a ToS-accepting owner is rectified.\n\n+ Calling this method requires enabling the App Engine Admin API.\n\nNote: Removing service accounts from policies or changing their roles\ncan render services completely inoperable. It is important to understand\nhow the service account is being used before removing or updating its\nroles.",
// "description": "Sets the IAM access control policy for the specified Project. Replaces\nany existing policy.\n\nThe following constraints apply when using `setIamPolicy()`:\n\n+ Project does not support `allUsers` and `allAuthenticatedUsers` as\n`members` in a `Binding` of a `Policy`.\n\n+ The owner role can be granted only to `user` and `serviceAccount`.\n\n+ Service accounts can be made owners of a project directly\nwithout any restrictions. However, to be added as an owner, a user must be\ninvited via Cloud Platform console and must accept the invitation.\n\n+ A user cannot be granted the owner role using `setIamPolicy()`. The user\nmust be granted the owner role using the Cloud Platform Console and must\nexplicitly accept the invitation.\n\n+ Invitations to grant the owner role cannot be sent using\n`setIamPolicy()`;\nthey must be sent only using the Cloud Platform Console.\n\n+ Membership changes that leave the project without any owners that have\naccepted the Terms of Service (ToS) will be rejected.\n\n+ If the project is not part of an organization, there must be at least\none owner who has accepted the Terms of Service (ToS) agreement in the\npolicy. Calling `setIamPolicy()` to remove the last ToS-accepted owner\nfrom the policy will fail. This restriction also applies to legacy\nprojects that no longer have owners who have accepted the ToS. Edits to\nIAM policies will be rejected until the lack of a ToS-accepting owner is\nrectified.\n\n+ Calling this method requires enabling the App Engine Admin API.\n\nNote: Removing service accounts from policies or changing their roles\ncan render services completely inoperable. It is important to understand\nhow the service account is being used before removing or updating its\nroles.\n\nAuthorization requires the Google IAM permission\n`resourcemanager.projects.setIamPolicy` on the project",
// "flatPath": "v1/projects/{resource}:setIamPolicy",
// "httpMethod": "POST",
// "id": "cloudresourcemanager.projects.setIamPolicy",
@@ -7388,6 +7438,8 @@ type ProjectsTestIamPermissionsCall struct {
// TestIamPermissions: Returns permissions that a caller has on the
// specified Project.
//
// There are no permissions required for making this API call.
func (r *ProjectsService) TestIamPermissions(resource string, testiampermissionsrequest *TestIamPermissionsRequest) *ProjectsTestIamPermissionsCall {
c := &ProjectsTestIamPermissionsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -7481,7 +7533,7 @@ func (c *ProjectsTestIamPermissionsCall) Do(opts ...googleapi.CallOption) (*Test
}
return ret, nil
// {
// "description": "Returns permissions that a caller has on the specified Project.",
// "description": "Returns permissions that a caller has on the specified Project.\n\nThere are no permissions required for making this API call.",
// "flatPath": "v1/projects/{resource}:testIamPermissions",
// "httpMethod": "POST",
// "id": "cloudresourcemanager.projects.testIamPermissions",