SimulatedResource class

Manually constructed resource.

If the custom module only evaluates against the resource data, the iam_policy_data field can be omitted, and vice versa.

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 GCP resource.
getter/setter pair
resourceType String?
The type of the resource, e.g. 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