ResourceId class

A container to reference an id for any resource type.

A resource in Google Cloud Platform is a generic term for something you (a developer) may want to interact with through one of our API's. Some examples are an App Engine app, a Compute Engine instance, a Cloud SQL database, and so on.

Constructors

ResourceId({String? id, String? type})
ResourceId.fromJson(Map json_)

Properties

hashCode int
The hash code for this object.
no setterinherited
id String?
The type-specific id.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type String?
The resource type this id is for.
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