vendor: update all dependencies

This commit is contained in:
Nick Craig-Wood 2018-06-17 17:59:12 +01:00
parent 3f0789e2db
commit 08021c4636
2474 changed files with 435818 additions and 282709 deletions

View file

@ -381,8 +381,7 @@ type Binding struct {
// account.
//
// * `user:{emailid}`: An email address that represents a specific
// Google account. For example, `alice@gmail.com` or
// `joe@example.com`.
// Google account. For example, `alice@gmail.com` .
//
//
//
@ -1158,6 +1157,44 @@ func (s *Expr) MarshalJSON() ([]byte, error) {
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
type GlobalSetPolicyRequest struct {
// Bindings: Flatten Policy to create a backwacd compatible wire-format.
// Deprecated. Use 'policy' to specify bindings.
Bindings []*Binding `json:"bindings,omitempty"`
// Etag: Flatten Policy to create a backward compatible wire-format.
// Deprecated. Use 'policy' to specify the etag.
Etag string `json:"etag,omitempty"`
// Policy: REQUIRED: The complete policy to be applied to the
// 'resource'. The size of the policy is limited to a few 10s of KB. An
// empty policy is in general a valid policy but certain services (like
// Projects) might reject them.
Policy *Policy `json:"policy,omitempty"`
// ForceSendFields is a list of field names (e.g. "Bindings") to
// unconditionally include in API requests. By default, fields with
// empty values are omitted from API requests. However, any non-pointer,
// non-interface field appearing in ForceSendFields will be sent to the
// server regardless of whether the field is empty or not. This may be
// used to include empty fields in Patch requests.
ForceSendFields []string `json:"-"`
// NullFields is a list of field names (e.g. "Bindings") to include in
// API requests with the JSON null value. By default, fields with empty
// values are omitted from API requests. However, any field with an
// empty value appearing in NullFields will be sent to the server as
// null. It is an error if a field in this list has a non-empty value.
// This may be used to include null fields in Patch requests.
NullFields []string `json:"-"`
}
func (s *GlobalSetPolicyRequest) MarshalJSON() ([]byte, error) {
type NoMethod GlobalSetPolicyRequest
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
type ImportFile struct {
// Content: The contents of the file.
Content string `json:"content,omitempty"`
@ -1525,7 +1562,8 @@ func (s *MethodMap) MarshalJSON() ([]byte, error) {
// (== resource_for beta.regionOperations ==) (== resource_for
// v1.zoneOperations ==) (== resource_for beta.zoneOperations ==)
type Operation struct {
// ClientOperationId: [Output Only] Reserved for future use.
// ClientOperationId: [Output Only] The value of `requestId` if you
// provided it in the request. Not present otherwise.
ClientOperationId string `json:"clientOperationId,omitempty"`
// CreationTimestamp: [Deprecated] This field is deprecated.
@ -1874,20 +1912,30 @@ func (s *Options) MarshalJSON() ([]byte, error) {
//
//
//
// A `Policy` consists of a list of `bindings`. A `Binding` binds a list
// A `Policy` consists of a list of `bindings`. A `binding` binds a list
// of `members` to a `role`, where the members can be user accounts,
// Google groups, Google domains, and service accounts. A `role` is a
// named list of permissions defined by IAM.
//
// **Example**
// **JSON Example**
//
// { "bindings": [ { "role": "roles/owner", "members": [
// "user:mike@example.com", "group:admins@example.com",
// "domain:google.com",
// "serviceAccount:my-other-app@appspot.gserviceaccount.com", ] }, {
// "serviceAccount:my-other-app@appspot.gserviceaccount.com" ] }, {
// "role": "roles/viewer", "members": ["user:sean@example.com"] } ]
// }
//
// **YAML Example**
//
// bindings: - members: - user:mike@example.com -
// group:admins@example.com - domain:google.com -
// serviceAccount:my-other-app@appspot.gserviceaccount.com role:
// roles/owner - members: - user:sean@example.com role:
// roles/viewer
//
//
//
// For a description of IAM and its features, see the [IAM developer's
// guide](https://cloud.google.com/iam/docs).
type Policy struct {
@ -5305,22 +5353,22 @@ func (c *DeploymentsPatchCall) Do(opts ...googleapi.CallOption) (*Operation, err
// method id "deploymentmanager.deployments.setIamPolicy":
type DeploymentsSetIamPolicyCall struct {
s *Service
project string
resource string
policy *Policy
urlParams_ gensupport.URLParams
ctx_ context.Context
header_ http.Header
s *Service
project string
resource string
globalsetpolicyrequest *GlobalSetPolicyRequest
urlParams_ gensupport.URLParams
ctx_ context.Context
header_ http.Header
}
// SetIamPolicy: Sets the access control policy on the specified
// resource. Replaces any existing policy.
func (r *DeploymentsService) SetIamPolicy(project string, resource string, policy *Policy) *DeploymentsSetIamPolicyCall {
func (r *DeploymentsService) SetIamPolicy(project string, resource string, globalsetpolicyrequest *GlobalSetPolicyRequest) *DeploymentsSetIamPolicyCall {
c := &DeploymentsSetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.project = project
c.resource = resource
c.policy = policy
c.globalsetpolicyrequest = globalsetpolicyrequest
return c
}
@ -5356,7 +5404,7 @@ func (c *DeploymentsSetIamPolicyCall) doRequest(alt string) (*http.Response, err
}
reqHeaders.Set("User-Agent", c.s.userAgent())
var body io.Reader = nil
body, err := googleapi.WithoutDataWrapper.JSONReader(c.policy)
body, err := googleapi.WithoutDataWrapper.JSONReader(c.globalsetpolicyrequest)
if err != nil {
return nil, err
}
@ -5436,7 +5484,7 @@ func (c *DeploymentsSetIamPolicyCall) Do(opts ...googleapi.CallOption) (*Policy,
// },
// "path": "{project}/global/deployments/{resource}/setIamPolicy",
// "request": {
// "$ref": "Policy"
// "$ref": "GlobalSetPolicyRequest"
// },
// "response": {
// "$ref": "Policy"
@ -7631,7 +7679,7 @@ func (c *TypeProvidersGetTypeCall) Do(opts ...googleapi.CallOption) (*TypeInfo,
// "type": "string"
// },
// "type": {
// "description": "The name of the type provider for this request.",
// "description": "The name of the type provider type for this request.",
// "location": "path",
// "required": true,
// "type": "string"