Google Cloud Migration Center V1 Client - Class ListGroupsResponse (1.0.0)

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

A response for listing groups.

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

Namespace

Google \ Cloud \ MigrationCenter \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ groups array<Google\Cloud\MigrationCenter\V1\Group>

The list of Group

↳ next_page_token string

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

↳ unreachable array

Locations that could not be reached.

getGroups

The list of Group

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setGroups

The list of Group

Parameter
Name Description
var array<Google\Cloud\MigrationCenter\V1\Group>
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