Google Cloud Network Connectivity V1 Client - Class ListHubSpokesResponse (2.0.0-RC1)

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

The response for HubService.ListHubSpokes.

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

Namespace

Google \ Cloud \ NetworkConnectivity \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ spokes array<Google\Cloud\NetworkConnectivity\V1\Spoke>

The requested spokes. The spoke fields can be partially populated based on the view field in the request message.

↳ 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

Locations that could not be reached.

getSpokes

The requested spokes.

The spoke fields can be partially populated based on the view field in the request message.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setSpokes

The requested spokes.

The spoke fields can be partially populated based on the view field in the request message.

Parameter
Name Description
var array<Google\Cloud\NetworkConnectivity\V1\Spoke>
Returns
Type Description
$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
Type Description
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
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