Reference documentation and code samples for the Network Connectivity V1BETA API class Google::Cloud::NetworkConnectivity::V1beta::HubService::Rest::ServiceStub.
REST service stub for the HubService service. Service stub contains baseline method implementations including transcoding, making the REST call, and deserialing the response.
Inherits
- Object
Methods
#accept_hub_spoke
def accept_hub_spoke(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::OperationBaseline implementation for the accept_hub_spoke REST call
- request_pb (::Google::Cloud::NetworkConnectivity::V1beta::AcceptHubSpokeRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Longrunning::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Longrunning::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#accept_spoke_update
def accept_spoke_update(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::OperationBaseline implementation for the accept_spoke_update REST call
- request_pb (::Google::Cloud::NetworkConnectivity::V1beta::AcceptSpokeUpdateRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Longrunning::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Longrunning::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#create_gateway_advertised_route
def create_gateway_advertised_route(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::OperationBaseline implementation for the create_gateway_advertised_route REST call
- request_pb (::Google::Cloud::NetworkConnectivity::V1beta::CreateGatewayAdvertisedRouteRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Longrunning::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Longrunning::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#create_hub
def create_hub(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::OperationBaseline implementation for the create_hub REST call
- request_pb (::Google::Cloud::NetworkConnectivity::V1beta::CreateHubRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Longrunning::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Longrunning::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#create_spoke
def create_spoke(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::OperationBaseline implementation for the create_spoke REST call
- request_pb (::Google::Cloud::NetworkConnectivity::V1beta::CreateSpokeRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Longrunning::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Longrunning::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#delete_gateway_advertised_route
def delete_gateway_advertised_route(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::OperationBaseline implementation for the delete_gateway_advertised_route REST call
- request_pb (::Google::Cloud::NetworkConnectivity::V1beta::DeleteGatewayAdvertisedRouteRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Longrunning::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Longrunning::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#delete_hub
def delete_hub(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::OperationBaseline implementation for the delete_hub REST call
- request_pb (::Google::Cloud::NetworkConnectivity::V1beta::DeleteHubRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Longrunning::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Longrunning::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#delete_spoke
def delete_spoke(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::OperationBaseline implementation for the delete_spoke REST call
- request_pb (::Google::Cloud::NetworkConnectivity::V1beta::DeleteSpokeRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Longrunning::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Longrunning::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#endpoint
def endpoint() -> StringThe effective endpoint
- (String)
#get_gateway_advertised_route
def get_gateway_advertised_route(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::NetworkConnectivity::V1beta::GatewayAdvertisedRouteBaseline implementation for the get_gateway_advertised_route REST call
- request_pb (::Google::Cloud::NetworkConnectivity::V1beta::GetGatewayAdvertisedRouteRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::NetworkConnectivity::V1beta::GatewayAdvertisedRoute)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::NetworkConnectivity::V1beta::GatewayAdvertisedRoute) — A result object deserialized from the server's reply
- (::ArgumentError)
#get_group
def get_group(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::NetworkConnectivity::V1beta::GroupBaseline implementation for the get_group REST call
- request_pb (::Google::Cloud::NetworkConnectivity::V1beta::GetGroupRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::NetworkConnectivity::V1beta::Group)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::NetworkConnectivity::V1beta::Group) — A result object deserialized from the server's reply
- (::ArgumentError)
#get_hub
def get_hub(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::NetworkConnectivity::V1beta::HubBaseline implementation for the get_hub REST call
- request_pb (::Google::Cloud::NetworkConnectivity::V1beta::GetHubRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::NetworkConnectivity::V1beta::Hub)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::NetworkConnectivity::V1beta::Hub) — A result object deserialized from the server's reply
- (::ArgumentError)
#get_route
def get_route(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::NetworkConnectivity::V1beta::RouteBaseline implementation for the get_route REST call
- request_pb (::Google::Cloud::NetworkConnectivity::V1beta::GetRouteRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::NetworkConnectivity::V1beta::Route)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::NetworkConnectivity::V1beta::Route) — A result object deserialized from the server's reply
- (::ArgumentError)
#get_route_table
def get_route_table(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::NetworkConnectivity::V1beta::RouteTableBaseline implementation for the get_route_table REST call
- request_pb (::Google::Cloud::NetworkConnectivity::V1beta::GetRouteTableRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::NetworkConnectivity::V1beta::RouteTable)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::NetworkConnectivity::V1beta::RouteTable) — A result object deserialized from the server's reply
- (::ArgumentError)
#get_spoke
def get_spoke(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::NetworkConnectivity::V1beta::SpokeBaseline implementation for the get_spoke REST call
- request_pb (::Google::Cloud::NetworkConnectivity::V1beta::GetSpokeRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::NetworkConnectivity::V1beta::Spoke)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::NetworkConnectivity::V1beta::Spoke) — A result object deserialized from the server's reply
- (::ArgumentError)
#list_gateway_advertised_routes
def list_gateway_advertised_routes(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::NetworkConnectivity::V1beta::ListGatewayAdvertisedRoutesResponseBaseline implementation for the list_gateway_advertised_routes REST call
- request_pb (::Google::Cloud::NetworkConnectivity::V1beta::ListGatewayAdvertisedRoutesRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::NetworkConnectivity::V1beta::ListGatewayAdvertisedRoutesResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::NetworkConnectivity::V1beta::ListGatewayAdvertisedRoutesResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#list_groups
def list_groups(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::NetworkConnectivity::V1beta::ListGroupsResponseBaseline implementation for the list_groups REST call
- request_pb (::Google::Cloud::NetworkConnectivity::V1beta::ListGroupsRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::NetworkConnectivity::V1beta::ListGroupsResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::NetworkConnectivity::V1beta::ListGroupsResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#list_hub_spokes
def list_hub_spokes(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::NetworkConnectivity::V1beta::ListHubSpokesResponseBaseline implementation for the list_hub_spokes REST call
- request_pb (::Google::Cloud::NetworkConnectivity::V1beta::ListHubSpokesRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::NetworkConnectivity::V1beta::ListHubSpokesResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::NetworkConnectivity::V1beta::ListHubSpokesResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#list_hubs
def list_hubs(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::NetworkConnectivity::V1beta::ListHubsResponseBaseline implementation for the list_hubs REST call
- request_pb (::Google::Cloud::NetworkConnectivity::V1beta::ListHubsRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::NetworkConnectivity::V1beta::ListHubsResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::NetworkConnectivity::V1beta::ListHubsResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#list_route_tables
def list_route_tables(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::NetworkConnectivity::V1beta::ListRouteTablesResponseBaseline implementation for the list_route_tables REST call
- request_pb (::Google::Cloud::NetworkConnectivity::V1beta::ListRouteTablesRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::NetworkConnectivity::V1beta::ListRouteTablesResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::NetworkConnectivity::V1beta::ListRouteTablesResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#list_routes
def list_routes(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::NetworkConnectivity::V1beta::ListRoutesResponseBaseline implementation for the list_routes REST call
- request_pb (::Google::Cloud::NetworkConnectivity::V1beta::ListRoutesRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::NetworkConnectivity::V1beta::ListRoutesResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::NetworkConnectivity::V1beta::ListRoutesResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#list_spokes
def list_spokes(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::NetworkConnectivity::V1beta::ListSpokesResponseBaseline implementation for the list_spokes REST call
- request_pb (::Google::Cloud::NetworkConnectivity::V1beta::ListSpokesRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::NetworkConnectivity::V1beta::ListSpokesResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::NetworkConnectivity::V1beta::ListSpokesResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#logger
def logger(stub: false) -> LoggerThe logger used for request/response debug logging.
- (Logger)
#query_hub_status
def query_hub_status(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::NetworkConnectivity::V1beta::QueryHubStatusResponseBaseline implementation for the query_hub_status REST call
- request_pb (::Google::Cloud::NetworkConnectivity::V1beta::QueryHubStatusRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::NetworkConnectivity::V1beta::QueryHubStatusResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::NetworkConnectivity::V1beta::QueryHubStatusResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#reject_hub_spoke
def reject_hub_spoke(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::OperationBaseline implementation for the reject_hub_spoke REST call
- request_pb (::Google::Cloud::NetworkConnectivity::V1beta::RejectHubSpokeRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Longrunning::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Longrunning::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#reject_spoke_update
def reject_spoke_update(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::OperationBaseline implementation for the reject_spoke_update REST call
- request_pb (::Google::Cloud::NetworkConnectivity::V1beta::RejectSpokeUpdateRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Longrunning::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Longrunning::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#universe_domain
def universe_domain() -> StringThe effective universe domain
- (String)
#update_gateway_advertised_route
def update_gateway_advertised_route(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::OperationBaseline implementation for the update_gateway_advertised_route REST call
- request_pb (::Google::Cloud::NetworkConnectivity::V1beta::UpdateGatewayAdvertisedRouteRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Longrunning::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Longrunning::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#update_group
def update_group(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::OperationBaseline implementation for the update_group REST call
- request_pb (::Google::Cloud::NetworkConnectivity::V1beta::UpdateGroupRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Longrunning::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Longrunning::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#update_hub
def update_hub(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::OperationBaseline implementation for the update_hub REST call
- request_pb (::Google::Cloud::NetworkConnectivity::V1beta::UpdateHubRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Longrunning::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Longrunning::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#update_spoke
def update_spoke(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::OperationBaseline implementation for the update_spoke REST call
- request_pb (::Google::Cloud::NetworkConnectivity::V1beta::UpdateSpokeRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Longrunning::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Longrunning::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)