Class HubServiceGrpc.HubServiceFutureStub (1.8.0)

public static final class HubServiceGrpc.HubServiceFutureStub extends AbstractFutureStub<HubServiceGrpc.HubServiceFutureStub>

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.AbstractFutureStub > HubServiceGrpc.HubServiceFutureStub

Methods

build(Channel channel, CallOptions callOptions)

protected HubServiceGrpc.HubServiceFutureStub build(Channel channel, CallOptions callOptions)
Parameters
NameDescription
channelio.grpc.Channel
callOptionsio.grpc.CallOptions
Returns
TypeDescription
HubServiceGrpc.HubServiceFutureStub
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)

createHub(CreateHubRequest request)

public ListenableFuture<Operation> createHub(CreateHubRequest request)

Creates a new Network Connectivity Center hub in the specified project.

Parameter
NameDescription
requestCreateHubRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>

createSpoke(CreateSpokeRequest request)

public ListenableFuture<Operation> createSpoke(CreateSpokeRequest request)

Creates a Network Connectivity Center spoke.

Parameter
NameDescription
requestCreateSpokeRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>

deleteHub(DeleteHubRequest request)

public ListenableFuture<Operation> deleteHub(DeleteHubRequest request)

Deletes a Network Connectivity Center hub.

Parameter
NameDescription
requestDeleteHubRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>

deleteSpoke(DeleteSpokeRequest request)

public ListenableFuture<Operation> deleteSpoke(DeleteSpokeRequest request)

Deletes a Network Connectivity Center spoke.

Parameter
NameDescription
requestDeleteSpokeRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>

getHub(GetHubRequest request)

public ListenableFuture<Hub> getHub(GetHubRequest request)

Gets details about a Network Connectivity Center hub.

Parameter
NameDescription
requestGetHubRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Hub>

getSpoke(GetSpokeRequest request)

public ListenableFuture<Spoke> getSpoke(GetSpokeRequest request)

Gets details about a Network Connectivity Center spoke.

Parameter
NameDescription
requestGetSpokeRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Spoke>

listHubs(ListHubsRequest request)

public ListenableFuture<ListHubsResponse> listHubs(ListHubsRequest request)

Lists the Network Connectivity Center hubs associated with a given project.

Parameter
NameDescription
requestListHubsRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<ListHubsResponse>

listSpokes(ListSpokesRequest request)

public ListenableFuture<ListSpokesResponse> listSpokes(ListSpokesRequest request)

Lists the Network Connectivity Center spokes in a specified project and location.

Parameter
NameDescription
requestListSpokesRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<ListSpokesResponse>

updateHub(UpdateHubRequest request)

public ListenableFuture<Operation> updateHub(UpdateHubRequest request)

Updates the description and/or labels of a Network Connectivity Center hub.

Parameter
NameDescription
requestUpdateHubRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>

updateSpoke(UpdateSpokeRequest request)

public ListenableFuture<Operation> updateSpoke(UpdateSpokeRequest request)

Updates the parameters of a Network Connectivity Center spoke.

Parameter
NameDescription
requestUpdateSpokeRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>