Cloud Firestore V1 Client - Class ListDatabasesResponse (1.40.0)

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 \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
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
TypeDescription
Google\Protobuf\Internal\RepeatedField

setDatabases

The databases in the project.

Parameter
NameDescription
var array<Google\Cloud\Firestore\Admin\V1\Database>
Returns
TypeDescription
$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
TypeDescription
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
NameDescription
var string[]
Returns
TypeDescription
$this