Reference documentation and code samples for the Cloud Firestore V1 Client class ListBackupsResponse.
The response for FirestoreAdmin.ListBackups.
Generated from protobuf message google.firestore.admin.v1.ListBackupsResponse
Namespace
Google \ Cloud \ Firestore \ Admin \ V1Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ backups |
array<Backup>
List of all backups for the project. |
↳ unreachable |
array
List of locations that existing backups were not able to be fetched from. Instead of failing the entire requests when a single location is unreachable, this response returns a partial result set and list of locations unable to be reached here. The request can be retried against a single location to get a concrete error. |
getBackups
List of all backups for the project.
Returns | |
---|---|
Type | Description |
Google\Protobuf\Internal\RepeatedField |
setBackups
List of all backups for the project.
Parameter | |
---|---|
Name | Description |
var |
array<Backup>
|
Returns | |
---|---|
Type | Description |
$this |
getUnreachable
List of locations that existing backups were not able to be fetched from.
Instead of failing the entire requests when a single location is unreachable, this response returns a partial result set and list of locations unable to be reached here. The request can be retried against a single location to get a concrete error.
Returns | |
---|---|
Type | Description |
Google\Protobuf\Internal\RepeatedField |
setUnreachable
List of locations that existing backups were not able to be fetched from.
Instead of failing the entire requests when a single location is unreachable, this response returns a partial result set and list of locations unable to be reached here. The request can be retried against a single location to get a concrete error.
Parameter | |
---|---|
Name | Description |
var |
string[]
|
Returns | |
---|---|
Type | Description |
$this |