vendor: update all dependencies to latest versions
This commit is contained in:
Generated
Vendored
+1008
-1008
File diff suppressed because it is too large
Load Diff
+134
-122
@@ -158,8 +158,8 @@ type Ancestor struct {
|
||||
}
|
||||
|
||||
func (s *Ancestor) MarshalJSON() ([]byte, error) {
|
||||
type noMethod Ancestor
|
||||
raw := noMethod(*s)
|
||||
type NoMethod Ancestor
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
@@ -252,8 +252,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)
|
||||
}
|
||||
|
||||
@@ -313,8 +313,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)
|
||||
}
|
||||
|
||||
@@ -379,8 +379,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)
|
||||
}
|
||||
|
||||
@@ -474,8 +474,8 @@ type BooleanPolicy struct {
|
||||
}
|
||||
|
||||
func (s *BooleanPolicy) MarshalJSON() ([]byte, error) {
|
||||
type noMethod BooleanPolicy
|
||||
raw := noMethod(*s)
|
||||
type NoMethod BooleanPolicy
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
@@ -507,8 +507,8 @@ type ClearOrgPolicyRequest struct {
|
||||
}
|
||||
|
||||
func (s *ClearOrgPolicyRequest) MarshalJSON() ([]byte, error) {
|
||||
type noMethod ClearOrgPolicyRequest
|
||||
raw := noMethod(*s)
|
||||
type NoMethod ClearOrgPolicyRequest
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
@@ -598,8 +598,8 @@ type Constraint struct {
|
||||
}
|
||||
|
||||
func (s *Constraint) MarshalJSON() ([]byte, error) {
|
||||
type noMethod Constraint
|
||||
raw := noMethod(*s)
|
||||
type NoMethod Constraint
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
@@ -662,8 +662,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)
|
||||
}
|
||||
|
||||
@@ -715,8 +715,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)
|
||||
}
|
||||
|
||||
@@ -757,8 +757,8 @@ type GetAncestryResponse struct {
|
||||
}
|
||||
|
||||
func (s *GetAncestryResponse) MarshalJSON() ([]byte, error) {
|
||||
type noMethod GetAncestryResponse
|
||||
raw := noMethod(*s)
|
||||
type NoMethod GetAncestryResponse
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
@@ -787,8 +787,8 @@ type GetEffectiveOrgPolicyRequest struct {
|
||||
}
|
||||
|
||||
func (s *GetEffectiveOrgPolicyRequest) MarshalJSON() ([]byte, error) {
|
||||
type noMethod GetEffectiveOrgPolicyRequest
|
||||
raw := noMethod(*s)
|
||||
type NoMethod GetEffectiveOrgPolicyRequest
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
@@ -819,8 +819,8 @@ type GetOrgPolicyRequest struct {
|
||||
}
|
||||
|
||||
func (s *GetOrgPolicyRequest) MarshalJSON() ([]byte, error) {
|
||||
type noMethod GetOrgPolicyRequest
|
||||
raw := noMethod(*s)
|
||||
type NoMethod GetOrgPolicyRequest
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
@@ -894,8 +894,8 @@ type Lien struct {
|
||||
}
|
||||
|
||||
func (s *Lien) MarshalJSON() ([]byte, error) {
|
||||
type noMethod Lien
|
||||
raw := noMethod(*s)
|
||||
type NoMethod Lien
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
@@ -935,8 +935,8 @@ type ListAvailableOrgPolicyConstraintsRequest struct {
|
||||
}
|
||||
|
||||
func (s *ListAvailableOrgPolicyConstraintsRequest) MarshalJSON() ([]byte, error) {
|
||||
type noMethod ListAvailableOrgPolicyConstraintsRequest
|
||||
raw := noMethod(*s)
|
||||
type NoMethod ListAvailableOrgPolicyConstraintsRequest
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
@@ -978,8 +978,8 @@ type ListAvailableOrgPolicyConstraintsResponse struct {
|
||||
}
|
||||
|
||||
func (s *ListAvailableOrgPolicyConstraintsResponse) MarshalJSON() ([]byte, error) {
|
||||
type noMethod ListAvailableOrgPolicyConstraintsResponse
|
||||
raw := noMethod(*s)
|
||||
type NoMethod ListAvailableOrgPolicyConstraintsResponse
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
@@ -1011,8 +1011,8 @@ type ListConstraint struct {
|
||||
}
|
||||
|
||||
func (s *ListConstraint) MarshalJSON() ([]byte, error) {
|
||||
type noMethod ListConstraint
|
||||
raw := noMethod(*s)
|
||||
type NoMethod ListConstraint
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
@@ -1048,8 +1048,8 @@ type ListLiensResponse struct {
|
||||
}
|
||||
|
||||
func (s *ListLiensResponse) MarshalJSON() ([]byte, error) {
|
||||
type noMethod ListLiensResponse
|
||||
raw := noMethod(*s)
|
||||
type NoMethod ListLiensResponse
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
@@ -1087,8 +1087,8 @@ type ListOrgPoliciesRequest struct {
|
||||
}
|
||||
|
||||
func (s *ListOrgPoliciesRequest) MarshalJSON() ([]byte, error) {
|
||||
type noMethod ListOrgPoliciesRequest
|
||||
raw := noMethod(*s)
|
||||
type NoMethod ListOrgPoliciesRequest
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
@@ -1128,8 +1128,8 @@ type ListOrgPoliciesResponse struct {
|
||||
}
|
||||
|
||||
func (s *ListOrgPoliciesResponse) MarshalJSON() ([]byte, error) {
|
||||
type noMethod ListOrgPoliciesResponse
|
||||
raw := noMethod(*s)
|
||||
type NoMethod ListOrgPoliciesResponse
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
@@ -1306,8 +1306,8 @@ type ListPolicy struct {
|
||||
}
|
||||
|
||||
func (s *ListPolicy) MarshalJSON() ([]byte, error) {
|
||||
type noMethod ListPolicy
|
||||
raw := noMethod(*s)
|
||||
type NoMethod ListPolicy
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
@@ -1366,8 +1366,8 @@ type ListProjectsResponse struct {
|
||||
}
|
||||
|
||||
func (s *ListProjectsResponse) MarshalJSON() ([]byte, error) {
|
||||
type noMethod ListProjectsResponse
|
||||
raw := noMethod(*s)
|
||||
type NoMethod ListProjectsResponse
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
@@ -1441,8 +1441,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)
|
||||
}
|
||||
|
||||
@@ -1528,8 +1528,8 @@ type OrgPolicy struct {
|
||||
}
|
||||
|
||||
func (s *OrgPolicy) MarshalJSON() ([]byte, error) {
|
||||
type noMethod OrgPolicy
|
||||
raw := noMethod(*s)
|
||||
type NoMethod OrgPolicy
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
@@ -1597,8 +1597,8 @@ type Organization struct {
|
||||
}
|
||||
|
||||
func (s *Organization) MarshalJSON() ([]byte, error) {
|
||||
type noMethod Organization
|
||||
raw := noMethod(*s)
|
||||
type NoMethod Organization
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
@@ -1633,8 +1633,8 @@ type OrganizationOwner struct {
|
||||
}
|
||||
|
||||
func (s *OrganizationOwner) MarshalJSON() ([]byte, error) {
|
||||
type noMethod OrganizationOwner
|
||||
raw := noMethod(*s)
|
||||
type NoMethod OrganizationOwner
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
@@ -1673,7 +1673,7 @@ func (s *OrganizationOwner) 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.
|
||||
@@ -1703,7 +1703,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
|
||||
@@ -1728,8 +1728,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)
|
||||
}
|
||||
|
||||
@@ -1797,10 +1797,10 @@ type Project struct {
|
||||
|
||||
// Parent: An optional reference to a parent Resource.
|
||||
//
|
||||
// The only supported parent type is "organization". Once set, the
|
||||
// parent
|
||||
// cannot be modified. The `parent` can be set on creation or using
|
||||
// Supported parent types include "organization" and "folder". Once set,
|
||||
// the
|
||||
// parent cannot be cleared. The `parent` can be set on creation or
|
||||
// using the
|
||||
// `UpdateProject` method; the end user must have
|
||||
// the
|
||||
// `resourcemanager.projects.create` permission on the
|
||||
@@ -1846,8 +1846,8 @@ type Project struct {
|
||||
}
|
||||
|
||||
func (s *Project) MarshalJSON() ([]byte, error) {
|
||||
type noMethod Project
|
||||
raw := noMethod(*s)
|
||||
type NoMethod Project
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
@@ -1888,8 +1888,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)
|
||||
}
|
||||
|
||||
@@ -1929,8 +1929,8 @@ type ResourceId struct {
|
||||
}
|
||||
|
||||
func (s *ResourceId) MarshalJSON() ([]byte, error) {
|
||||
type noMethod ResourceId
|
||||
raw := noMethod(*s)
|
||||
type NoMethod ResourceId
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
@@ -2012,8 +2012,8 @@ type SearchOrganizationsRequest struct {
|
||||
}
|
||||
|
||||
func (s *SearchOrganizationsRequest) MarshalJSON() ([]byte, error) {
|
||||
type noMethod SearchOrganizationsRequest
|
||||
raw := noMethod(*s)
|
||||
type NoMethod SearchOrganizationsRequest
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
@@ -2058,8 +2058,8 @@ type SearchOrganizationsResponse struct {
|
||||
}
|
||||
|
||||
func (s *SearchOrganizationsResponse) MarshalJSON() ([]byte, error) {
|
||||
type noMethod SearchOrganizationsResponse
|
||||
raw := noMethod(*s)
|
||||
type NoMethod SearchOrganizationsResponse
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
@@ -2100,8 +2100,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)
|
||||
}
|
||||
|
||||
@@ -2129,8 +2129,8 @@ type SetOrgPolicyRequest struct {
|
||||
}
|
||||
|
||||
func (s *SetOrgPolicyRequest) MarshalJSON() ([]byte, error) {
|
||||
type noMethod SetOrgPolicyRequest
|
||||
raw := noMethod(*s)
|
||||
type NoMethod SetOrgPolicyRequest
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
@@ -2248,8 +2248,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)
|
||||
}
|
||||
|
||||
@@ -2283,8 +2283,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)
|
||||
}
|
||||
|
||||
@@ -2318,8 +2318,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)
|
||||
}
|
||||
|
||||
@@ -2429,7 +2429,7 @@ func (c *FoldersClearOrgPolicyCall) Do(opts ...googleapi.CallOption) (*Empty, er
|
||||
},
|
||||
}
|
||||
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
|
||||
@@ -2569,7 +2569,7 @@ func (c *FoldersGetEffectiveOrgPolicyCall) Do(opts ...googleapi.CallOption) (*Or
|
||||
},
|
||||
}
|
||||
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
|
||||
@@ -2713,7 +2713,7 @@ func (c *FoldersGetOrgPolicyCall) Do(opts ...googleapi.CallOption) (*OrgPolicy,
|
||||
},
|
||||
}
|
||||
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
|
||||
@@ -2852,7 +2852,7 @@ func (c *FoldersListAvailableOrgPolicyConstraintsCall) Do(opts ...googleapi.Call
|
||||
},
|
||||
}
|
||||
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
|
||||
@@ -3010,7 +3010,7 @@ func (c *FoldersListOrgPoliciesCall) Do(opts ...googleapi.CallOption) (*ListOrgP
|
||||
},
|
||||
}
|
||||
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
|
||||
@@ -3173,7 +3173,7 @@ func (c *FoldersSetOrgPolicyCall) Do(opts ...googleapi.CallOption) (*OrgPolicy,
|
||||
},
|
||||
}
|
||||
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
|
||||
@@ -3313,7 +3313,7 @@ func (c *LiensCreateCall) Do(opts ...googleapi.CallOption) (*Lien, 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
|
||||
@@ -3438,7 +3438,7 @@ func (c *LiensDeleteCall) Do(opts ...googleapi.CallOption) (*Empty, 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
|
||||
@@ -3602,7 +3602,7 @@ func (c *LiensListCall) Do(opts ...googleapi.CallOption) (*ListLiensResponse, er
|
||||
},
|
||||
}
|
||||
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
|
||||
@@ -3774,7 +3774,7 @@ func (c *OperationsGetCall) 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
|
||||
@@ -3907,7 +3907,7 @@ func (c *OrganizationsClearOrgPolicyCall) Do(opts ...googleapi.CallOption) (*Emp
|
||||
},
|
||||
}
|
||||
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
|
||||
@@ -4050,7 +4050,7 @@ func (c *OrganizationsGetCall) Do(opts ...googleapi.CallOption) (*Organization,
|
||||
},
|
||||
}
|
||||
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
|
||||
@@ -4188,7 +4188,7 @@ func (c *OrganizationsGetEffectiveOrgPolicyCall) Do(opts ...googleapi.CallOption
|
||||
},
|
||||
}
|
||||
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
|
||||
@@ -4334,7 +4334,7 @@ func (c *OrganizationsGetIamPolicyCall) Do(opts ...googleapi.CallOption) (*Polic
|
||||
},
|
||||
}
|
||||
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
|
||||
@@ -4478,7 +4478,7 @@ func (c *OrganizationsGetOrgPolicyCall) Do(opts ...googleapi.CallOption) (*OrgPo
|
||||
},
|
||||
}
|
||||
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
|
||||
@@ -4617,7 +4617,7 @@ func (c *OrganizationsListAvailableOrgPolicyConstraintsCall) Do(opts ...googleap
|
||||
},
|
||||
}
|
||||
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
|
||||
@@ -4775,7 +4775,7 @@ func (c *OrganizationsListOrgPoliciesCall) Do(opts ...googleapi.CallOption) (*Li
|
||||
},
|
||||
}
|
||||
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
|
||||
@@ -4937,7 +4937,7 @@ func (c *OrganizationsSearchCall) Do(opts ...googleapi.CallOption) (*SearchOrgan
|
||||
},
|
||||
}
|
||||
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
|
||||
@@ -5093,7 +5093,7 @@ func (c *OrganizationsSetIamPolicyCall) Do(opts ...googleapi.CallOption) (*Polic
|
||||
},
|
||||
}
|
||||
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
|
||||
@@ -5234,7 +5234,7 @@ func (c *OrganizationsSetOrgPolicyCall) Do(opts ...googleapi.CallOption) (*OrgPo
|
||||
},
|
||||
}
|
||||
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
|
||||
@@ -5374,7 +5374,7 @@ func (c *OrganizationsTestIamPermissionsCall) Do(opts ...googleapi.CallOption) (
|
||||
},
|
||||
}
|
||||
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
|
||||
@@ -5510,7 +5510,7 @@ func (c *ProjectsClearOrgPolicyCall) Do(opts ...googleapi.CallOption) (*Empty, e
|
||||
},
|
||||
}
|
||||
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
|
||||
@@ -5658,7 +5658,7 @@ func (c *ProjectsCreateCall) 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
|
||||
@@ -5801,7 +5801,7 @@ func (c *ProjectsDeleteCall) Do(opts ...googleapi.CallOption) (*Empty, 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
|
||||
@@ -5942,7 +5942,7 @@ func (c *ProjectsGetCall) Do(opts ...googleapi.CallOption) (*Project, 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
|
||||
@@ -6079,7 +6079,7 @@ func (c *ProjectsGetAncestryCall) Do(opts ...googleapi.CallOption) (*GetAncestry
|
||||
},
|
||||
}
|
||||
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
|
||||
@@ -6219,7 +6219,7 @@ func (c *ProjectsGetEffectiveOrgPolicyCall) Do(opts ...googleapi.CallOption) (*O
|
||||
},
|
||||
}
|
||||
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
|
||||
@@ -6273,7 +6273,11 @@ type ProjectsGetIamPolicyCall struct {
|
||||
//
|
||||
// Authorization requires the Google IAM
|
||||
// permission
|
||||
// `resourcemanager.projects.getIamPolicy` on the project
|
||||
// `resourcemanager.projects.getIamPolicy` on the project.
|
||||
//
|
||||
// For additional information about resource structure and
|
||||
// identification,
|
||||
// see [Resource Names](/apis/design/resource_names).
|
||||
func (r *ProjectsService) GetIamPolicy(resource string, getiampolicyrequest *GetIamPolicyRequest) *ProjectsGetIamPolicyCall {
|
||||
c := &ProjectsGetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
|
||||
c.resource = resource
|
||||
@@ -6362,12 +6366,12 @@ func (c *ProjectsGetIamPolicyCall) Do(opts ...googleapi.CallOption) (*Policy, er
|
||||
},
|
||||
}
|
||||
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": "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",
|
||||
// "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.\n\nFor additional information about resource structure and identification,\nsee [Resource Names](/apis/design/resource_names).",
|
||||
// "flatPath": "v1/projects/{resource}:getIamPolicy",
|
||||
// "httpMethod": "POST",
|
||||
// "id": "cloudresourcemanager.projects.getIamPolicy",
|
||||
@@ -6505,7 +6509,7 @@ func (c *ProjectsGetOrgPolicyCall) Do(opts ...googleapi.CallOption) (*OrgPolicy,
|
||||
},
|
||||
}
|
||||
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
|
||||
@@ -6555,7 +6559,14 @@ type ProjectsListCall struct {
|
||||
// the
|
||||
// specified filter. This method returns Projects in an unspecified
|
||||
// order.
|
||||
// New Projects do not necessarily appear at the end of the list.
|
||||
// This method is eventually consistent with project mutations; this
|
||||
// means
|
||||
// that a newly created project may not appear in the results or
|
||||
// recent
|
||||
// updates to an existing project may not be reflected in the results.
|
||||
// To
|
||||
// retrieve the latest state of a project, use the
|
||||
// GetProject method.
|
||||
func (r *ProjectsService) List() *ProjectsListCall {
|
||||
c := &ProjectsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
|
||||
return c
|
||||
@@ -6711,12 +6722,12 @@ func (c *ProjectsListCall) Do(opts ...googleapi.CallOption) (*ListProjectsRespon
|
||||
},
|
||||
}
|
||||
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": "Lists Projects that are visible to the user and satisfy the\nspecified filter. This method returns Projects in an unspecified order.\nNew Projects do not necessarily appear at the end of the list.",
|
||||
// "description": "Lists Projects that are visible to the user and satisfy the\nspecified filter. This method returns Projects in an unspecified order.\nThis method is eventually consistent with project mutations; this means\nthat a newly created project may not appear in the results or recent\nupdates to an existing project may not be reflected in the results. To\nretrieve the latest state of a project, use the\nGetProject method.",
|
||||
// "flatPath": "v1/projects",
|
||||
// "httpMethod": "GET",
|
||||
// "id": "cloudresourcemanager.projects.list",
|
||||
@@ -6875,7 +6886,7 @@ func (c *ProjectsListAvailableOrgPolicyConstraintsCall) Do(opts ...googleapi.Cal
|
||||
},
|
||||
}
|
||||
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
|
||||
@@ -7033,7 +7044,7 @@ func (c *ProjectsListOrgPoliciesCall) Do(opts ...googleapi.CallOption) (*ListOrg
|
||||
},
|
||||
}
|
||||
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
|
||||
@@ -7102,7 +7113,7 @@ type ProjectsSetIamPolicyCall struct {
|
||||
}
|
||||
|
||||
// SetIamPolicy: Sets the IAM access control policy for the specified
|
||||
// Project. Replaces
|
||||
// Project. Overwrites
|
||||
// any existing policy.
|
||||
//
|
||||
// The following constraints apply when using `setIamPolicy()`:
|
||||
@@ -7148,8 +7159,9 @@ type ProjectsSetIamPolicyCall struct {
|
||||
// is
|
||||
// rectified.
|
||||
//
|
||||
// + Calling this method requires enabling the App Engine Admin
|
||||
// API.
|
||||
// + This method will replace the existing policy, and cannot be used
|
||||
// to
|
||||
// append additional IAM settings.
|
||||
//
|
||||
// Note: Removing service accounts from policies or changing their
|
||||
// roles
|
||||
@@ -7250,12 +7262,12 @@ func (c *ProjectsSetIamPolicyCall) Do(opts ...googleapi.CallOption) (*Policy, er
|
||||
},
|
||||
}
|
||||
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": "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",
|
||||
// "description": "Sets the IAM access control policy for the specified Project. Overwrites\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+ This method will replace the existing policy, and cannot be used to\nappend additional IAM settings.\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",
|
||||
@@ -7390,7 +7402,7 @@ func (c *ProjectsSetOrgPolicyCall) Do(opts ...googleapi.CallOption) (*OrgPolicy,
|
||||
},
|
||||
}
|
||||
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
|
||||
@@ -7528,7 +7540,7 @@ func (c *ProjectsTestIamPermissionsCall) Do(opts ...googleapi.CallOption) (*Test
|
||||
},
|
||||
}
|
||||
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
|
||||
@@ -7671,7 +7683,7 @@ func (c *ProjectsUndeleteCall) Do(opts ...googleapi.CallOption) (*Empty, 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
|
||||
@@ -7809,7 +7821,7 @@ func (c *ProjectsUpdateCall) Do(opts ...googleapi.CallOption) (*Project, 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
|
||||
|
||||
Reference in New Issue
Block a user