Google Cloud Backup Dr V1 Client - Class ListManagementServersResponse (0.2.0)

Reference documentation and code samples for the Google Cloud Backup Dr V1 Client class ListManagementServersResponse.

Response message for listing management servers.

Generated from protobuf message google.cloud.backupdr.v1.ListManagementServersResponse

Namespace

Google \ Cloud \ BackupDR \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ management_servers array<Google\Cloud\BackupDR\V1\ManagementServer>

The list of ManagementServer 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 management servers 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.

getManagementServers

The list of ManagementServer 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 management servers in reachable locations and the 'unreachable' field will be populated with a list of unreachable locations.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setManagementServers

The list of ManagementServer 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 management servers in reachable locations and the 'unreachable' field will be populated with a list of unreachable locations.

Parameter
Name Description
var array<Google\Cloud\BackupDR\V1\ManagementServer>
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