Versions in this module Expand all Collapse all v0 v0.37.1 Dec 15, 2020 Changes in this version + const CloudPlatformScope + type AccessSelector struct + ForceSendFields []string + NullFields []string + Permissions []string + Roles []string + func (s *AccessSelector) MarshalJSON() ([]byte, error) + type AnalyzeIamPolicyResponse struct + ForceSendFields []string + FullyExplored bool + MainAnalysis *IamPolicyAnalysis + NonCriticalErrors []*GoogleCloudAssetV1p4beta1AnalysisState + NullFields []string + ServiceAccountImpersonationAnalysis []*IamPolicyAnalysis + func (s *AnalyzeIamPolicyResponse) MarshalJSON() ([]byte, error) + type Binding struct + Condition *Expr + ForceSendFields []string + Members []string + NullFields []string + Role string + func (s *Binding) MarshalJSON() ([]byte, error) + type ExportIamPolicyAnalysisRequest struct + AnalysisQuery *IamPolicyAnalysisQuery + ForceSendFields []string + NullFields []string + Options *Options + OutputConfig *IamPolicyAnalysisOutputConfig + func (s *ExportIamPolicyAnalysisRequest) MarshalJSON() ([]byte, error) + type Expr struct + Description string + Expression string + ForceSendFields []string + Location string + NullFields []string + Title string + func (s *Expr) MarshalJSON() ([]byte, error) + type GcsDestination struct + ForceSendFields []string + NullFields []string + Uri string + func (s *GcsDestination) MarshalJSON() ([]byte, error) + type GoogleCloudAssetV1p4beta1Access struct + AnalysisState *GoogleCloudAssetV1p4beta1AnalysisState + ForceSendFields []string + NullFields []string + Permission string + Role string + func (s *GoogleCloudAssetV1p4beta1Access) MarshalJSON() ([]byte, error) + type GoogleCloudAssetV1p4beta1AccessControlList struct + Accesses []*GoogleCloudAssetV1p4beta1Access + ForceSendFields []string + NullFields []string + ResourceEdges []*GoogleCloudAssetV1p4beta1Edge + Resources []*GoogleCloudAssetV1p4beta1Resource + func (s *GoogleCloudAssetV1p4beta1AccessControlList) MarshalJSON() ([]byte, error) + type GoogleCloudAssetV1p4beta1AnalysisState struct + Cause string + Code string + ForceSendFields []string + NullFields []string + func (s *GoogleCloudAssetV1p4beta1AnalysisState) MarshalJSON() ([]byte, error) + type GoogleCloudAssetV1p4beta1Edge struct + ForceSendFields []string + NullFields []string + SourceNode string + TargetNode string + func (s *GoogleCloudAssetV1p4beta1Edge) MarshalJSON() ([]byte, error) + type GoogleCloudAssetV1p4beta1Identity struct + AnalysisState *GoogleCloudAssetV1p4beta1AnalysisState + ForceSendFields []string + Name string + NullFields []string + func (s *GoogleCloudAssetV1p4beta1Identity) MarshalJSON() ([]byte, error) + type GoogleCloudAssetV1p4beta1IdentityList struct + ForceSendFields []string + GroupEdges []*GoogleCloudAssetV1p4beta1Edge + Identities []*GoogleCloudAssetV1p4beta1Identity + NullFields []string + func (s *GoogleCloudAssetV1p4beta1IdentityList) MarshalJSON() ([]byte, error) + type GoogleCloudAssetV1p4beta1Resource struct + AnalysisState *GoogleCloudAssetV1p4beta1AnalysisState + ForceSendFields []string + FullResourceName string + NullFields []string + func (s *GoogleCloudAssetV1p4beta1Resource) MarshalJSON() ([]byte, error) + type IamPolicyAnalysis struct + AnalysisQuery *IamPolicyAnalysisQuery + AnalysisResults []*IamPolicyAnalysisResult + ForceSendFields []string + FullyExplored bool + NullFields []string + func (s *IamPolicyAnalysis) MarshalJSON() ([]byte, error) + type IamPolicyAnalysisOutputConfig struct + ForceSendFields []string + GcsDestination *GcsDestination + NullFields []string + func (s *IamPolicyAnalysisOutputConfig) MarshalJSON() ([]byte, error) + type IamPolicyAnalysisQuery struct + AccessSelector *AccessSelector + ForceSendFields []string + IdentitySelector *IdentitySelector + NullFields []string + Parent string + ResourceSelector *ResourceSelector + func (s *IamPolicyAnalysisQuery) MarshalJSON() ([]byte, error) + type IamPolicyAnalysisResult struct + AccessControlLists []*GoogleCloudAssetV1p4beta1AccessControlList + AttachedResourceFullName string + ForceSendFields []string + FullyExplored bool + IamBinding *Binding + IdentityList *GoogleCloudAssetV1p4beta1IdentityList + NullFields []string + func (s *IamPolicyAnalysisResult) MarshalJSON() ([]byte, error) + type IdentitySelector struct + ForceSendFields []string + Identity string + NullFields []string + func (s *IdentitySelector) MarshalJSON() ([]byte, error) + type Operation struct + Done bool + Error *Status + ForceSendFields []string + Metadata googleapi.RawMessage + Name string + NullFields []string + Response googleapi.RawMessage + func (s *Operation) MarshalJSON() ([]byte, error) + type Options struct + AnalyzeServiceAccountImpersonation bool + ExpandGroups bool + ExpandResources bool + ExpandRoles bool + ForceSendFields []string + NullFields []string + OutputGroupEdges bool + OutputResourceEdges bool + func (s *Options) MarshalJSON() ([]byte, error) + type ResourceSelector struct + ForceSendFields []string + FullResourceName string + NullFields []string + func (s *ResourceSelector) MarshalJSON() ([]byte, error) + type Service struct + BasePath string + UserAgent string + V1p4beta1 *V1p4beta1Service + func New(client *http.Client) (*Service, error) + func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, error) + type Status struct + Code int64 + Details []googleapi.RawMessage + ForceSendFields []string + Message string + NullFields []string + func (s *Status) MarshalJSON() ([]byte, error) + type V1p4beta1AnalyzeIamPolicyCall struct + func (c *V1p4beta1AnalyzeIamPolicyCall) AnalysisQueryAccessSelectorPermissions(analysisQueryAccessSelectorPermissions ...string) *V1p4beta1AnalyzeIamPolicyCall + func (c *V1p4beta1AnalyzeIamPolicyCall) AnalysisQueryAccessSelectorRoles(analysisQueryAccessSelectorRoles ...string) *V1p4beta1AnalyzeIamPolicyCall + func (c *V1p4beta1AnalyzeIamPolicyCall) AnalysisQueryIdentitySelectorIdentity(analysisQueryIdentitySelectorIdentity string) *V1p4beta1AnalyzeIamPolicyCall + func (c *V1p4beta1AnalyzeIamPolicyCall) AnalysisQueryResourceSelectorFullResourceName(analysisQueryResourceSelectorFullResourceName string) *V1p4beta1AnalyzeIamPolicyCall + func (c *V1p4beta1AnalyzeIamPolicyCall) Context(ctx context.Context) *V1p4beta1AnalyzeIamPolicyCall + func (c *V1p4beta1AnalyzeIamPolicyCall) Do(opts ...googleapi.CallOption) (*AnalyzeIamPolicyResponse, error) + func (c *V1p4beta1AnalyzeIamPolicyCall) Fields(s ...googleapi.Field) *V1p4beta1AnalyzeIamPolicyCall + func (c *V1p4beta1AnalyzeIamPolicyCall) Header() http.Header + func (c *V1p4beta1AnalyzeIamPolicyCall) IfNoneMatch(entityTag string) *V1p4beta1AnalyzeIamPolicyCall + func (c *V1p4beta1AnalyzeIamPolicyCall) OptionsAnalyzeServiceAccountImpersonation(optionsAnalyzeServiceAccountImpersonation bool) *V1p4beta1AnalyzeIamPolicyCall + func (c *V1p4beta1AnalyzeIamPolicyCall) OptionsExecutionTimeout(optionsExecutionTimeout string) *V1p4beta1AnalyzeIamPolicyCall + func (c *V1p4beta1AnalyzeIamPolicyCall) OptionsExpandGroups(optionsExpandGroups bool) *V1p4beta1AnalyzeIamPolicyCall + func (c *V1p4beta1AnalyzeIamPolicyCall) OptionsExpandResources(optionsExpandResources bool) *V1p4beta1AnalyzeIamPolicyCall + func (c *V1p4beta1AnalyzeIamPolicyCall) OptionsExpandRoles(optionsExpandRoles bool) *V1p4beta1AnalyzeIamPolicyCall + func (c *V1p4beta1AnalyzeIamPolicyCall) OptionsOutputGroupEdges(optionsOutputGroupEdges bool) *V1p4beta1AnalyzeIamPolicyCall + func (c *V1p4beta1AnalyzeIamPolicyCall) OptionsOutputResourceEdges(optionsOutputResourceEdges bool) *V1p4beta1AnalyzeIamPolicyCall + type V1p4beta1ExportIamPolicyAnalysisCall struct + func (c *V1p4beta1ExportIamPolicyAnalysisCall) Context(ctx context.Context) *V1p4beta1ExportIamPolicyAnalysisCall + func (c *V1p4beta1ExportIamPolicyAnalysisCall) Do(opts ...googleapi.CallOption) (*Operation, error) + func (c *V1p4beta1ExportIamPolicyAnalysisCall) Fields(s ...googleapi.Field) *V1p4beta1ExportIamPolicyAnalysisCall + func (c *V1p4beta1ExportIamPolicyAnalysisCall) Header() http.Header + type V1p4beta1Service struct + func NewV1p4beta1Service(s *Service) *V1p4beta1Service + func (r *V1p4beta1Service) AnalyzeIamPolicy(parent string) *V1p4beta1AnalyzeIamPolicyCall + func (r *V1p4beta1Service) ExportIamPolicyAnalysis(parent string, exportiampolicyanalysisrequest *ExportIamPolicyAnalysisRequest) *V1p4beta1ExportIamPolicyAnalysisCall