Google Cloud Migration Center V1 Client - Class ListAssetsResponse (0.3.1)

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

Response message for listing assets.

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

Namespace

Google \ Cloud \ MigrationCenter \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ assets array<Google\Cloud\MigrationCenter\V1\Asset>

A list of assets.

↳ next_page_token string

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

↳ unreachable array

Locations that could not be reached.

getAssets

A list of assets.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setAssets

A list of assets.

Parameter
NameDescription
var array<Google\Cloud\MigrationCenter\V1\Asset>
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