Network Management V1 API - Class Google::Cloud::NetworkManagement::V1::ReachabilityService::Rest::ServiceStub (v1.0.1)

Reference documentation and code samples for the Network Management V1 API class Google::Cloud::NetworkManagement::V1::ReachabilityService::Rest::ServiceStub.

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

Inherits

  • Object

Methods

#create_connectivity_test

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

Baseline implementation for the create_connectivity_test REST call

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

#delete_connectivity_test

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

Baseline implementation for the delete_connectivity_test 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_connectivity_test

def get_connectivity_test(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::NetworkManagement::V1::ConnectivityTest

Baseline implementation for the get_connectivity_test REST call

Parameters
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

#list_connectivity_tests

def list_connectivity_tests(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::NetworkManagement::V1::ListConnectivityTestsResponse

Baseline implementation for the list_connectivity_tests REST call

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

#rerun_connectivity_test

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

Baseline implementation for the rerun_connectivity_test 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_connectivity_test

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

Baseline implementation for the update_connectivity_test REST call

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