Google Cloud Vm Migration V1 Client - Class ListGroupsResponse (0.3.2)

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

Response message for 'ListGroups' request.

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

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

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

Output only. The list of groups 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 array

Output only. Locations that could not be reached.

getGroups

Output only. The list of groups response.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setGroups

Output only. The list of groups response.

Parameter
NameDescription
var array<Google\Cloud\VMMigration\V1\Group>
Returns
TypeDescription
$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
TypeDescription
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
NameDescription
var string
Returns
TypeDescription
$this

getUnreachable

Output only. Locations that could not be reached.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setUnreachable

Output only. Locations that could not be reached.

Parameter
NameDescription
var string[]
Returns
TypeDescription
$this