Class HubServiceGrpc.HubServiceBlockingV2Stub

java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractBlockingStub<HubServiceGrpc.HubServiceBlockingV2Stub>
com.google.cloud.networkconnectivity.v1beta.HubServiceGrpc.HubServiceBlockingV2Stub
Enclosing class:
HubServiceGrpc

public static final class HubServiceGrpc.HubServiceBlockingV2Stub extends io.grpc.stub.AbstractBlockingStub<HubServiceGrpc.HubServiceBlockingV2Stub>
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 Details

    • build

      protected HubServiceGrpc.HubServiceBlockingV2Stub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
      Specified by:
      build in class io.grpc.stub.AbstractStub<HubServiceGrpc.HubServiceBlockingV2Stub>
    • listHubs

      public ListHubsResponse listHubs(ListHubsRequest request) throws io.grpc.StatusException
       Lists the Network Connectivity Center hubs associated with a given project.
       
      Throws:
      io.grpc.StatusException
    • getHub

      public Hub getHub(GetHubRequest request) throws io.grpc.StatusException
       Gets details about a Network Connectivity Center hub.
       
      Throws:
      io.grpc.StatusException
    • createHub

      public Operation createHub(CreateHubRequest request) throws io.grpc.StatusException
       Creates a new Network Connectivity Center hub in the specified project.
       
      Throws:
      io.grpc.StatusException
    • updateHub

      public Operation updateHub(UpdateHubRequest request) throws io.grpc.StatusException
       Updates the description and/or labels of a Network Connectivity Center
       hub.
       
      Throws:
      io.grpc.StatusException
    • deleteHub

      public Operation deleteHub(DeleteHubRequest request) throws io.grpc.StatusException
       Deletes a Network Connectivity Center hub.
       
      Throws:
      io.grpc.StatusException
    • listHubSpokes

      public ListHubSpokesResponse listHubSpokes(ListHubSpokesRequest request) throws io.grpc.StatusException
       Lists the Network Connectivity Center spokes associated with a
       specified hub and location. The list includes both spokes that are attached
       to the hub and spokes that have been proposed but not yet accepted.
       
      Throws:
      io.grpc.StatusException
    • queryHubStatus

      public QueryHubStatusResponse queryHubStatus(QueryHubStatusRequest request) throws io.grpc.StatusException
       Query the Private Service Connect propagation status of a Network
       Connectivity Center hub.
       
      Throws:
      io.grpc.StatusException
    • listSpokes

      public ListSpokesResponse listSpokes(ListSpokesRequest request) throws io.grpc.StatusException
       Lists the Network Connectivity Center spokes in a specified project and
       location.
       
      Throws:
      io.grpc.StatusException
    • getSpoke

      public Spoke getSpoke(GetSpokeRequest request) throws io.grpc.StatusException
       Gets details about a Network Connectivity Center spoke.
       
      Throws:
      io.grpc.StatusException
    • createSpoke

      public Operation createSpoke(CreateSpokeRequest request) throws io.grpc.StatusException
       Creates a Network Connectivity Center spoke.
       
      Throws:
      io.grpc.StatusException
    • updateSpoke

      public Operation updateSpoke(UpdateSpokeRequest request) throws io.grpc.StatusException
       Updates the parameters of a Network Connectivity Center spoke.
       
      Throws:
      io.grpc.StatusException
    • rejectHubSpoke

      public Operation rejectHubSpoke(RejectHubSpokeRequest request) throws io.grpc.StatusException
       Rejects a Network Connectivity Center spoke from being attached to a hub.
       If the spoke was previously in the `ACTIVE` state, it
       transitions to the `INACTIVE` state and is no longer able to
       connect to other spokes that are attached to the hub.
       
      Throws:
      io.grpc.StatusException
    • acceptHubSpoke

      public Operation acceptHubSpoke(AcceptHubSpokeRequest request) throws io.grpc.StatusException
       Accepts a proposal to attach a Network Connectivity Center spoke
       to a hub.
       
      Throws:
      io.grpc.StatusException
    • acceptSpokeUpdate

      public Operation acceptSpokeUpdate(AcceptSpokeUpdateRequest request) throws io.grpc.StatusException
       Accepts a proposal to update a Network Connectivity Center spoke in a hub.
       
      Throws:
      io.grpc.StatusException
    • rejectSpokeUpdate

      public Operation rejectSpokeUpdate(RejectSpokeUpdateRequest request) throws io.grpc.StatusException
       Rejects a proposal to update a Network Connectivity Center spoke in a hub.
       
      Throws:
      io.grpc.StatusException
    • deleteSpoke

      public Operation deleteSpoke(DeleteSpokeRequest request) throws io.grpc.StatusException
       Deletes a Network Connectivity Center spoke.
       
      Throws:
      io.grpc.StatusException
    • getRouteTable

      public RouteTable getRouteTable(GetRouteTableRequest request) throws io.grpc.StatusException
       Gets details about a Network Connectivity Center route table.
       
      Throws:
      io.grpc.StatusException
    • getRoute

      public Route getRoute(GetRouteRequest request) throws io.grpc.StatusException
       Gets details about the specified route.
       
      Throws:
      io.grpc.StatusException
    • listRoutes

      public ListRoutesResponse listRoutes(ListRoutesRequest request) throws io.grpc.StatusException
       Lists routes in a given route table.
       
      Throws:
      io.grpc.StatusException
    • listRouteTables

      public ListRouteTablesResponse listRouteTables(ListRouteTablesRequest request) throws io.grpc.StatusException
       Lists route tables in a given hub.
       
      Throws:
      io.grpc.StatusException
    • getGroup

      public Group getGroup(GetGroupRequest request) throws io.grpc.StatusException
       Gets details about a Network Connectivity Center group.
       
      Throws:
      io.grpc.StatusException
    • listGroups

      public ListGroupsResponse listGroups(ListGroupsRequest request) throws io.grpc.StatusException
       Lists groups in a given hub.
       
      Throws:
      io.grpc.StatusException
    • updateGroup

      public Operation updateGroup(UpdateGroupRequest request) throws io.grpc.StatusException
       Updates the parameters of a Network Connectivity Center group.
       
      Throws:
      io.grpc.StatusException
    • createGatewayAdvertisedRoute

      public Operation createGatewayAdvertisedRoute(CreateGatewayAdvertisedRouteRequest request) throws io.grpc.StatusException
       Create a GatewayAdvertisedRoute
       
      Throws:
      io.grpc.StatusException
    • getGatewayAdvertisedRoute

      public GatewayAdvertisedRoute getGatewayAdvertisedRoute(GetGatewayAdvertisedRouteRequest request) throws io.grpc.StatusException
       Get a GatewayAdvertisedRoute
       
      Throws:
      io.grpc.StatusException
    • listGatewayAdvertisedRoutes

      public ListGatewayAdvertisedRoutesResponse listGatewayAdvertisedRoutes(ListGatewayAdvertisedRoutesRequest request) throws io.grpc.StatusException
       List GatewayAdvertisedRoutes
       
      Throws:
      io.grpc.StatusException
    • updateGatewayAdvertisedRoute

      public Operation updateGatewayAdvertisedRoute(UpdateGatewayAdvertisedRouteRequest request) throws io.grpc.StatusException
       Update a GatewayAdvertisedRoute
       
      Throws:
      io.grpc.StatusException
    • deleteGatewayAdvertisedRoute

      public Operation deleteGatewayAdvertisedRoute(DeleteGatewayAdvertisedRouteRequest request) throws io.grpc.StatusException
       Delete a GatewayAdvertisedRoute
       
      Throws:
      io.grpc.StatusException