Google Cloud Vm Migration V1 Client - Class ListTargetProjectsResponse (1.4.0)

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

Response message for 'ListTargetProjects' call.

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

Namespace

Google \ Cloud \ VMMigration \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ target_projects array<TargetProject>

Output only. The list of target 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 string[]

Output only. Locations that could not be reached.

getTargetProjects

Output only. The list of target response.

Returns
Type Description
Google\Protobuf\RepeatedField<TargetProject>

setTargetProjects

Output only. The list of target response.

Parameter
Name Description
var array<TargetProject>
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\RepeatedField<string>

setUnreachable

Output only. Locations that could not be reached.

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