GetInstanceResult constructor

const GetInstanceResult({
  1. required String databaseUrl,
  2. required String name,
  3. required String project,
  4. required String state,
  5. 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.

Implementation

const GetInstanceResult({
  required this.databaseUrl,
  required this.name,
  required this.project,
  required this.state,
  required this.type,
});