Versions in this module Expand all Collapse all v0 v0.0.1 Dec 7, 2023 Changes in this version + const CloudPlatformScope + type AnalyzeIamPolicyLongrunningMetadata struct + CreateTime string + ForceSendFields []string + NullFields []string + func (s *AnalyzeIamPolicyLongrunningMetadata) MarshalJSON() ([]byte, error) + type AnalyzeIamPolicyLongrunningResponse struct + 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 Explanation struct + ForceSendFields []string + MatchedPermissions map[string]Permissions + NullFields []string + func (s *Explanation) 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 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 + VpcNetworkSources []*GoogleIdentityAccesscontextmanagerV1VpcNetworkSource + 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 + SourceRestriction string + Sources []*GoogleIdentityAccesscontextmanagerV1EgressSource + func (s *GoogleIdentityAccesscontextmanagerV1EgressFrom) MarshalJSON() ([]byte, error) + type GoogleIdentityAccesscontextmanagerV1EgressPolicy struct + EgressFrom *GoogleIdentityAccesscontextmanagerV1EgressFrom + EgressTo *GoogleIdentityAccesscontextmanagerV1EgressTo + ForceSendFields []string + NullFields []string + func (s *GoogleIdentityAccesscontextmanagerV1EgressPolicy) MarshalJSON() ([]byte, error) + type GoogleIdentityAccesscontextmanagerV1EgressSource struct + AccessLevel string + ForceSendFields []string + NullFields []string + func (s *GoogleIdentityAccesscontextmanagerV1EgressSource) 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 GoogleIdentityAccesscontextmanagerV1VpcNetworkSource struct + ForceSendFields []string + NullFields []string + VpcSubnetwork *GoogleIdentityAccesscontextmanagerV1VpcSubNetwork + func (s *GoogleIdentityAccesscontextmanagerV1VpcNetworkSource) MarshalJSON() ([]byte, error) + type GoogleIdentityAccesscontextmanagerV1VpcSubNetwork struct + ForceSendFields []string + Network string + NullFields []string + VpcIpSubnetworks []string + func (s *GoogleIdentityAccesscontextmanagerV1VpcSubNetwork) MarshalJSON() ([]byte, error) + type IamPoliciesSearchAllCall struct + func (c *IamPoliciesSearchAllCall) Context(ctx context.Context) *IamPoliciesSearchAllCall + func (c *IamPoliciesSearchAllCall) Do(opts ...googleapi.CallOption) (*SearchAllIamPoliciesResponse, error) + func (c *IamPoliciesSearchAllCall) Fields(s ...googleapi.Field) *IamPoliciesSearchAllCall + func (c *IamPoliciesSearchAllCall) Header() http.Header + func (c *IamPoliciesSearchAllCall) IfNoneMatch(entityTag string) *IamPoliciesSearchAllCall + func (c *IamPoliciesSearchAllCall) PageSize(pageSize int64) *IamPoliciesSearchAllCall + func (c *IamPoliciesSearchAllCall) PageToken(pageToken string) *IamPoliciesSearchAllCall + func (c *IamPoliciesSearchAllCall) Pages(ctx context.Context, f func(*SearchAllIamPoliciesResponse) error) error + func (c *IamPoliciesSearchAllCall) Query(query string) *IamPoliciesSearchAllCall + type IamPoliciesService struct + func NewIamPoliciesService(s *Service) *IamPoliciesService + func (r *IamPoliciesService) SearchAll(scope string) *IamPoliciesSearchAllCall + type IamPolicySearchResult struct + Explanation *Explanation + ForceSendFields []string + NullFields []string + Policy *Policy + Project string + Resource string + func (s *IamPolicySearchResult) MarshalJSON() ([]byte, error) + type Permissions struct + ForceSendFields []string + NullFields []string + Permissions []string + func (s *Permissions) 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 ResourcesSearchAllCall struct + func (c *ResourcesSearchAllCall) AssetTypes(assetTypes ...string) *ResourcesSearchAllCall + func (c *ResourcesSearchAllCall) Context(ctx context.Context) *ResourcesSearchAllCall + func (c *ResourcesSearchAllCall) Do(opts ...googleapi.CallOption) (*SearchAllResourcesResponse, error) + func (c *ResourcesSearchAllCall) Fields(s ...googleapi.Field) *ResourcesSearchAllCall + func (c *ResourcesSearchAllCall) Header() http.Header + func (c *ResourcesSearchAllCall) IfNoneMatch(entityTag string) *ResourcesSearchAllCall + func (c *ResourcesSearchAllCall) OrderBy(orderBy string) *ResourcesSearchAllCall + func (c *ResourcesSearchAllCall) PageSize(pageSize int64) *ResourcesSearchAllCall + func (c *ResourcesSearchAllCall) PageToken(pageToken string) *ResourcesSearchAllCall + func (c *ResourcesSearchAllCall) Pages(ctx context.Context, f func(*SearchAllResourcesResponse) error) error + func (c *ResourcesSearchAllCall) Query(query string) *ResourcesSearchAllCall + type ResourcesService struct + func NewResourcesService(s *Service) *ResourcesService + func (r *ResourcesService) SearchAll(scope string) *ResourcesSearchAllCall + type SearchAllIamPoliciesResponse struct + ForceSendFields []string + NextPageToken string + NullFields []string + Results []*IamPolicySearchResult + func (s *SearchAllIamPoliciesResponse) MarshalJSON() ([]byte, error) + type SearchAllResourcesResponse struct + ForceSendFields []string + NextPageToken string + NullFields []string + Results []*StandardResourceMetadata + func (s *SearchAllResourcesResponse) MarshalJSON() ([]byte, error) + type Service struct + BasePath string + IamPolicies *IamPoliciesService + Resources *ResourcesService + UserAgent string + func New(client *http.Client) (*Service, error) + func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, error) + type StandardResourceMetadata struct + AdditionalAttributes []string + AssetType string + Description string + DisplayName string + ForceSendFields []string + Labels map[string]string + Location string + Name string + NetworkTags []string + NullFields []string + Project string + func (s *StandardResourceMetadata) MarshalJSON() ([]byte, error)