Google Cloud Migration Center V1 Client - Class ListSourcesResponse (0.2.0)

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

Response message for listing sources.

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

Namespace

Google \ Cloud \ MigrationCenter \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

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

The list of sources.

↳ next_page_token string

A token identifying a page of results the server should return.

↳ unreachable array

Locations that could not be reached.

getSources

The list of sources.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setSources

The list of sources.

Parameter
NameDescription
var array<Google\Cloud\MigrationCenter\V1\Source>
Returns
TypeDescription
$this

getNextPageToken

A token identifying a page of results the server should return.

Returns
TypeDescription
string

setNextPageToken

A token identifying a page of results the server should return.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getUnreachable

Locations that could not be reached.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setUnreachable

Locations that could not be reached.

Parameter
NameDescription
var string[]
Returns
TypeDescription
$this