Reference documentation and code samples for the Google Cloud Backup Dr V1 Client class ListDataSourcesResponse.
Response message for listing DataSources.
Generated from protobuf message google.cloud.backupdr.v1.ListDataSourcesResponse
Namespace
Google \ Cloud \ BackupDR \ V1Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ data_sources |
array<DataSource>
The list of DataSource instances in the project for the specified location. If the '{location}' value in the request is "-", the response contains a list of instances from all locations. In case any location is unreachable, the response will only return data sources in reachable locations and the 'unreachable' field will be populated with a list of unreachable locations. |
↳ next_page_token |
string
A token identifying a page of results the server should return. |
↳ unreachable |
array
Locations that could not be reached. |
getDataSources
The list of DataSource instances in the project for the specified location.
If the '{location}' value in the request is "-", the response contains a list of instances from all locations. In case any location is unreachable, the response will only return data sources in reachable locations and the 'unreachable' field will be populated with a list of unreachable locations.
Returns | |
---|---|
Type | Description |
Google\Protobuf\Internal\RepeatedField |
setDataSources
The list of DataSource instances in the project for the specified location.
If the '{location}' value in the request is "-", the response contains a list of instances from all locations. In case any location is unreachable, the response will only return data sources in reachable locations and the 'unreachable' field will be populated with a list of unreachable locations.
Parameter | |
---|---|
Name | Description |
var |
array<DataSource>
|
Returns | |
---|---|
Type | Description |
$this |
getNextPageToken
A token identifying a page of results the server should return.
Returns | |
---|---|
Type | Description |
string |
setNextPageToken
A token identifying a page of results the server should return.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getUnreachable
Locations that could not be reached.
Returns | |
---|---|
Type | Description |
Google\Protobuf\Internal\RepeatedField |
setUnreachable
Locations that could not be reached.
Parameter | |
---|---|
Name | Description |
var |
string[]
|
Returns | |
---|---|
Type | Description |
$this |