GetInstanceResult class
Result data returned by getInstance.
Constructors
- GetInstanceResult({required String databaseUrl, required String name, required String project, required String state, required String type})
-
Creates a new GetInstanceResult.
databaseUrlOutput Only. The globally unique hostname of the database.nameThe fully qualified resource name of the database instance, in the form:projects/{project-number}/locations/{location-id}/instances/{database-id}.projectThe resource name of the project this instance belongs to. For example:projects/{project-number}.stateThe database's lifecycle state. Read-only.typeImmutable. The database instance type. On creation only USER_DATABASE is allowed, which is also the default when omitted.const -
GetInstanceResult.fromMap(Map<
String, dynamic> map) -
factory
Properties
- databaseUrl → String
-
Output Only. The globally unique hostname of the database.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- name → String
-
The fully qualified resource name of the database instance, in the form:
projects/{project-number}/locations/{location-id}/instances/{database-id}.final - project → String
-
The resource name of the project this instance belongs to. For example:
projects/{project-number}.final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- state → String
-
The database's lifecycle state. Read-only.
final
- type → String
-
Immutable. The database instance type. On creation only USER_DATABASE is allowed, which is also the default when omitted.
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