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

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

Optional. Data for populating the Message object.

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

setAssets

A list of assets.

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