Versions in this module Expand all Collapse all v0 v0.0.1 Dec 7, 2023 Changes in this version + const CloudPlatformScope + type AccessSelector struct + ForceSendFields []string + NullFields []string + Permissions []string + Roles []string + func (s *AccessSelector) MarshalJSON() ([]byte, error) + type AnalyzeIamPolicyLongrunningMetadata struct + CreateTime string + ForceSendFields []string + NullFields []string + func (s *AnalyzeIamPolicyLongrunningMetadata) MarshalJSON() ([]byte, error) + type AnalyzeIamPolicyLongrunningResponse struct + type AnalyzeIamPolicyResponse struct + ForceSendFields []string + FullyExplored bool + MainAnalysis *IamPolicyAnalysis + NonCriticalErrors []*GoogleCloudAssetV1p4beta1AnalysisState + NullFields []string + ServiceAccountImpersonationAnalysis []*IamPolicyAnalysis + func (s *AnalyzeIamPolicyResponse) MarshalJSON() ([]byte, error) + type AuditConfig struct + AuditLogConfigs []*AuditLogConfig + ForceSendFields []string + NullFields []string + Service string + func (s *AuditConfig) MarshalJSON() ([]byte, error) + type AuditLogConfig struct + ExemptedMembers []string + ForceSendFields []string + LogType string + NullFields []string + func (s *AuditLogConfig) 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 GoogleCloudAssetV1p7beta1Asset struct + AccessLevel *GoogleIdentityAccesscontextmanagerV1AccessLevel + AccessPolicy *GoogleIdentityAccesscontextmanagerV1AccessPolicy + Ancestors []string + AssetType string + ForceSendFields []string + IamPolicy *Policy + Name string + NullFields []string + OrgPolicy []*GoogleCloudOrgpolicyV1Policy + RelatedAssets *GoogleCloudAssetV1p7beta1RelatedAssets + Resource *GoogleCloudAssetV1p7beta1Resource + ServicePerimeter *GoogleIdentityAccesscontextmanagerV1ServicePerimeter + UpdateTime string + func (s *GoogleCloudAssetV1p7beta1Asset) MarshalJSON() ([]byte, error) + type GoogleCloudAssetV1p7beta1RelatedAsset struct + Ancestors []string + Asset string + AssetType string + ForceSendFields []string + NullFields []string + func (s *GoogleCloudAssetV1p7beta1RelatedAsset) MarshalJSON() ([]byte, error) + type GoogleCloudAssetV1p7beta1RelatedAssets struct + Assets []*GoogleCloudAssetV1p7beta1RelatedAsset + ForceSendFields []string + NullFields []string + RelationshipAttributes *GoogleCloudAssetV1p7beta1RelationshipAttributes + func (s *GoogleCloudAssetV1p7beta1RelatedAssets) MarshalJSON() ([]byte, error) + type GoogleCloudAssetV1p7beta1RelationshipAttributes struct + Action string + ForceSendFields []string + NullFields []string + SourceResourceType string + TargetResourceType string + Type string + func (s *GoogleCloudAssetV1p7beta1RelationshipAttributes) MarshalJSON() ([]byte, error) + type GoogleCloudAssetV1p7beta1Resource struct + Data googleapi.RawMessage + DiscoveryDocumentUri string + DiscoveryName string + ForceSendFields []string + Location string + NullFields []string + Parent string + ResourceUrl string + Version string + func (s *GoogleCloudAssetV1p7beta1Resource) MarshalJSON() ([]byte, error) + type GoogleCloudOrgpolicyV1BooleanPolicy struct + Enforced bool + ForceSendFields []string + NullFields []string + func (s *GoogleCloudOrgpolicyV1BooleanPolicy) MarshalJSON() ([]byte, error) + type GoogleCloudOrgpolicyV1ListPolicy struct + AllValues string + AllowedValues []string + DeniedValues []string + ForceSendFields []string + InheritFromParent bool + NullFields []string + SuggestedValue string + func (s *GoogleCloudOrgpolicyV1ListPolicy) MarshalJSON() ([]byte, error) + type GoogleCloudOrgpolicyV1Policy struct + BooleanPolicy *GoogleCloudOrgpolicyV1BooleanPolicy + Constraint string + Etag string + ForceSendFields []string + ListPolicy *GoogleCloudOrgpolicyV1ListPolicy + NullFields []string + RestoreDefault *GoogleCloudOrgpolicyV1RestoreDefault + UpdateTime string + Version int64 + func (s *GoogleCloudOrgpolicyV1Policy) MarshalJSON() ([]byte, error) + type GoogleCloudOrgpolicyV1RestoreDefault struct + type GoogleIdentityAccesscontextmanagerV1AccessLevel struct + Basic *GoogleIdentityAccesscontextmanagerV1BasicLevel + Custom *GoogleIdentityAccesscontextmanagerV1CustomLevel + Description string + ForceSendFields []string + Name string + NullFields []string + Title string + func (s *GoogleIdentityAccesscontextmanagerV1AccessLevel) MarshalJSON() ([]byte, error) + type GoogleIdentityAccesscontextmanagerV1AccessPolicy struct + Etag string + ForceSendFields []string + Name string + NullFields []string + Parent string + Scopes []string + Title string + func (s *GoogleIdentityAccesscontextmanagerV1AccessPolicy) MarshalJSON() ([]byte, error) + type GoogleIdentityAccesscontextmanagerV1ApiOperation struct + ForceSendFields []string + MethodSelectors []*GoogleIdentityAccesscontextmanagerV1MethodSelector + NullFields []string + ServiceName string + func (s *GoogleIdentityAccesscontextmanagerV1ApiOperation) MarshalJSON() ([]byte, error) + type GoogleIdentityAccesscontextmanagerV1BasicLevel struct + CombiningFunction string + Conditions []*GoogleIdentityAccesscontextmanagerV1Condition + ForceSendFields []string + NullFields []string + func (s *GoogleIdentityAccesscontextmanagerV1BasicLevel) MarshalJSON() ([]byte, error) + type GoogleIdentityAccesscontextmanagerV1Condition struct + DevicePolicy *GoogleIdentityAccesscontextmanagerV1DevicePolicy + ForceSendFields []string + IpSubnetworks []string + Members []string + Negate bool + NullFields []string + Regions []string + RequiredAccessLevels []string + func (s *GoogleIdentityAccesscontextmanagerV1Condition) MarshalJSON() ([]byte, error) + type GoogleIdentityAccesscontextmanagerV1CustomLevel struct + Expr *Expr + ForceSendFields []string + NullFields []string + func (s *GoogleIdentityAccesscontextmanagerV1CustomLevel) MarshalJSON() ([]byte, error) + type GoogleIdentityAccesscontextmanagerV1DevicePolicy struct + AllowedDeviceManagementLevels []string + AllowedEncryptionStatuses []string + ForceSendFields []string + NullFields []string + OsConstraints []*GoogleIdentityAccesscontextmanagerV1OsConstraint + RequireAdminApproval bool + RequireCorpOwned bool + RequireScreenlock bool + func (s *GoogleIdentityAccesscontextmanagerV1DevicePolicy) MarshalJSON() ([]byte, error) + type GoogleIdentityAccesscontextmanagerV1EgressFrom struct + ForceSendFields []string + Identities []string + IdentityType string + NullFields []string + func (s *GoogleIdentityAccesscontextmanagerV1EgressFrom) MarshalJSON() ([]byte, error) + type GoogleIdentityAccesscontextmanagerV1EgressPolicy struct + EgressFrom *GoogleIdentityAccesscontextmanagerV1EgressFrom + EgressTo *GoogleIdentityAccesscontextmanagerV1EgressTo + ForceSendFields []string + NullFields []string + func (s *GoogleIdentityAccesscontextmanagerV1EgressPolicy) MarshalJSON() ([]byte, error) + type GoogleIdentityAccesscontextmanagerV1EgressTo struct + ExternalResources []string + ForceSendFields []string + NullFields []string + Operations []*GoogleIdentityAccesscontextmanagerV1ApiOperation + Resources []string + func (s *GoogleIdentityAccesscontextmanagerV1EgressTo) MarshalJSON() ([]byte, error) + type GoogleIdentityAccesscontextmanagerV1IngressFrom struct + ForceSendFields []string + Identities []string + IdentityType string + NullFields []string + Sources []*GoogleIdentityAccesscontextmanagerV1IngressSource + func (s *GoogleIdentityAccesscontextmanagerV1IngressFrom) MarshalJSON() ([]byte, error) + type GoogleIdentityAccesscontextmanagerV1IngressPolicy struct + ForceSendFields []string + IngressFrom *GoogleIdentityAccesscontextmanagerV1IngressFrom + IngressTo *GoogleIdentityAccesscontextmanagerV1IngressTo + NullFields []string + func (s *GoogleIdentityAccesscontextmanagerV1IngressPolicy) MarshalJSON() ([]byte, error) + type GoogleIdentityAccesscontextmanagerV1IngressSource struct + AccessLevel string + ForceSendFields []string + NullFields []string + Resource string + func (s *GoogleIdentityAccesscontextmanagerV1IngressSource) MarshalJSON() ([]byte, error) + type GoogleIdentityAccesscontextmanagerV1IngressTo struct + ForceSendFields []string + NullFields []string + Operations []*GoogleIdentityAccesscontextmanagerV1ApiOperation + Resources []string + func (s *GoogleIdentityAccesscontextmanagerV1IngressTo) MarshalJSON() ([]byte, error) + type GoogleIdentityAccesscontextmanagerV1MethodSelector struct + ForceSendFields []string + Method string + NullFields []string + Permission string + func (s *GoogleIdentityAccesscontextmanagerV1MethodSelector) MarshalJSON() ([]byte, error) + type GoogleIdentityAccesscontextmanagerV1OsConstraint struct + ForceSendFields []string + MinimumVersion string + NullFields []string + OsType string + RequireVerifiedChromeOs bool + func (s *GoogleIdentityAccesscontextmanagerV1OsConstraint) MarshalJSON() ([]byte, error) + type GoogleIdentityAccesscontextmanagerV1ServicePerimeter struct + Description string + ForceSendFields []string + Name string + NullFields []string + PerimeterType string + Spec *GoogleIdentityAccesscontextmanagerV1ServicePerimeterConfig + Status *GoogleIdentityAccesscontextmanagerV1ServicePerimeterConfig + Title string + UseExplicitDryRunSpec bool + func (s *GoogleIdentityAccesscontextmanagerV1ServicePerimeter) MarshalJSON() ([]byte, error) + type GoogleIdentityAccesscontextmanagerV1ServicePerimeterConfig struct + AccessLevels []string + EgressPolicies []*GoogleIdentityAccesscontextmanagerV1EgressPolicy + ForceSendFields []string + IngressPolicies []*GoogleIdentityAccesscontextmanagerV1IngressPolicy + NullFields []string + Resources []string + RestrictedServices []string + VpcAccessibleServices *GoogleIdentityAccesscontextmanagerV1VpcAccessibleServices + func (s *GoogleIdentityAccesscontextmanagerV1ServicePerimeterConfig) MarshalJSON() ([]byte, error) + type GoogleIdentityAccesscontextmanagerV1VpcAccessibleServices struct + AllowedServices []string + EnableRestriction bool + ForceSendFields []string + NullFields []string + func (s *GoogleIdentityAccesscontextmanagerV1VpcAccessibleServices) 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 Policy struct + AuditConfigs []*AuditConfig + Bindings []*Binding + Etag string + ForceSendFields []string + NullFields []string + Version int64 + func (s *Policy) 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