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({Input<String>? id, Input<String>? type})
Creates a new ResourceId. id The type-specific id. This should correspond to the id used in the type-specific API's. type The resource type this id is for. At present, the valid types are: "organization", "folder", and "project".
const
ResourceId.fromMap(Map<String, dynamic> map)
factory

Properties

hashCode → int
The hash code for this object.
no setterinherited
id → Input<String>?
The type-specific id. This should correspond to the id used in the type-specific API's.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
type → Input<String>?
The resource type this id is for. At present, the valid types are: "organization", "folder", and "project".
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited