Network Connectivity V1BETA API - Class Google::Cloud::NetworkConnectivity::V1beta::HubService::Rest::ServiceStub (v0.3.2)

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::Operation

Baseline implementation for the accept_hub_spoke REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#accept_spoke_update

def accept_spoke_update(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation

Baseline implementation for the accept_spoke_update REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#create_gateway_advertised_route

def create_gateway_advertised_route(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation

Baseline implementation for the create_gateway_advertised_route REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#create_hub

def create_hub(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation

Baseline implementation for the create_hub REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#create_spoke

def create_spoke(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation

Baseline implementation for the create_spoke REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#delete_gateway_advertised_route

def delete_gateway_advertised_route(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation

Baseline implementation for the delete_gateway_advertised_route REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#delete_hub

def delete_hub(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation

Baseline implementation for the delete_hub REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#delete_spoke

def delete_spoke(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation

Baseline implementation for the delete_spoke REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#endpoint

def endpoint() -> String

The effective endpoint

Returns
  • (String)

#get_gateway_advertised_route

def get_gateway_advertised_route(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::NetworkConnectivity::V1beta::GatewayAdvertisedRoute

Baseline implementation for the get_gateway_advertised_route REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#get_group

def get_group(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::NetworkConnectivity::V1beta::Group

Baseline implementation for the get_group REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#get_hub

def get_hub(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::NetworkConnectivity::V1beta::Hub

Baseline implementation for the get_hub REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#get_route

def get_route(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::NetworkConnectivity::V1beta::Route

Baseline implementation for the get_route REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#get_route_table

def get_route_table(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::NetworkConnectivity::V1beta::RouteTable

Baseline implementation for the get_route_table REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#get_spoke

def get_spoke(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::NetworkConnectivity::V1beta::Spoke

Baseline implementation for the get_spoke REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#list_gateway_advertised_routes

def list_gateway_advertised_routes(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::NetworkConnectivity::V1beta::ListGatewayAdvertisedRoutesResponse

Baseline implementation for the list_gateway_advertised_routes REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#list_groups

def list_groups(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::NetworkConnectivity::V1beta::ListGroupsResponse

Baseline implementation for the list_groups REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#list_hub_spokes

def list_hub_spokes(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::NetworkConnectivity::V1beta::ListHubSpokesResponse

Baseline implementation for the list_hub_spokes REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#list_hubs

def list_hubs(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::NetworkConnectivity::V1beta::ListHubsResponse

Baseline implementation for the list_hubs REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#list_route_tables

def list_route_tables(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::NetworkConnectivity::V1beta::ListRouteTablesResponse

Baseline implementation for the list_route_tables REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#list_routes

def list_routes(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::NetworkConnectivity::V1beta::ListRoutesResponse

Baseline implementation for the list_routes REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#list_spokes

def list_spokes(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::NetworkConnectivity::V1beta::ListSpokesResponse

Baseline implementation for the list_spokes REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#logger

def logger(stub: false) -> Logger

The logger used for request/response debug logging.

Returns
  • (Logger)

#query_hub_status

def query_hub_status(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::NetworkConnectivity::V1beta::QueryHubStatusResponse

Baseline implementation for the query_hub_status REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#reject_hub_spoke

def reject_hub_spoke(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation

Baseline implementation for the reject_hub_spoke REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#reject_spoke_update

def reject_spoke_update(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation

Baseline implementation for the reject_spoke_update REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#universe_domain

def universe_domain() -> String

The effective universe domain

Returns
  • (String)

#update_gateway_advertised_route

def update_gateway_advertised_route(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation

Baseline implementation for the update_gateway_advertised_route REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#update_group

def update_group(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation

Baseline implementation for the update_group REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#update_hub

def update_hub(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation

Baseline implementation for the update_hub REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#update_spoke

def update_spoke(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation

Baseline implementation for the update_spoke REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)