Reference documentation and code samples for the Google Cloud Network Connectivity V1 Client class ListHubsResponse.
Response for HubService.ListHubs method.
Generated from protobuf message google.cloud.networkconnectivity.v1.ListHubsResponse
Namespace
Google \ Cloud \ NetworkConnectivity \ V1Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ hubs |
array<Google\Cloud\NetworkConnectivity\V1\Hub>
The requested hubs. |
↳ next_page_token |
string
The next pagination token in the List response. It should be used as page_token for the following request. An empty value means no more result. |
↳ unreachable |
array
Locations that could not be reached. |
getHubs
The requested hubs.
Returns | |
---|---|
Type | Description |
Google\Protobuf\Internal\RepeatedField |
setHubs
The requested hubs.
Parameter | |
---|---|
Name | Description |
var |
array<Google\Cloud\NetworkConnectivity\V1\Hub>
|
Returns | |
---|---|
Type | Description |
$this |
getNextPageToken
The next pagination token in the List response. It should be used as page_token for the following request. An empty value means no more result.
Returns | |
---|---|
Type | Description |
string |
setNextPageToken
The next pagination token in the List response. It should be used as page_token for the following request. An empty value means no more result.
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 |