Google Cloud Vm Migration V1 Client - Class ListSourcesResponse (0.6.5)

Reference documentation and code samples for the Google Cloud Vm Migration V1 Client class ListSourcesResponse.

Response message for 'ListSources' request.

Generated from protobuf message google.cloud.vmmigration.v1.ListSourcesResponse

Namespace

Google \ Cloud \ VMMigration \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ sources array<Google\Cloud\VMMigration\V1\Source>

Output only. The list of sources response.

↳ next_page_token string

Output only. A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

↳ unreachable array

Output only. Locations that could not be reached.

getSources

Output only. The list of sources response.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setSources

Output only. The list of sources response.

Parameter
Name Description
var array<Google\Cloud\VMMigration\V1\Source>
Returns
Type Description
$this

getNextPageToken

Output only. A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

Returns
Type Description
string

setNextPageToken

Output only. A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

Parameter
Name Description
var string
Returns
Type Description
$this

getUnreachable

Output only. Locations that could not be reached.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setUnreachable

Output only. Locations that could not be reached.

Parameter
Name Description
var string[]
Returns
Type Description
$this