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

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
Name Description
data array

Optional. Data for populating the Message object.

↳ sources array<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
Type Description
Google\Protobuf\Internal\RepeatedField

setSources

The list of sources.

Parameter
Name Description
var array<Source>
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