Class HubServiceGrpc.HubServiceBlockingStub
- java.lang.Object
-
- io.grpc.stub.AbstractStub<S>
-
- io.grpc.stub.AbstractBlockingStub<HubServiceGrpc.HubServiceBlockingStub>
-
- com.google.cloud.networkconnectivity.v1alpha1.HubServiceGrpc.HubServiceBlockingStub
-
- Enclosing class:
- HubServiceGrpc
public static final class HubServiceGrpc.HubServiceBlockingStub extends io.grpc.stub.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.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected HubServiceGrpc.HubServiceBlockingStub
build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
com.google.longrunning.Operation
createHub(CreateHubRequest request)
Creates a new Hub in a given project and location.com.google.longrunning.Operation
createSpoke(CreateSpokeRequest request)
Creates a new Spoke in a given project and location.com.google.longrunning.Operation
deleteHub(DeleteHubRequest request)
Deletes a single Hub.com.google.longrunning.Operation
deleteSpoke(DeleteSpokeRequest request)
Deletes a single Spoke.Hub
getHub(GetHubRequest request)
Gets details of a single Hub.Spoke
getSpoke(GetSpokeRequest request)
Gets details of a single Spoke.ListHubsResponse
listHubs(ListHubsRequest request)
Lists Hubs in a given project and location.ListSpokesResponse
listSpokes(ListSpokesRequest request)
Lists Spokes in a given project and location.com.google.longrunning.Operation
updateHub(UpdateHubRequest request)
Updates the parameters of a single Hub.com.google.longrunning.Operation
updateSpoke(UpdateSpokeRequest request)
Updates the parameters of a single Spoke.
-
-
-
Method Detail
-
build
protected HubServiceGrpc.HubServiceBlockingStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
- Specified by:
build
in classio.grpc.stub.AbstractStub<HubServiceGrpc.HubServiceBlockingStub>
-
listHubs
public ListHubsResponse listHubs(ListHubsRequest request)
Lists Hubs in a given project and location.
-
getHub
public Hub getHub(GetHubRequest request)
Gets details of a single Hub.
-
createHub
public com.google.longrunning.Operation createHub(CreateHubRequest request)
Creates a new Hub in a given project and location.
-
updateHub
public com.google.longrunning.Operation updateHub(UpdateHubRequest request)
Updates the parameters of a single Hub.
-
deleteHub
public com.google.longrunning.Operation deleteHub(DeleteHubRequest request)
Deletes a single Hub.
-
listSpokes
public ListSpokesResponse listSpokes(ListSpokesRequest request)
Lists Spokes in a given project and location.
-
getSpoke
public Spoke getSpoke(GetSpokeRequest request)
Gets details of a single Spoke.
-
createSpoke
public com.google.longrunning.Operation createSpoke(CreateSpokeRequest request)
Creates a new Spoke in a given project and location.
-
updateSpoke
public com.google.longrunning.Operation updateSpoke(UpdateSpokeRequest request)
Updates the parameters of a single Spoke.
-
deleteSpoke
public com.google.longrunning.Operation deleteSpoke(DeleteSpokeRequest request)
Deletes a single Spoke.
-
-