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

Reference documentation and code samples for the Network Connectivity V1BETA API class Google::Cloud::NetworkConnectivity::V1beta::TransportManager::Rest::ServiceStub.

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

Inherits

  • Object

Methods

#create_transport

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

Baseline implementation for the create_transport REST call

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

#delete_transport

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

Baseline implementation for the delete_transport 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_remote_transport_profile

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

Baseline implementation for the get_remote_transport_profile REST call

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

#get_status

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

Baseline implementation for the get_status REST call

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

#get_transport

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

Baseline implementation for the get_transport REST call

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

#list_remote_transport_profiles

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

Baseline implementation for the list_remote_transport_profiles REST call

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

#list_transports

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

Baseline implementation for the list_transports 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)

#parse_from_activation_key

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

Baseline implementation for the parse_from_activation_key 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_transport

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

Baseline implementation for the update_transport REST call

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