ResourceTypes class

Set multiple resource types for one policy, for example: resourceTypes: included: - compute.googleapis.com/Instance - compute.googleapis.com/Disk Constraint definition contains an empty resource type in order to support multiple resource types in the policy.

Only supports managed constraints. Method type is GOVERN_TAGS. Refer go/multi-resource-support-force-tags-gmc to get more details.

Constructors

ResourceTypes.new({List<String>? included})
ResourceTypes.fromJson(Map json_)

Properties

hashCode int
The hash code for this object.
no setterinherited
included List<String>?
The resource types we currently support.
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