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. databaseUrl Output Only. The globally unique hostname of the database. name The fully qualified resource name of the database instance, in the form: projects/{project-number}/locations/{location-id}/instances/{database-id}. project The resource name of the project this instance belongs to. For example: projects/{project-number}. state The database's lifecycle state. Read-only. type Immutable. 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