Distributed Cloud Edge Network V1 API - Class Google::Cloud::EdgeNetwork::V1::EdgeNetwork::Rest::ServiceStub (v0.3.0)

Reference documentation and code samples for the Distributed Cloud Edge Network V1 API class Google::Cloud::EdgeNetwork::V1::EdgeNetwork::Rest::ServiceStub.

REST service stub for the EdgeNetwork service. Service stub contains baseline method implementations including transcoding, making the REST call, and deserialing the response.

Inherits

  • Object

Methods

#create_interconnect_attachment

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

Baseline implementation for the create_interconnect_attachment REST call

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

#create_network

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

Baseline implementation for the create_network REST call

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

#create_router

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

Baseline implementation for the create_router REST call

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

#create_subnet

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

Baseline implementation for the create_subnet REST call

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

#delete_interconnect_attachment

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

Baseline implementation for the delete_interconnect_attachment REST call

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

#delete_network

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

Baseline implementation for the delete_network REST call

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

#delete_router

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

Baseline implementation for the delete_router REST call

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

#delete_subnet

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

Baseline implementation for the delete_subnet REST call

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

#diagnose_interconnect

def diagnose_interconnect(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::EdgeNetwork::V1::DiagnoseInterconnectResponse

Baseline implementation for the diagnose_interconnect REST call

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

#diagnose_network

def diagnose_network(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::EdgeNetwork::V1::DiagnoseNetworkResponse

Baseline implementation for the diagnose_network REST call

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

#diagnose_router

def diagnose_router(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::EdgeNetwork::V1::DiagnoseRouterResponse

Baseline implementation for the diagnose_router 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_interconnect

def get_interconnect(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::EdgeNetwork::V1::Interconnect

Baseline implementation for the get_interconnect REST call

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

#get_interconnect_attachment

def get_interconnect_attachment(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::EdgeNetwork::V1::InterconnectAttachment

Baseline implementation for the get_interconnect_attachment REST call

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

#get_network

def get_network(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::EdgeNetwork::V1::Network

Baseline implementation for the get_network REST call

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

#get_router

def get_router(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::EdgeNetwork::V1::Router

Baseline implementation for the get_router REST call

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

#get_subnet

def get_subnet(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::EdgeNetwork::V1::Subnet

Baseline implementation for the get_subnet REST call

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

#get_zone

def get_zone(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::EdgeNetwork::V1::Zone

Baseline implementation for the get_zone REST call

Parameters
  • request_pb (::Google::Cloud::EdgeNetwork::V1::GetZoneRequest) — A request object representing the call parameters. Required.
  • options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#initialize

def initialize(endpoint:, endpoint_template:, universe_domain:, credentials:) -> ServiceStub
Returns

#initialize_zone

def initialize_zone(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::EdgeNetwork::V1::InitializeZoneResponse

Baseline implementation for the initialize_zone REST call

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

#list_interconnect_attachments

def list_interconnect_attachments(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::EdgeNetwork::V1::ListInterconnectAttachmentsResponse

Baseline implementation for the list_interconnect_attachments REST call

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

#list_interconnects

def list_interconnects(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::EdgeNetwork::V1::ListInterconnectsResponse

Baseline implementation for the list_interconnects REST call

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

#list_networks

def list_networks(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::EdgeNetwork::V1::ListNetworksResponse

Baseline implementation for the list_networks REST call

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

#list_routers

def list_routers(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::EdgeNetwork::V1::ListRoutersResponse

Baseline implementation for the list_routers REST call

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

#list_subnets

def list_subnets(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::EdgeNetwork::V1::ListSubnetsResponse

Baseline implementation for the list_subnets REST call

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

#list_zones

def list_zones(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::EdgeNetwork::V1::ListZonesResponse

Baseline implementation for the list_zones 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_router

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

Baseline implementation for the update_router REST call

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

#update_subnet

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

Baseline implementation for the update_subnet REST call

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