Resource class

Constructors

Resource({Map<String, Object?>? expectedNextState, Map<String, String>? labels, String? name, String? service, String? type})
Resource.fromJson(Map json_)

Properties

expectedNextState Map<String, Object?>?
The proto or JSON formatted expected next state of the resource, wrapped in a google.protobuf.Any proto, against which the policy rules are evaluated.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
labels Map<String, String>?
The service defined labels of the resource on which the conditions will be evaluated.
getter/setter pair
name String?
The relative name of the resource, which is the URI path of the resource without the leading "/".
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
service String?
The name of the service this resource belongs to.
getter/setter pair
type String?
The public resource type name of the resource.
getter/setter pair

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