Class Asset (2.2.1)

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

NameDescription
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: "google.compute.Disk".
resource `.assets.Resource`
Representation of the resource.
iam_policy `.policy.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.

Inheritance

builtins.object > proto.message.Message > Asset