forked from TrueCloudLab/rclone
vendor: update all dependencies
This commit is contained in:
parent
3f0789e2db
commit
08021c4636
2474 changed files with 435818 additions and 282709 deletions
82
vendor/google.golang.org/api/deploymentmanager/v2/deploymentmanager-gen.go
generated
vendored
82
vendor/google.golang.org/api/deploymentmanager/v2/deploymentmanager-gen.go
generated
vendored
|
@ -294,8 +294,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` .
|
||||
//
|
||||
//
|
||||
//
|
||||
|
@ -757,6 +756,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"`
|
||||
|
@ -1039,7 +1076,8 @@ func (s *ManifestsListResponse) 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.
|
||||
|
@ -1347,20 +1385,30 @@ func (s *OperationsListResponse) 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 {
|
||||
|
@ -3325,22 +3373,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
|
||||
}
|
||||
|
||||
|
@ -3376,7 +3424,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
|
||||
}
|
||||
|
@ -3456,7 +3504,7 @@ func (c *DeploymentsSetIamPolicyCall) Do(opts ...googleapi.CallOption) (*Policy,
|
|||
// },
|
||||
// "path": "{project}/global/deployments/{resource}/setIamPolicy",
|
||||
// "request": {
|
||||
// "$ref": "Policy"
|
||||
// "$ref": "GlobalSetPolicyRequest"
|
||||
// },
|
||||
// "response": {
|
||||
// "$ref": "Policy"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue