Resource class

Resource represents a Google Cloud Platform resource actuated by IM.

Resources are child resources of Revisions.

Constructors

Resource({Map<String, ResourceCAIInfo>? caiAssets, String? intent, String? name, String? state, ResourceTerraformInfo? terraformInfo})
Resource.fromJson(Map json_)

Properties

caiAssets Map<String, ResourceCAIInfo>?
Map of Cloud Asset Inventory (CAI) type to CAI info (e.g. CAI ID).
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
intent String?
Intent of the resource.
getter/setter pair
name String?
Resource name.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
state String?
Current state of the resource.
getter/setter pair
terraformInfo ResourceTerraformInfo?
Terraform-specific info if this resource was created using Terraform.
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