GoogleCloudPolicysimulatorV1ResourceContext class
ResourceContext provides the context we know about a resource.
It is similar in concept to google.cloud.asset.v1.Resource, but focuses on the information specifically used by Simulator.
Constructors
-
GoogleCloudPolicysimulatorV1ResourceContext({List<
String> ? ancestors, String? assetType, String? resource}) - GoogleCloudPolicysimulatorV1ResourceContext.fromJson(Map json_)
Properties
-
ancestors
↔ List<
String> ? -
The ancestry path of the resource in Google Cloud
resource hierarchy,
represented as a list of relative resource names.
getter/setter pair
- assetType ↔ String?
-
The asset type of the resource as defined by CAIS.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- resource ↔ String?
-
The full name of the resource.
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