SimulatedResource class

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.

Constructors

SimulatedResource({Policy? iamPolicyData, Map<String, Object?>? resourceData, String? resourceType})
SimulatedResource.fromJson(Map json_)

Properties

hashCode int
The hash code for this object.
no setterinherited
iamPolicyData Policy?
A representation of the IAM policy.
getter/setter pair
resourceData Map<String, Object?>?
A representation of the Google Cloud resource.
getter/setter pair
resourceType String?
The type of the resource, for example, compute.googleapis.com/Disk.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited