- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- HubStatusEntry
- PscPropagationStatus
- Code
- Try it!
Query the Private Service Connect propagation status of a Network Connectivity Center hub.
HTTP request
GET https://networkconnectivity.googleapis.com/v1beta/{name=projects/*/locations/global/hubs/*}:queryStatus
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
name |
Required. The name of the hub. Authorization requires the following IAM permission on the specified resource
|
Query parameters
Parameters | |
---|---|
page |
Optional. The maximum number of results to return per page. |
page |
Optional. The page token. |
filter |
Optional. An expression that filters the list of results. The filter can be used to filter the results by the following fields: * |
order |
Optional. Sort the results in ascending order by the specified fields. A comma-separated list of any of these fields: * |
group |
Optional. Aggregate the results by the specified fields. A comma-separated list of any of these fields: * |
Request body
The request body must be empty.
Response body
The response for HubService.QueryHubStatus
.
If successful, the response body contains data with the following structure:
JSON representation |
---|
{
"hubStatusEntries": [
{
object ( |
Fields | |
---|---|
hub |
The list of hub status. |
next |
The token for the next page of the response. To see more results, use this value as the pageToken for your next request. If this value is empty, there are no more results. |
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview.
HubStatusEntry
A hub status entry represents the status of a set of propagated Private Service Connect connections grouped by certain fields.
JSON representation |
---|
{
"count": integer,
"groupBy": string,
"pscPropagationStatus": {
object ( |
Fields | |
---|---|
count |
The number of propagated Private Service Connect connections with this status. If the |
group |
The fields that this entry is grouped by. This has the same value as the |
psc |
The Private Service Connect propagation status. |
PscPropagationStatus
The status of one or more propagated Private Service Connect connections in a hub.
JSON representation |
---|
{
"sourceSpoke": string,
"sourceGroup": string,
"sourceForwardingRule": string,
"targetSpoke": string,
"targetGroup": string,
"code": enum ( |
Fields | |
---|---|
source |
The name of the spoke that the source forwarding rule belongs to. |
source |
The name of the group that the source spoke belongs to. |
source |
The name of the forwarding rule exported to the hub. |
target |
The name of the spoke that the source forwarding rule propagates to. |
target |
The name of the group that the target spoke belongs to. |
code |
The propagation status. |
message |
The human-readable summary of the Private Service Connect connection propagation status. |
Code
The Code enum represents the state of the Private Service Connect propagation.
Enums | |
---|---|
CODE_UNSPECIFIED |
The code is unspecified. |
READY |
The propagated Private Service Connect connection is ready. |
PROPAGATING |
The Private Service Connect connection is propagating. This is a transient state. |
ERROR_PRODUCER_PROPAGATED_CONNECTION_LIMIT_EXCEEDED |
The Private Service Connect connection propagation failed because the VPC network or the project of the target spoke has exceeded the connection limit set by the producer. |
ERROR_PRODUCER_NAT_IP_SPACE_EXHAUSTED |
The Private Service Connect connection propagation failed because the NAT IP subnet space has been exhausted. It is equivalent to the |
ERROR_PRODUCER_QUOTA_EXCEEDED |
The Private Service Connect connection propagation failed because the PSC_ILB_CONSUMER_FORWARDING_RULES_PER_PRODUCER_NETWORK quota in the producer VPC network has been exceeded. |
ERROR_CONSUMER_QUOTA_EXCEEDED |
The Private Service Connect connection propagation failed because the PSC_PROPAGATED_CONNECTIONS_PER_VPC_NETWORK quota in the consumer VPC network has been exceeded. |