Class GovernedIamPolicy (3.28.0)

GovernedIamPolicy(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The IAM policies governed by the organization policies of the AnalyzeOrgPolicyGovernedAssetsRequest.constraint.

Attributes

Name Description
attached_resource str
The full resource name of the resource on which this IAM policy is set. Example: //compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1. See `Cloud Asset Inventory Resource Name Format
policy google.iam.v1.policy_pb2.Policy
The IAM policy directly set on the given resource.
project str
The project that this IAM policy belongs to, in the format of projects/{PROJECT_NUMBER}. This field is available when the IAM policy belongs to a project.
folders MutableSequence[str]
The folder(s) that this IAM policy belongs to, in the format of folders/{FOLDER_NUMBER}. This field is available when the IAM policy belongs (directly or cascadingly) to one or more folders.
organization str
The organization that this IAM policy belongs to, in the format of organizations/{ORGANIZATION_NUMBER}. This field is available when the IAM policy belongs (directly or cascadingly) to an organization.
asset_type str
The asset type of the AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy.attached_resource. Example: cloudresourcemanager.googleapis.com/Project See `Cloud Asset Inventory Supported Asset Types