Class HubServiceGrpc.HubServiceBlockingStub
- java.lang.Object
-
- io.grpc.stub.AbstractStub<S>
-
- io.grpc.stub.AbstractBlockingStub<HubServiceGrpc.HubServiceBlockingStub>
-
- com.google.cloud.networkconnectivity.v1.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 Network Connectivity Center hub in the specified project.com.google.longrunning.Operation
createSpoke(CreateSpokeRequest request)
Creates a Network Connectivity Center spoke.com.google.longrunning.Operation
deleteHub(DeleteHubRequest request)
Deletes a Network Connectivity Center hub.com.google.longrunning.Operation
deleteSpoke(DeleteSpokeRequest request)
Deletes a Network Connectivity Center spoke.Hub
getHub(GetHubRequest request)
Gets details about a Network Connectivity Center hub.Spoke
getSpoke(GetSpokeRequest request)
Gets details about a Network Connectivity Center spoke.ListHubsResponse
listHubs(ListHubsRequest request)
Lists the Network Connectivity Center hubs associated with a given project.ListSpokesResponse
listSpokes(ListSpokesRequest request)
Lists the Network Connectivity Center spokes in a specified project and location.com.google.longrunning.Operation
updateHub(UpdateHubRequest request)
Updates the description and/or labels of a Network Connectivity Center hub.com.google.longrunning.Operation
updateSpoke(UpdateSpokeRequest request)
Updates the parameters of a Network Connectivity Center 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 the Network Connectivity Center hubs associated with a given project.
-
getHub
public Hub getHub(GetHubRequest request)
Gets details about a Network Connectivity Center hub.
-
createHub
public com.google.longrunning.Operation createHub(CreateHubRequest request)
Creates a new Network Connectivity Center hub in the specified project.
-
updateHub
public com.google.longrunning.Operation updateHub(UpdateHubRequest request)
Updates the description and/or labels of a Network Connectivity Center hub.
-
deleteHub
public com.google.longrunning.Operation deleteHub(DeleteHubRequest request)
Deletes a Network Connectivity Center hub.
-
listSpokes
public ListSpokesResponse listSpokes(ListSpokesRequest request)
Lists the Network Connectivity Center spokes in a specified project and location.
-
getSpoke
public Spoke getSpoke(GetSpokeRequest request)
Gets details about a Network Connectivity Center spoke.
-
createSpoke
public com.google.longrunning.Operation createSpoke(CreateSpokeRequest request)
Creates a Network Connectivity Center spoke.
-
updateSpoke
public com.google.longrunning.Operation updateSpoke(UpdateSpokeRequest request)
Updates the parameters of a Network Connectivity Center spoke.
-
deleteSpoke
public com.google.longrunning.Operation deleteSpoke(DeleteSpokeRequest request)
Deletes a Network Connectivity Center spoke.
-
-