Class HubServiceGrpc.HubServiceImplBase (1.7.0)

public abstract static class HubServiceGrpc.HubServiceImplBase implements BindableService

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 > HubServiceGrpc.HubServiceImplBase

Implements

io.grpc.BindableService

Constructors

HubServiceImplBase()

public HubServiceImplBase()

Methods

bindService()

public final ServerServiceDefinition bindService()
Returns
TypeDescription
io.grpc.ServerServiceDefinition

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
NameDescription
requestCreateHubRequest
responseObserverio.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
NameDescription
requestCreateSpokeRequest
responseObserverio.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
NameDescription
requestDeleteHubRequest
responseObserverio.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
NameDescription
requestDeleteSpokeRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

getHub(GetHubRequest request, StreamObserver<Hub> responseObserver)

public void getHub(GetHubRequest request, StreamObserver<Hub> responseObserver)

Gets details about a Network Connectivity Center hub.

Parameters
NameDescription
requestGetHubRequest
responseObserverio.grpc.stub.StreamObserver<Hub>

getSpoke(GetSpokeRequest request, StreamObserver<Spoke> responseObserver)

public void getSpoke(GetSpokeRequest request, StreamObserver<Spoke> responseObserver)

Gets details about a Network Connectivity Center spoke.

Parameters
NameDescription
requestGetSpokeRequest
responseObserverio.grpc.stub.StreamObserver<Spoke>

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
NameDescription
requestListHubsRequest
responseObserverio.grpc.stub.StreamObserver<ListHubsResponse>

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
NameDescription
requestListSpokesRequest
responseObserverio.grpc.stub.StreamObserver<ListSpokesResponse>

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
NameDescription
requestUpdateHubRequest
responseObserverio.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
NameDescription
requestUpdateSpokeRequest
responseObserverio.grpc.stub.StreamObserver<Operation>