Class HubServiceGrpc.HubServiceBlockingStub (1.45.0)

public static final class HubServiceGrpc.HubServiceBlockingStub extends AbstractBlockingStub<HubServiceGrpc.HubServiceBlockingStub>

A stub to allow clients to do synchronous rpc calls to service HubService.

Network Connectivity Center is a hub-and-spoke abstraction for network connectivity management in Google Cloud. It reduces operational complexity through a simple, centralized connectivity management model.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractBlockingStub > HubServiceGrpc.HubServiceBlockingStub

Methods

acceptHubSpoke(AcceptHubSpokeRequest request)

public Operation acceptHubSpoke(AcceptHubSpokeRequest request)

Accepts a proposal to attach a Network Connectivity Center spoke to a hub.

Parameter
Name Description
request AcceptHubSpokeRequest
Returns
Type Description
Operation

build(Channel channel, CallOptions callOptions)

protected HubServiceGrpc.HubServiceBlockingStub build(Channel channel, CallOptions callOptions)
Parameters
Name Description
channel io.grpc.Channel
callOptions io.grpc.CallOptions
Returns
Type Description
HubServiceGrpc.HubServiceBlockingStub
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)

createHub(CreateHubRequest request)

public Operation createHub(CreateHubRequest request)

Creates a new Network Connectivity Center hub in the specified project.

Parameter
Name Description
request CreateHubRequest
Returns
Type Description
Operation

createSpoke(CreateSpokeRequest request)

public Operation createSpoke(CreateSpokeRequest request)

Creates a Network Connectivity Center spoke.

Parameter
Name Description
request CreateSpokeRequest
Returns
Type Description
Operation

deleteHub(DeleteHubRequest request)

public Operation deleteHub(DeleteHubRequest request)

Deletes a Network Connectivity Center hub.

Parameter
Name Description
request DeleteHubRequest
Returns
Type Description
Operation

deleteSpoke(DeleteSpokeRequest request)

public Operation deleteSpoke(DeleteSpokeRequest request)

Deletes a Network Connectivity Center spoke.

Parameter
Name Description
request DeleteSpokeRequest
Returns
Type Description
Operation

getGroup(GetGroupRequest request)

public Group getGroup(GetGroupRequest request)

Gets details about a Network Connectivity Center group.

Parameter
Name Description
request GetGroupRequest
Returns
Type Description
Group

getHub(GetHubRequest request)

public Hub getHub(GetHubRequest request)

Gets details about a Network Connectivity Center hub.

Parameter
Name Description
request GetHubRequest
Returns
Type Description
Hub

getRoute(GetRouteRequest request)

public Route getRoute(GetRouteRequest request)

Gets details about the specified route.

Parameter
Name Description
request GetRouteRequest
Returns
Type Description
Route

getRouteTable(GetRouteTableRequest request)

public RouteTable getRouteTable(GetRouteTableRequest request)

Gets details about a Network Connectivity Center route table.

Parameter
Name Description
request GetRouteTableRequest
Returns
Type Description
RouteTable

getSpoke(GetSpokeRequest request)

public Spoke getSpoke(GetSpokeRequest request)

Gets details about a Network Connectivity Center spoke.

Parameter
Name Description
request GetSpokeRequest
Returns
Type Description
Spoke

listGroups(ListGroupsRequest request)

public ListGroupsResponse listGroups(ListGroupsRequest request)

Lists groups in a given hub.

Parameter
Name Description
request ListGroupsRequest
Returns
Type Description
ListGroupsResponse

listHubSpokes(ListHubSpokesRequest request)

public ListHubSpokesResponse listHubSpokes(ListHubSpokesRequest request)

Lists the Network Connectivity Center spokes associated with a specified hub and location. The list includes both spokes that are attached to the hub and spokes that have been proposed but not yet accepted.

Parameter
Name Description
request ListHubSpokesRequest
Returns
Type Description
ListHubSpokesResponse

listHubs(ListHubsRequest request)

public ListHubsResponse listHubs(ListHubsRequest request)

Lists the Network Connectivity Center hubs associated with a given project.

Parameter
Name Description
request ListHubsRequest
Returns
Type Description
ListHubsResponse

listRouteTables(ListRouteTablesRequest request)

public ListRouteTablesResponse listRouteTables(ListRouteTablesRequest request)

Lists route tables in a given project.

Parameter
Name Description
request ListRouteTablesRequest
Returns
Type Description
ListRouteTablesResponse

listRoutes(ListRoutesRequest request)

public ListRoutesResponse listRoutes(ListRoutesRequest request)

Lists routes in a given project.

Parameter
Name Description
request ListRoutesRequest
Returns
Type Description
ListRoutesResponse

listSpokes(ListSpokesRequest request)

public ListSpokesResponse listSpokes(ListSpokesRequest request)

Lists the Network Connectivity Center spokes in a specified project and location.

Parameter
Name Description
request ListSpokesRequest
Returns
Type Description
ListSpokesResponse

rejectHubSpoke(RejectHubSpokeRequest request)

public Operation rejectHubSpoke(RejectHubSpokeRequest request)

Rejects a Network Connectivity Center spoke from being attached to a hub. If the spoke was previously in the ACTIVE state, it transitions to the INACTIVE state and is no longer able to connect to other spokes that are attached to the hub.

Parameter
Name Description
request RejectHubSpokeRequest
Returns
Type Description
Operation

updateHub(UpdateHubRequest request)

public Operation updateHub(UpdateHubRequest request)

Updates the description and/or labels of a Network Connectivity Center hub.

Parameter
Name Description
request UpdateHubRequest
Returns
Type Description
Operation

updateSpoke(UpdateSpokeRequest request)

public Operation updateSpoke(UpdateSpokeRequest request)

Updates the parameters of a Network Connectivity Center spoke.

Parameter
Name Description
request UpdateSpokeRequest
Returns
Type Description
Operation