Class HubServiceGrpc.HubServiceBlockingStub (1.43.0)

public static final class HubServiceGrpc.HubServiceBlockingStub extends 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.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractBlockingStub > HubServiceGrpc.HubServiceBlockingStub

Methods

build(Channel channel, CallOptions callOptions)

protected HubServiceGrpc.HubServiceBlockingStub build(Channel channel, CallOptions callOptions)
Parameters
Name Description
channel io.grpc.Channel
callOptions io.grpc.CallOptions
Returns
Type Description
HubServiceGrpc.HubServiceBlockingStub
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)

createHub(CreateHubRequest request)

public Operation createHub(CreateHubRequest request)

Creates a new Hub in a given project and location.

Parameter
Name Description
request CreateHubRequest
Returns
Type Description
Operation

createSpoke(CreateSpokeRequest request)

public Operation createSpoke(CreateSpokeRequest request)

Creates a new Spoke in a given project and location.

Parameter
Name Description
request CreateSpokeRequest
Returns
Type Description
Operation

deleteHub(DeleteHubRequest request)

public Operation deleteHub(DeleteHubRequest request)

Deletes a single Hub.

Parameter
Name Description
request DeleteHubRequest
Returns
Type Description
Operation

deleteSpoke(DeleteSpokeRequest request)

public Operation deleteSpoke(DeleteSpokeRequest request)

Deletes a single Spoke.

Parameter
Name Description
request DeleteSpokeRequest
Returns
Type Description
Operation

getHub(GetHubRequest request)

public Hub getHub(GetHubRequest request)

Gets details of a single Hub.

Parameter
Name Description
request GetHubRequest
Returns
Type Description
Hub

getSpoke(GetSpokeRequest request)

public Spoke getSpoke(GetSpokeRequest request)

Gets details of a single Spoke.

Parameter
Name Description
request GetSpokeRequest
Returns
Type Description
Spoke

listHubs(ListHubsRequest request)

public ListHubsResponse listHubs(ListHubsRequest request)

Lists Hubs in a given project and location.

Parameter
Name Description
request ListHubsRequest
Returns
Type Description
ListHubsResponse

listSpokes(ListSpokesRequest request)

public ListSpokesResponse listSpokes(ListSpokesRequest request)

Lists Spokes in a given project and location.

Parameter
Name Description
request ListSpokesRequest
Returns
Type Description
ListSpokesResponse

updateHub(UpdateHubRequest request)

public Operation updateHub(UpdateHubRequest request)

Updates the parameters of a single Hub.

Parameter
Name Description
request UpdateHubRequest
Returns
Type Description
Operation

updateSpoke(UpdateSpokeRequest request)

public Operation updateSpoke(UpdateSpokeRequest request)

Updates the parameters of a single Spoke.

Parameter
Name Description
request UpdateSpokeRequest
Returns
Type Description
Operation