- 3.29.1 (latest)
- 3.29.0
- 3.28.0
- 3.27.1
- 3.26.4
- 3.25.1
- 3.24.3
- 3.23.0
- 3.22.0
- 3.21.0
- 3.20.1
- 3.19.1
- 3.18.1
- 3.17.1
- 3.16.0
- 3.15.0
- 3.14.2
- 3.13.1
- 3.12.0
- 3.11.0
- 3.10.0
- 3.9.1
- 3.8.1
- 3.7.1
- 3.6.1
- 3.5.0
- 3.4.0
- 3.3.0
- 3.2.1
- 3.1.0
- 2.2.2
- 2.1.0
- 2.0.0
- 1.3.2
- 1.2.0
- 1.1.0
- 1.0.0
- 0.10.0
- 0.9.0
- 0.8.0
- 0.7.0
- 0.6.0
- 0.5.0
- 0.4.1
- 0.3.0
Asset(mapping=None, *, ignore_unknown_fields=False, **kwargs)
Cloud asset. This includes all Google Cloud Platform resources, Cloud IAM policies, and other non-GCP assets.
Attributes
Name | Description |
name |
str
The full name of the asset. For example: //compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1 .
See `Resource
Names |
asset_type |
str
Type of the asset. Example: "compute.googleapis.com/Disk". |
resource |
Representation of the resource. |
iam_policy |
Representation of the actual Cloud IAM policy set on a cloud resource. For each resource, there must be at most one Cloud IAM policy set on it. |
ancestors |
Sequence[str]
Asset's ancestry path in Cloud Resource Manager (CRM) hierarchy, represented as a list of relative resource names. Ancestry path starts with the closest CRM ancestor and ends at root. If the asset is a CRM project/folder/organization, this starts from the asset itself. Example: ["projects/123456789", "folders/5432", "organizations/1234"] |