Class HubServiceGrpc.HubServiceBlockingStub (1.2.0)

public static final class HubServiceGrpc.HubServiceBlockingStub extends AbstractBlockingStub<HubServiceGrpc.HubServiceBlockingStub>

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
NameDescription
channelio.grpc.Channel
callOptionsio.grpc.CallOptions
Returns
TypeDescription
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 the specified project.

Parameter
NameDescription
requestCreateHubRequest
Returns
TypeDescription
Operation

createSpoke(CreateSpokeRequest request)

public Operation createSpoke(CreateSpokeRequest request)

Creates a spoke in the specified project and location.

Parameter
NameDescription
requestCreateSpokeRequest
Returns
TypeDescription
Operation

deleteHub(DeleteHubRequest request)

public Operation deleteHub(DeleteHubRequest request)

Deletes the specified hub.

Parameter
NameDescription
requestDeleteHubRequest
Returns
TypeDescription
Operation

deleteSpoke(DeleteSpokeRequest request)

public Operation deleteSpoke(DeleteSpokeRequest request)

Deletes the specified spoke.

Parameter
NameDescription
requestDeleteSpokeRequest
Returns
TypeDescription
Operation

getHub(GetHubRequest request)

public Hub getHub(GetHubRequest request)

Gets details about the specified hub.

Parameter
NameDescription
requestGetHubRequest
Returns
TypeDescription
Hub

getSpoke(GetSpokeRequest request)

public Spoke getSpoke(GetSpokeRequest request)

Gets details about the specified spoke.

Parameter
NameDescription
requestGetSpokeRequest
Returns
TypeDescription
Spoke

listHubs(ListHubsRequest request)

public ListHubsResponse listHubs(ListHubsRequest request)

Lists hubs in a given project.

Parameter
NameDescription
requestListHubsRequest
Returns
TypeDescription
ListHubsResponse

listSpokes(ListSpokesRequest request)

public ListSpokesResponse listSpokes(ListSpokesRequest request)

Lists the spokes in the specified project and location.

Parameter
NameDescription
requestListSpokesRequest
Returns
TypeDescription
ListSpokesResponse

updateHub(UpdateHubRequest request)

public Operation updateHub(UpdateHubRequest request)

Updates the description and/or labels of the specified hub.

Parameter
NameDescription
requestUpdateHubRequest
Returns
TypeDescription
Operation

updateSpoke(UpdateSpokeRequest request)

public Operation updateSpoke(UpdateSpokeRequest request)

Updates the parameters of the specified spoke.

Parameter
NameDescription
requestUpdateSpokeRequest
Returns
TypeDescription
Operation