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
- request_pb (::Google::Cloud::NetworkManagement::V1::CreateConnectivityTestRequest) — 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_connectivity_test
def delete_connectivity_test(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the delete_connectivity_test REST call
- request_pb (::Google::Cloud::NetworkManagement::V1::DeleteConnectivityTestRequest) — 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)
#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
- request_pb (::Google::Cloud::NetworkManagement::V1::GetConnectivityTestRequest) — 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::NetworkManagement::V1::ConnectivityTest)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::NetworkManagement::V1::ConnectivityTest) — A result object deserialized from the server's reply
- (::ArgumentError)
#initialize
def initialize(endpoint:, endpoint_template:, universe_domain:, credentials:) -> ServiceStub
- (ServiceStub) — a new instance of ServiceStub
#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
- request_pb (::Google::Cloud::NetworkManagement::V1::ListConnectivityTestsRequest) — 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::NetworkManagement::V1::ListConnectivityTestsResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::NetworkManagement::V1::ListConnectivityTestsResponse) — A result object deserialized from the server's reply
- (::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
- request_pb (::Google::Cloud::NetworkManagement::V1::RerunConnectivityTestRequest) — 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() -> String
The effective universe domain
- (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
- request_pb (::Google::Cloud::NetworkManagement::V1::UpdateConnectivityTestRequest) — 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)