Google Cloud Network Connectivity V1 Client - Class ListGroupsResponse (1.5.0)

Reference documentation and code samples for the Google Cloud Network Connectivity V1 Client class ListGroupsResponse.

Response for HubService.ListGroups method.

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

Namespace

Google \ Cloud \ NetworkConnectivity \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

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

The requested groups.

↳ next_page_token string

The token for the next page of the response. To see more results, use this value as the page_token for your next request. If this value is empty, there are no more results.

↳ unreachable array

Hubs that could not be reached.

getGroups

The requested groups.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setGroups

The requested groups.

Parameter
NameDescription
var array<Google\Cloud\NetworkConnectivity\V1\Group>
Returns
TypeDescription
$this

getNextPageToken

The token for the next page of the response. To see more results, use this value as the page_token for your next request. If this value is empty, there are no more results.

Returns
TypeDescription
string

setNextPageToken

The token for the next page of the response. To see more results, use this value as the page_token for your next request. If this value is empty, there are no more results.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getUnreachable

Hubs that could not be reached.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setUnreachable

Hubs that could not be reached.

Parameter
NameDescription
var string[]
Returns
TypeDescription
$this