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
- request_pb (::Google::Cloud::EdgeNetwork::V1::CreateInterconnectAttachmentRequest) — 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_network
def create_network(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the create_network REST call
- request_pb (::Google::Cloud::EdgeNetwork::V1::CreateNetworkRequest) — 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_router
def create_router(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the create_router REST call
- request_pb (::Google::Cloud::EdgeNetwork::V1::CreateRouterRequest) — 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_subnet
def create_subnet(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the create_subnet REST call
- request_pb (::Google::Cloud::EdgeNetwork::V1::CreateSubnetRequest) — 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_interconnect_attachment
def delete_interconnect_attachment(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the delete_interconnect_attachment REST call
- request_pb (::Google::Cloud::EdgeNetwork::V1::DeleteInterconnectAttachmentRequest) — 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_network
def delete_network(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the delete_network REST call
- request_pb (::Google::Cloud::EdgeNetwork::V1::DeleteNetworkRequest) — 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_router
def delete_router(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the delete_router REST call
- request_pb (::Google::Cloud::EdgeNetwork::V1::DeleteRouterRequest) — 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_subnet
def delete_subnet(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the delete_subnet REST call
- request_pb (::Google::Cloud::EdgeNetwork::V1::DeleteSubnetRequest) — 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)
#diagnose_interconnect
def diagnose_interconnect(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::EdgeNetwork::V1::DiagnoseInterconnectResponse
Baseline implementation for the diagnose_interconnect REST call
- request_pb (::Google::Cloud::EdgeNetwork::V1::DiagnoseInterconnectRequest) — 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::EdgeNetwork::V1::DiagnoseInterconnectResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::EdgeNetwork::V1::DiagnoseInterconnectResponse) — A result object deserialized from the server's reply
- (::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
- request_pb (::Google::Cloud::EdgeNetwork::V1::DiagnoseNetworkRequest) — 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::EdgeNetwork::V1::DiagnoseNetworkResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::EdgeNetwork::V1::DiagnoseNetworkResponse) — A result object deserialized from the server's reply
- (::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
- request_pb (::Google::Cloud::EdgeNetwork::V1::DiagnoseRouterRequest) — 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::EdgeNetwork::V1::DiagnoseRouterResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::EdgeNetwork::V1::DiagnoseRouterResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#endpoint
def endpoint() -> String
The effective endpoint
- (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
- request_pb (::Google::Cloud::EdgeNetwork::V1::GetInterconnectRequest) — 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::EdgeNetwork::V1::Interconnect)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::EdgeNetwork::V1::Interconnect) — A result object deserialized from the server's reply
- (::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
- request_pb (::Google::Cloud::EdgeNetwork::V1::GetInterconnectAttachmentRequest) — 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::EdgeNetwork::V1::InterconnectAttachment)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::EdgeNetwork::V1::InterconnectAttachment) — A result object deserialized from the server's reply
- (::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
- request_pb (::Google::Cloud::EdgeNetwork::V1::GetNetworkRequest) — 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::EdgeNetwork::V1::Network)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::EdgeNetwork::V1::Network) — A result object deserialized from the server's reply
- (::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
- request_pb (::Google::Cloud::EdgeNetwork::V1::GetRouterRequest) — 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::EdgeNetwork::V1::Router)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::EdgeNetwork::V1::Router) — A result object deserialized from the server's reply
- (::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
- request_pb (::Google::Cloud::EdgeNetwork::V1::GetSubnetRequest) — 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::EdgeNetwork::V1::Subnet)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::EdgeNetwork::V1::Subnet) — A result object deserialized from the server's reply
- (::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
- 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.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::EdgeNetwork::V1::Zone)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::EdgeNetwork::V1::Zone) — A result object deserialized from the server's reply
- (::ArgumentError)
#initialize_zone
def initialize_zone(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::EdgeNetwork::V1::InitializeZoneResponse
Baseline implementation for the initialize_zone REST call
- request_pb (::Google::Cloud::EdgeNetwork::V1::InitializeZoneRequest) — 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::EdgeNetwork::V1::InitializeZoneResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::EdgeNetwork::V1::InitializeZoneResponse) — A result object deserialized from the server's reply
- (::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
- request_pb (::Google::Cloud::EdgeNetwork::V1::ListInterconnectAttachmentsRequest) — 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::EdgeNetwork::V1::ListInterconnectAttachmentsResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::EdgeNetwork::V1::ListInterconnectAttachmentsResponse) — A result object deserialized from the server's reply
- (::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
- request_pb (::Google::Cloud::EdgeNetwork::V1::ListInterconnectsRequest) — 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::EdgeNetwork::V1::ListInterconnectsResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::EdgeNetwork::V1::ListInterconnectsResponse) — A result object deserialized from the server's reply
- (::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
- request_pb (::Google::Cloud::EdgeNetwork::V1::ListNetworksRequest) — 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::EdgeNetwork::V1::ListNetworksResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::EdgeNetwork::V1::ListNetworksResponse) — A result object deserialized from the server's reply
- (::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
- request_pb (::Google::Cloud::EdgeNetwork::V1::ListRoutersRequest) — 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::EdgeNetwork::V1::ListRoutersResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::EdgeNetwork::V1::ListRoutersResponse) — A result object deserialized from the server's reply
- (::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
- request_pb (::Google::Cloud::EdgeNetwork::V1::ListSubnetsRequest) — 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::EdgeNetwork::V1::ListSubnetsResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::EdgeNetwork::V1::ListSubnetsResponse) — A result object deserialized from the server's reply
- (::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
- request_pb (::Google::Cloud::EdgeNetwork::V1::ListZonesRequest) — 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::EdgeNetwork::V1::ListZonesResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::EdgeNetwork::V1::ListZonesResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#logger
def logger(stub: false) -> Logger
The logger used for request/response debug logging.
- (Logger)
#universe_domain
def universe_domain() -> String
The effective universe domain
- (String)
#update_router
def update_router(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the update_router REST call
- request_pb (::Google::Cloud::EdgeNetwork::V1::UpdateRouterRequest) — 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_subnet
def update_subnet(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the update_subnet REST call
- request_pb (::Google::Cloud::EdgeNetwork::V1::UpdateSubnetRequest) — 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)