Class SimulatedResource (0.1.16)

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

Manually constructed information about a resource.

Attributes

Name Description
resource_type str
Required. The type of the resource. For example, compute.googleapis.com/Disk.
resource_data google.protobuf.struct_pb2.Struct
Optional. A representation of the Google Cloud resource. Should match the Google Cloud resource JSON format. If the custom module evaluates only the IAM allow policy, then you can omit this field.
iam_policy_data google.iam.v1.policy_pb2.Policy
Optional. A representation of the IAM allow policy. If the custom module evaluates only the resource data, then you can omit this field.