Class SimulatedResource (1.36.0)

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

Manually constructed resource name. If the custom module evaluates against only the resource data, you can omit the iam_policy_data field. If it evaluates only the iam_policy_data field, you can omit the resource data.

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.
iam_policy_data google.iam.v1.policy_pb2.Policy
Optional. A representation of the IAM policy.