- 1.52.0 (latest)
- 1.51.0
- 1.50.0
- 1.48.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.38.0
- 1.36.0
- 1.35.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.26.0
- 1.23.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.0
- 1.11.0
- 1.10.0
- 1.8.0
- 1.7.0
- 1.6.0
- 1.5.0
- 1.4.0
- 1.3.0
- 1.2.9
- 1.1.1
- 1.0.0
- 0.5.0
public static final class HubServiceGrpc.HubServiceStub extends AbstractAsyncStub<HubServiceGrpc.HubServiceStub>
A stub to allow clients to do asynchronous 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.AbstractAsyncStub > HubServiceGrpc.HubServiceStubMethods
acceptHubSpoke(AcceptHubSpokeRequest request, StreamObserver<Operation> responseObserver)
public void acceptHubSpoke(AcceptHubSpokeRequest request, StreamObserver<Operation> responseObserver)
Accepts a proposal to attach a Network Connectivity Center spoke to a hub.
Parameters | |
---|---|
Name | Description |
request |
AcceptHubSpokeRequest |
responseObserver |
io.grpc.stub.StreamObserver<Operation> |
build(Channel channel, CallOptions callOptions)
protected HubServiceGrpc.HubServiceStub build(Channel channel, CallOptions callOptions)
Parameters | |
---|---|
Name | Description |
channel |
io.grpc.Channel |
callOptions |
io.grpc.CallOptions |
Returns | |
---|---|
Type | Description |
HubServiceGrpc.HubServiceStub |
createHub(CreateHubRequest request, StreamObserver<Operation> responseObserver)
public void createHub(CreateHubRequest request, StreamObserver<Operation> responseObserver)
Creates a new Network Connectivity Center hub in the specified project.
Parameters | |
---|---|
Name | Description |
request |
CreateHubRequest |
responseObserver |
io.grpc.stub.StreamObserver<Operation> |
createSpoke(CreateSpokeRequest request, StreamObserver<Operation> responseObserver)
public void createSpoke(CreateSpokeRequest request, StreamObserver<Operation> responseObserver)
Creates a Network Connectivity Center spoke.
Parameters | |
---|---|
Name | Description |
request |
CreateSpokeRequest |
responseObserver |
io.grpc.stub.StreamObserver<Operation> |
deleteHub(DeleteHubRequest request, StreamObserver<Operation> responseObserver)
public void deleteHub(DeleteHubRequest request, StreamObserver<Operation> responseObserver)
Deletes a Network Connectivity Center hub.
Parameters | |
---|---|
Name | Description |
request |
DeleteHubRequest |
responseObserver |
io.grpc.stub.StreamObserver<Operation> |
deleteSpoke(DeleteSpokeRequest request, StreamObserver<Operation> responseObserver)
public void deleteSpoke(DeleteSpokeRequest request, StreamObserver<Operation> responseObserver)
Deletes a Network Connectivity Center spoke.
Parameters | |
---|---|
Name | Description |
request |
DeleteSpokeRequest |
responseObserver |
io.grpc.stub.StreamObserver<Operation> |
getGroup(GetGroupRequest request, StreamObserver<Group> responseObserver)
public void getGroup(GetGroupRequest request, StreamObserver<Group> responseObserver)
Gets details about a Network Connectivity Center group.
Parameters | |
---|---|
Name | Description |
request |
GetGroupRequest |
responseObserver |
io.grpc.stub.StreamObserver<Group> |
getHub(GetHubRequest request, StreamObserver<Hub> responseObserver)
public void getHub(GetHubRequest request, StreamObserver<Hub> responseObserver)
Gets details about a Network Connectivity Center hub.
Parameters | |
---|---|
Name | Description |
request |
GetHubRequest |
responseObserver |
io.grpc.stub.StreamObserver<Hub> |
getRoute(GetRouteRequest request, StreamObserver<Route> responseObserver)
public void getRoute(GetRouteRequest request, StreamObserver<Route> responseObserver)
Gets details about the specified route.
Parameters | |
---|---|
Name | Description |
request |
GetRouteRequest |
responseObserver |
io.grpc.stub.StreamObserver<Route> |
getRouteTable(GetRouteTableRequest request, StreamObserver<RouteTable> responseObserver)
public void getRouteTable(GetRouteTableRequest request, StreamObserver<RouteTable> responseObserver)
Gets details about a Network Connectivity Center route table.
Parameters | |
---|---|
Name | Description |
request |
GetRouteTableRequest |
responseObserver |
io.grpc.stub.StreamObserver<RouteTable> |
getSpoke(GetSpokeRequest request, StreamObserver<Spoke> responseObserver)
public void getSpoke(GetSpokeRequest request, StreamObserver<Spoke> responseObserver)
Gets details about a Network Connectivity Center spoke.
Parameters | |
---|---|
Name | Description |
request |
GetSpokeRequest |
responseObserver |
io.grpc.stub.StreamObserver<Spoke> |
listGroups(ListGroupsRequest request, StreamObserver<ListGroupsResponse> responseObserver)
public void listGroups(ListGroupsRequest request, StreamObserver<ListGroupsResponse> responseObserver)
Lists groups in a given hub.
Parameters | |
---|---|
Name | Description |
request |
ListGroupsRequest |
responseObserver |
io.grpc.stub.StreamObserver<ListGroupsResponse> |
listHubSpokes(ListHubSpokesRequest request, StreamObserver<ListHubSpokesResponse> responseObserver)
public void listHubSpokes(ListHubSpokesRequest request, StreamObserver<ListHubSpokesResponse> responseObserver)
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.
Parameters | |
---|---|
Name | Description |
request |
ListHubSpokesRequest |
responseObserver |
io.grpc.stub.StreamObserver<ListHubSpokesResponse> |
listHubs(ListHubsRequest request, StreamObserver<ListHubsResponse> responseObserver)
public void listHubs(ListHubsRequest request, StreamObserver<ListHubsResponse> responseObserver)
Lists the Network Connectivity Center hubs associated with a given project.
Parameters | |
---|---|
Name | Description |
request |
ListHubsRequest |
responseObserver |
io.grpc.stub.StreamObserver<ListHubsResponse> |
listRouteTables(ListRouteTablesRequest request, StreamObserver<ListRouteTablesResponse> responseObserver)
public void listRouteTables(ListRouteTablesRequest request, StreamObserver<ListRouteTablesResponse> responseObserver)
Lists route tables in a given project.
Parameters | |
---|---|
Name | Description |
request |
ListRouteTablesRequest |
responseObserver |
io.grpc.stub.StreamObserver<ListRouteTablesResponse> |
listRoutes(ListRoutesRequest request, StreamObserver<ListRoutesResponse> responseObserver)
public void listRoutes(ListRoutesRequest request, StreamObserver<ListRoutesResponse> responseObserver)
Lists routes in a given project.
Parameters | |
---|---|
Name | Description |
request |
ListRoutesRequest |
responseObserver |
io.grpc.stub.StreamObserver<ListRoutesResponse> |
listSpokes(ListSpokesRequest request, StreamObserver<ListSpokesResponse> responseObserver)
public void listSpokes(ListSpokesRequest request, StreamObserver<ListSpokesResponse> responseObserver)
Lists the Network Connectivity Center spokes in a specified project and location.
Parameters | |
---|---|
Name | Description |
request |
ListSpokesRequest |
responseObserver |
io.grpc.stub.StreamObserver<ListSpokesResponse> |
rejectHubSpoke(RejectHubSpokeRequest request, StreamObserver<Operation> responseObserver)
public void rejectHubSpoke(RejectHubSpokeRequest request, StreamObserver<Operation> responseObserver)
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.
Parameters | |
---|---|
Name | Description |
request |
RejectHubSpokeRequest |
responseObserver |
io.grpc.stub.StreamObserver<Operation> |
updateHub(UpdateHubRequest request, StreamObserver<Operation> responseObserver)
public void updateHub(UpdateHubRequest request, StreamObserver<Operation> responseObserver)
Updates the description and/or labels of a Network Connectivity Center hub.
Parameters | |
---|---|
Name | Description |
request |
UpdateHubRequest |
responseObserver |
io.grpc.stub.StreamObserver<Operation> |
updateSpoke(UpdateSpokeRequest request, StreamObserver<Operation> responseObserver)
public void updateSpoke(UpdateSpokeRequest request, StreamObserver<Operation> responseObserver)
Updates the parameters of a Network Connectivity Center spoke.
Parameters | |
---|---|
Name | Description |
request |
UpdateSpokeRequest |
responseObserver |
io.grpc.stub.StreamObserver<Operation> |