Network Services V1 API - Class Google::Cloud::NetworkServices::V1::DepService::Rest::ServiceStub (v0.2.0)

Reference documentation and code samples for the Network Services V1 API class Google::Cloud::NetworkServices::V1::DepService::Rest::ServiceStub.

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

Inherits

  • Object

Methods

#create_lb_route_extension

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

Baseline implementation for the create_lb_route_extension REST call

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

#create_lb_traffic_extension

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

Baseline implementation for the create_lb_traffic_extension REST call

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

#delete_lb_route_extension

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

Baseline implementation for the delete_lb_route_extension REST call

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

#delete_lb_traffic_extension

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

Baseline implementation for the delete_lb_traffic_extension 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_lb_route_extension

def get_lb_route_extension(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::NetworkServices::V1::LbRouteExtension

Baseline implementation for the get_lb_route_extension REST call

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

#get_lb_traffic_extension

def get_lb_traffic_extension(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::NetworkServices::V1::LbTrafficExtension

Baseline implementation for the get_lb_traffic_extension 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_lb_route_extensions

def list_lb_route_extensions(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::NetworkServices::V1::ListLbRouteExtensionsResponse

Baseline implementation for the list_lb_route_extensions REST call

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

#list_lb_traffic_extensions

def list_lb_traffic_extensions(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::NetworkServices::V1::ListLbTrafficExtensionsResponse

Baseline implementation for the list_lb_traffic_extensions 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_lb_route_extension

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

Baseline implementation for the update_lb_route_extension REST call

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

#update_lb_traffic_extension

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

Baseline implementation for the update_lb_traffic_extension REST call

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