Interface HubServiceGrpc.AsyncService (1.30.0)

public static interface HubServiceGrpc.AsyncService

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.

Methods

createHub(CreateHubRequest request, StreamObserver<Operation> responseObserver)

public default void createHub(CreateHubRequest request, StreamObserver<Operation> responseObserver)

Creates a new Hub in a given project and location.

Parameters
NameDescription
requestCreateHubRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

createSpoke(CreateSpokeRequest request, StreamObserver<Operation> responseObserver)

public default void createSpoke(CreateSpokeRequest request, StreamObserver<Operation> responseObserver)

Creates a new Spoke in a given project and location.

Parameters
NameDescription
requestCreateSpokeRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

deleteHub(DeleteHubRequest request, StreamObserver<Operation> responseObserver)

public default void deleteHub(DeleteHubRequest request, StreamObserver<Operation> responseObserver)

Deletes a single Hub.

Parameters
NameDescription
requestDeleteHubRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

deleteSpoke(DeleteSpokeRequest request, StreamObserver<Operation> responseObserver)

public default void deleteSpoke(DeleteSpokeRequest request, StreamObserver<Operation> responseObserver)

Deletes a single Spoke.

Parameters
NameDescription
requestDeleteSpokeRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

getHub(GetHubRequest request, StreamObserver<Hub> responseObserver)

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

Gets details of a single Hub.

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

getSpoke(GetSpokeRequest request, StreamObserver<Spoke> responseObserver)

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

Gets details of a single Spoke.

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

listHubs(ListHubsRequest request, StreamObserver<ListHubsResponse> responseObserver)

public default void listHubs(ListHubsRequest request, StreamObserver<ListHubsResponse> responseObserver)

Lists Hubs in a given project and location.

Parameters
NameDescription
requestListHubsRequest
responseObserverio.grpc.stub.StreamObserver<ListHubsResponse>

listSpokes(ListSpokesRequest request, StreamObserver<ListSpokesResponse> responseObserver)

public default void listSpokes(ListSpokesRequest request, StreamObserver<ListSpokesResponse> responseObserver)

Lists Spokes in a given project and location.

Parameters
NameDescription
requestListSpokesRequest
responseObserverio.grpc.stub.StreamObserver<ListSpokesResponse>

updateHub(UpdateHubRequest request, StreamObserver<Operation> responseObserver)

public default void updateHub(UpdateHubRequest request, StreamObserver<Operation> responseObserver)

Updates the parameters of a single Hub.

Parameters
NameDescription
requestUpdateHubRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

updateSpoke(UpdateSpokeRequest request, StreamObserver<Operation> responseObserver)

public default void updateSpoke(UpdateSpokeRequest request, StreamObserver<Operation> responseObserver)

Updates the parameters of a single Spoke.

Parameters
NameDescription
requestUpdateSpokeRequest
responseObserverio.grpc.stub.StreamObserver<Operation>