Reference documentation and code samples for the Cloud Firestore V1 Client class ListDatabasesResponse.
The list of databases for a project.
Generated from protobuf message google.firestore.admin.v1.ListDatabasesResponse
Namespace
Google \ Cloud \ Firestore \ Admin \ V1Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ databases |
array<Google\Cloud\Firestore\Admin\V1\Database>
The databases in the project. |
↳ unreachable |
array
In the event that data about individual databases cannot be listed they will be recorded here. An example entry might be: projects/some_project/locations/some_location This can happen if the Cloud Region that the Database resides in is currently unavailable. In this case we can't fetch all the details about the database. You may be able to get a more detailed error message (or possibly fetch the resource) by sending a 'Get' request for the resource or a 'List' request for the specific location. |
getDatabases
The databases in the project.
Returns | |
---|---|
Type | Description |
Google\Protobuf\Internal\RepeatedField |
setDatabases
The databases in the project.
Parameter | |
---|---|
Name | Description |
var |
array<Google\Cloud\Firestore\Admin\V1\Database>
|
Returns | |
---|---|
Type | Description |
$this |
getUnreachable
In the event that data about individual databases cannot be listed they will be recorded here.
An example entry might be: projects/some_project/locations/some_location This can happen if the Cloud Region that the Database resides in is currently unavailable. In this case we can't fetch all the details about the database. You may be able to get a more detailed error message (or possibly fetch the resource) by sending a 'Get' request for the resource or a 'List' request for the specific location.
Returns | |
---|---|
Type | Description |
Google\Protobuf\Internal\RepeatedField |
setUnreachable
In the event that data about individual databases cannot be listed they will be recorded here.
An example entry might be: projects/some_project/locations/some_location This can happen if the Cloud Region that the Database resides in is currently unavailable. In this case we can't fetch all the details about the database. You may be able to get a more detailed error message (or possibly fetch the resource) by sending a 'Get' request for the resource or a 'List' request for the specific location.
Parameter | |
---|---|
Name | Description |
var |
string[]
|
Returns | |
---|---|
Type | Description |
$this |