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

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

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

Inherits

  • Object

Methods

#create_destination

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

Baseline implementation for the create_destination REST call

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

#create_multicloud_data_transfer_config

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

Baseline implementation for the create_multicloud_data_transfer_config REST call

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

#delete_destination

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

Baseline implementation for the delete_destination REST call

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

#delete_multicloud_data_transfer_config

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

Baseline implementation for the delete_multicloud_data_transfer_config 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_destination

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

Baseline implementation for the get_destination REST call

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

#get_multicloud_data_transfer_config

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

Baseline implementation for the get_multicloud_data_transfer_config REST call

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

#get_multicloud_data_transfer_supported_service

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

Baseline implementation for the get_multicloud_data_transfer_supported_service REST call

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

#list_destinations

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

Baseline implementation for the list_destinations REST call

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

#list_multicloud_data_transfer_configs

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

Baseline implementation for the list_multicloud_data_transfer_configs REST call

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

#list_multicloud_data_transfer_supported_services

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

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

#universe_domain

def universe_domain() -> String

The effective universe domain

Returns
  • (String)

#update_destination

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

Baseline implementation for the update_destination REST call

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

#update_multicloud_data_transfer_config

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

Baseline implementation for the update_multicloud_data_transfer_config REST call

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