ProvisionedResource class

Constructors

ProvisionedResource({String? database, String? host, String? id, String? kind, String? name, int? port, String? status, String? username})
Returns a new ProvisionedResource instance.

Properties

database ↔ String?
Database is the logical database, collection, index or bucket this resource resolves to on its backend.
getter/setter pair
hashCode → int
The hash code for this object.
no setteroverride
host ↔ String?
Host is the address that actually routes to this resource — a dedicated instance's own in-cluster Service, or the public gateway for a shared one.
getter/setter pair
id ↔ String?
ID is the resource's server-minted handle, "rs_"-prefixed.
getter/setter pair
kind ↔ String?
Kind is the product: sql, vector, datastore, kv, search, s3 or docdb.
getter/setter pair
name ↔ String?
Name is the org-unique slug the caller provisioned the resource under.
getter/setter pair
port ↔ int?
Port is the port a client connects to on Host.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
status ↔ String?
Status is "ready", or "provisioning" while a dedicated instance is still being materialized. A dedicated resource's status is reconciled from the operator's live CR before this is answered, so it is never a stale ready.
getter/setter pair
username ↔ String?
Username is the credential's user, for the kinds that mint one per resource. Absent for a kind whose backend authenticates with a shared, out-of-band key.
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.
override

Operators

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

Static Methods

fromJson(dynamic value) → ProvisionedResource?
Returns a new ProvisionedResource instance and imports its values from value if it's a Map, null otherwise.
listFromJson(dynamic json, {bool growable = false}) → List<ProvisionedResource>
mapFromJson(dynamic json) → Map<String, ProvisionedResource>
mapListFromJson(dynamic json, {bool growable = false}) → Map<String, List<ProvisionedResource>>

Constants

requiredKeys → const Set<String>
The list of required keys that must be present in a JSON.